ComfyUI-NKD-Qwen-Tools
All-in-one ComfyUI nodes for Qwen Image 2.1: text-to-image, editing with up to 16 references, inpainting and detailing
😺NKD Qwen Tools
All-in-one nodes for Qwen Image 2.1 in ComfyUI. One node prepares everything the sampler needs, another finishes the image after it, and a third gives you per-reference control in between. Text-to-image, editing with up to 16 reference images, inpainting and detailing all run through the same two nodes.
flowchart LR
PRE["**NKD Qwen**<br/>**Presampling**"]:::nkd --> RC["**NKD Qwen**<br/>**Reference Control** ×N"]:::nkd
RC --> SAMP(["your sampler chain"]):::external
SAMP --> POST["**NKD Qwen**<br/>**Postsampling**"]:::nkd
PRE -. bundle .-> POST
classDef nkd fill:#3b3b6b,stroke:#8ab4ff,stroke-width:2px,color:#fff
classDef external fill:#2d2d2d,stroke:#888,color:#eee
<!-- hero video goes here -->
| Node | What it does | |---|---| | 😺NKD Qwen Presampling | Prompts, reference images, canvas size, mask and detailing in one node. Picks the mode from what you connect. | | 😺NKD Qwen Postsampling | Puts the result back onto your original: realign, color match, seamless edges, auto-detected edit region, transparency. | | 😺NKD Qwen Reference Control | Strength of one reference image, with an optional per-step curve and a canvas zone it is confined to. |
Every control is listed in the reference.
Requirements
Nothing beyond ComfyUI. Seamless Edges, Auto-Detect Edit Region and the Smart outpaint fill need opencv-python.
Credits
Ideas for reference strength and for realigning drifted edits came from capitan01R/ComfyUI-qwen_img_2_1_enhancer and ausboss/ComfyUI-AusBoss (both MIT). The pipeline itself is ported from 😺NKD Klein Tools.
License
MIT