Qwen Image Layer Decomp for Illustration v1
Workflow example for using Qwen Image layer decomposition tools to help separate layers in a scene.
About
Qwen Image Layer Decomp for Illustration v1 is a guided layer-separation workflow for turning a flat illustration into editable layers and masks. It routes a loaded image through ImageScaleToMaxDimension to a recommended working size (640 px for speed, 1024 px for detail), then drives a custom Qwen-based decomposition stage that predicts per-element mattes you can save as PNGs. A PrimitiveStringMultiline node provides an optional, high-level text prompt so you can nudge the model toward the objects you want isolated (for example: "character, foreground props, midground buildings, sky").
What you provide
- Reading the workflow
Runs in ComfyUI. This workflow can't run on this page. Open it in Comfy Cloud with everything loaded, or download it for your own ComfyUI.
Try in CloudQuestions & answers
This workflow relies on custom Qwen image layer decomposition nodes. Install the node repo as instructed by its README and place the required model weights in the paths it specifies (typically under ComfyUI/models or a subfolder the node creates). Then restart ComfyUI so the nodes detect the weights.
Reduce Steps (e.g., from 50 to 30–40), lower the working size to 640 px in ImageScaleToMaxDimension, and keep CFG around 3.5–4.0. These changes noticeably cut runtime with modest quality tradeoffs. For the final pass, switch back to 1024 px and a few more steps.
No—the PrimitiveStringMultiline prompt is optional. However, short, concrete descriptions of the elements you want (e.g., "character, cape, sword, sky") often produce more accurate and neatly separated layers than running with defaults.
Use a larger input (1024 px), increase Steps slightly (e.g., +10), and avoid very high CFG values. After decomposition, use the refinement/selection node to clean transitions. If needed, lightly feather or contract the mask in your compositor for final polish.
Related workflows
- Qwen-Image-Layered
Separate an image into editable layers
- Qwen-Image-Layered
Qwen-Image-Layered Control Decomposition
- Qwen-Image-Layered
Qwen-Image-Layered Decomposition
- Nano Banana Pro, Gemini3 Pro Image Preview, Google
Create a character turnaround
- Qwen-Image-Edit
Change a material
- Qwen-Image-Edit
See your subject from a new angle
- Flux.2 Dev, Flux
Create a product mockup
- Nano Banana Pro
Try an outfit on a character
- Seedream
Put your product in a new scene
- SeedVR2
Upscale and restore detail
- Nano Banana Pro
Sharpen a product photo
- Topaz
Upscale an illustration