- Generation and editing in one model: the same weights serve text-to-image prompts and editing instructions, so a workflow does not need to swap checkpoints
- Native 2K output: generate at up to 2048x2048 directly instead of upscaling a smaller result
- Professional typography: dense small text and complex layouts hold up, for infographics, slides, UI mockups, posters, and packaging designs
- Alpha channel support: the VAE carries four channels, so transparent-background images can be generated and edited directly instead of being cut out afterwards
- Multi-image editing: reference images are spliced into the text encoder in slot order. The node exposes
image_1throughimage_16slots, and the prompt addresses them by index, for exampleimage_1is written as<image1> - Localized edits: describe the object or region to change and the rest of the image is preserved
Qwen-Image-2.1 workflow
Qwen Image 2.1 Text to Image
Generate an image from a text prompt at the aspect ratio and megapixel target you select.
Download Workflow
Download JSON or search “Qwen-Image-2.1” in Template Library
Run on Comfy Cloud
Run ComfyUI online with zero setup
Qwen Image 2.1 Image Edit
Edit an image with an instruction. Add reference images when the edit needs content that is not in the source image, such as putting a garment from a second photo onto the person in the first.
Download Workflow
Download JSON or search “Qwen-Image-2.1” in Template Library
Run on Comfy Cloud
Run ComfyUI online with zero setup
LoadImage nodes:
portrait_model_denim.png
LoadImage node 470 · portrait_model_denim.pngclothing_light_blue_denim_shirt.png
LoadImage node 475 · clothing_light_blue_denim_shirt.png

Model links
The two workflows load the same files. Both templates use the int8 version of the diffusion model by default. text_encoders diffusion_models- qwen_image_2.1_int8_convrot.safetensors (loaded by the templates, lower memory)
- qwen_image_2.1_bf16.safetensors (full precision, needs more memory)
Workflow settings
Sampler settings
Both templates sample withsteps 25, cfg 1, the euler sampler, and the simple scheduler. The text to image workflow keeps the seed fixed, and the image edit workflow randomizes it.
Resolution
Text to image: the Resolution Selector node sets the aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 21:9) and a megapixel target, where 1.0 MP is about 1024x1024. The template defaults to 1:1 at 1 MP. Qwen-Image-2.1 generates natively at 2K, so set the target to about 4.0 MP for a 2048x2048 square output. Image edit: withcustom_size off, which is the template default, the output follows image_1’s aspect ratio, scaled to about resolution x resolution pixels (default 1024, rounded to multiples of 32). That is not the original pixel size of image_1. Set resolution to 0 to keep each reference image at its own size, rounded to a multiple of 32. Turn custom_size on to use the Resolution Selector canvas instead, and keep it close to the resized image_1 size, otherwise the edit can shift.