Sign In

mask-extraction

0

Updated: Apr 7, 2026

toolmaskalphaeditcompositing

Verified:

SafeTensor

Type

LoRA

Stats

70

0

Reviews

Published

Apr 7, 2026

Base Model

Qwen

Training

Steps: 500

Usage Tips

Strength: 1

Hash

AutoV2
8911A72578

This LoRA is used to create high quality alpha masks from either an outlined entity (drawn or rectangular), or a description of the entity. Unlike SAM, this solution will emit grayscale masks, good for use in compositing. Unlike Qwen Image Layered, this process can be used to create masks of arbitrary resolution, using the qwen image edit 2511 model.

Most of the instruction pairs have red outlines around the desired subject, but other colors, as well as outline-less examples were trained as well. For best results, use:
"Create a black and white alpha mask of X, outlined in red. Leave everything else black"

The image pairs can be found here: https://huggingface.co/datasets/Notid/mask_pairs