Qwen Image Layer Decomp for Illustration v1
Workflow example for using Qwen Image layer decomposition tools to help separate layers in a scene.
概要
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").
入力するもの
- ワークフローを読み込み中
ComfyUI で実行できます。 このワークフローはこのページでは実行できません。すべてが読み込まれた状態でComfy Cloudで開くか、ご自身のComfyUI用にダウンロードしてください。
Cloudで試すよくある質問
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.