Skip to content
Invoke

Qwen-Image-2.1

Qwen-Image-2.1 is a 7B text-to-image model from the Qwen team with strong text rendering. It is a different model from Qwen Image (2512 and Edit 2511), not an update you can swap in: it encodes prompts with the Qwen3-VL 8B model, the same encoder Ideogram 4 uses, and decodes with its own 64-channel VAE, which can produce images with a transparent background.

Two variants are available, and the variant is detected on install:

  • Qwen-Image-2.1 — the base model. 40 steps by default.
  • Qwen-Image-2.1 Turbo — distilled for 8 steps on a fixed schedule of its own.

Text-to-image, image-to-image, inpainting and outpainting on the Canvas are supported, as are LoRAs and edits from reference images. Regional guidance is not supported yet.

Qwen-Image-2.1 is released under the Qwen Research License, which allows use for research and evaluation only. Commercial use needs a separate license from Alibaba’s Tongyi Lab. The same license covers the Comfy-Org and community repackages of the weights.

This is a summary, not legal advice. Read the full license on the model’s HuggingFace page before using a model commercially.

The Diffusers starter models install the complete folders, which carry the transformer, the VAE and the Qwen3-VL 8B encoder:

You can also paste either repo ID into the Model Manager’s HuggingFace / URL field.

A GGUF or single-file transformer carries only the transformer. Pick the other two parts in the Components section next to the model; until both are set, the Invoke button tells you which one is missing:

  • VAE — the Qwen-Image-2.1 VAE, from Comfy-Org’s vae/qwen_image_2.1_vae_bf16.safetensors or the vae folder of a Diffusers download. The VAEs of Qwen Image, Wan and FLUX do not fit and are not offered.
  • Qwen3-VL Encoder — the Qwen3-VL 8B encoder, for example the Qwen3-VL 8B Encoder starter model, which Ideogram 4 uses as well. The 4B encoder Krea-2 uses does not work and is not offered. A llama.cpp GGUF of the 8B encoder works too, and reads reference images when you also select its mmproj file as the Vision Tower (a “Qwen3 VL Vision Tower” model, see Reference images); see Qwen3-VL GGUF encoders.

The Qwen-Image-2.1 (Q4_K_M GGUF) starter model, from unsloth/Qwen-Image-2.1-GGUF, installs the VAE and the 8B encoder with it, ~15 GB in all. Other quantization levels from that repository load the same way.

The Qwen-Image-2.1 (int8) and Qwen-Image-2.1 Turbo (int8) starter models, Comfy-Org’s int8_convrot builds (~7.3 GB each), install the same VAE and 8B encoder. Their int8 layers stay int8 on every supported GPU, and int8 Compute can run them on NVIDIA int8 tensor cores.

Single-file transformers in bf16, scaled fp8 or int8_convrot (ComfyUI repackages) load as well, as do torchao FP8 files with one scale per output row, such as unsloth’s FP8 builds. nvfp4 files, other torchao layouts (per-tensor or block-wise fp8, and INT8 builds such as unsloth’s), and other int8 files without ComfyUI’s int8_convrot marker, are refused at install. GGUF files with int8 layers (ComfyUI-GGUF’s Q8_CR) are refused too.

The Turbo variant is recognized from the filename: a single file or GGUF whose name contains turbo installs as Turbo, anything else as the base model. If a file was detected as the wrong variant, edit the model in the Model Manager and change its Variant. The default settings were chosen at install, so also set Steps under Default Settings: 8 for Turbo, 40 for the base model.

Measured on an RTX 4090 at 1024×1024:

TransformerResidentTime per image
bf16 (Diffusers)13.9 GB during denoising0.62 s per step, about 25 s for 40 steps
GGUF Q4_K_M4.0 GBabout 40 s for 40 steps
int8 (int8_convrot)7.3 GBabout 37 s for 40 steps

The text encoder runs first and is unloaded from the GPU when the transformer needs the room. At 2048×2048 the bf16 transformer needs 15.5 GB and 3.7 s per step.

Decoding and encoding images needs no settings: Invoke decodes an image in one piece when it fits on the card, and otherwise in tiles, deciding before it starts. For a bf16 decode, the default:

  • 8 GiB cards decode up to about 704×704 to 800×800 (AMD) or 928×928 (NVIDIA) in one piece, larger images in 512-pixel tiles.
  • 10 to 11 GiB cards decode 1024×1024 in one piece on NVIDIA (up to 1056×1056 to 1088×1088), and up to 768×768 to 960×960 on AMD, larger images in 512-pixel tiles.
  • 12 to 16 GiB cards decode 1024×1024 in one piece on NVIDIA, and on AMD from 16 GiB; on Windows with the native allocator it takes 20 GiB.
  • 20 to 24 GiB cards decode up to 1120×1120 to 1664×1664 in one piece, larger images in 768- or 1024-pixel tiles.
  • 32 GiB cards and larger decode at least 1280×1280 in one piece, larger images in 768- or 1024-pixel tiles.

Two figures decide this. The peak is the most memory a decode uses at once, measured on real cards: a 1024×1024 decode peaks at 8.38 GiB on an RTX 4090, 11.81 GiB on a Radeon PRO W7900 on Linux and 10.49 GiB on an RX 9060 XT on Windows. The reserved memory is what Invoke frees for it before it starts, by moving other models off the card: a little more than the peak, 8.80, 12.86 and 11.28 GiB for those three, and up to about 1.5 times the peak for some tiled decodes. An image is tiled when its expected peak would exceed 90% of the card’s memory (for AMD cards on Windows, of the memory Windows grants Invoke: 15.09 GiB on the 16 GiB RX 9060 XT), and the tiles are the largest whose reservation fits in half of the card, or 512-pixel tiles where none does (8 GiB AMD cards on Linux, or up to 10 GiB on Windows with the native allocator):

Card memoryNVIDIAAMD, LinuxAMD, WindowsAMD, Windows, native allocator
8 GiB928 px, 512 tiles768 px, 512 tiles800 px, 512 tiles704 px, 512 tiles
10 GiB1056 px, 512 tiles864 px, 512 tiles896 px, 512 tiles768 px, 512 tiles
11 GiB1088 px, 512 tiles928 px, 512 tiles960 px, 512 tiles832 px, 512 tiles
12 GiB1152 px, 768 tiles960 px, 512 tiles992 px, 512 tiles864 px, 512 tiles
16 GiB1344 px, 768 tiles1120 px, 512 tiles1152 px, 768 tiles992 px, 512 tiles
20 GiB1504 px, 1024 tiles1216 px, 768 tiles1248 px, 768 tiles1120 px, 768 tiles
24 GiB1664 px, 1024 tiles1248 px, 768 tiles1376 px, 768 tiles1216 px, 768 tiles
32 GiB1920 px, 1024 tiles1440 px, 768 tiles1600 px, 1024 tiles1280 px, 768 tiles
48 GiB2368 px, 1024 tiles1760 px, 1024 tiles1952 px, 1024 tiles1568 px, 1024 tiles

Each cell is the largest square image, on the 32-pixel grid, decoded in one piece, and the tile size larger images use. Other shapes go by their number of pixels. The Windows columns assume Windows grants Invoke what it granted on the RX 9060 XT with nothing else on the card, about 15 GiB of 16 GiB; with other programs using the card it grants less, and larger images are tiled. On Windows, Invoke runs AMD cards with PyTorch’s expandable segments; setting pytorch_cuda_alloc_conf: "expandable_segments:False" (see Settings) selects the native allocator, which needs more memory for the same decode (14.06 GiB peak at 1024×1024).

With precision: float32 a 1024×1024 decode reserves 16.2 GiB on NVIDIA to 19.8 GiB on AMD, and tiles are smaller; on an 8 GiB AMD card on Linux a 512-pixel float32 tile reserves 6.84 GiB, which with the VAE’s 1.26 GiB of weights is more than the card holds. Encoding an image for image-to-image, inpainting or outpainting is tiled the same way; on AMD it needs much less than a decode (3.8 to 4.9 GiB reserved at 1024×1024 in bf16). Measured at 2048×2048, 1024-pixel tiles came close to an untiled decode (47.7 dB PSNR), while 256-pixel tiles left visible seams (35.6 dB). See also Tiled VAE decode and encode.

Known limits:

  • With the native allocator, the cost per pixel of an AMD decode steps up at about 1.6 megapixels, between 1248×1248 and 1280×1280. On Windows, bf16 decodes with the native allocator are measured only up to 1088×1088: up to the step, at about 1256×1256, the measured line is extrapolated, and past it a conservative figure prices them, so some that would fit are tiled.
  • NVIDIA cards are measured only for an untiled 1024×1024 bf16 decode and three tiled 2048×2048 bf16 decodes. Larger images decoded in one piece are decided and reserved on an unmeasured line, and encodes and float32 are not measured at all.
  • Near the tiling threshold an image left whole can reserve more than the card holds: on a 48 GiB W7900 a 1664×1664 float32 decode is expected to peak at 41.8 GiB but reserves 49.9 GiB. The VAE then runs partly from system memory, and Invoke warns that its memory budget is short.
  • Tiled operations on AMD are measured up to 5120×5120 (decodes) and 4096×4096 (encodes) on Linux, and on Windows up to 6144×6144 (bf16 decodes), 5120×5120 (bf16 encodes), 6144×6144, 2048×2048 and 3072×3072 (float32 decodes in 512-, 768- and 1024-pixel tiles) and 4096×4096 (float32 encodes). Larger images can peak above what Invoke reserves for them, from about 4200×4200 for some encodes and 5500×5500 for some decodes. Tiles above 1024 pixels, which only a workflow can set, are measured nowhere: what Invoke reserves for them is extrapolated, and on AMD an encode in such tiles reserves less than earlier versions did (4096×4096 in 2048-pixel bf16 tiles: 16 to 22 GiB, against 31.85 GiB before). What happens then depends on the system. Windows pages the excess into shared system memory: the operation runs slowly but does not fail. On Linux, ROCm may spill the excess into system memory (it did on our W7900) or fail with out of memory, especially with other models on the card.
  • Qwen-Image-2.1 does not retry a decode or encode that runs out of memory. If one does, use a workflow and turn on Tiled with a smaller Tile Size on the Latents to Image - Qwen-Image-2.1 or Image to Latents - Qwen-Image-2.1 node.

With a Qwen-Image-2.1 model, add up to four images with Add reference image in the Guidance section (see Adding reference images) and say in the prompt what to do with them, for example put the jacket from the first image on the person in the second or the same cat, as a watercolor. The model reads each reference twice: its Qwen3-VL encoder looks at it alongside the prompt, and the transformer sees it as clean latents next to the image it generates.

  • The encoder needs a vision tower. The Qwen3-VL vision tower reads the images. The Diffusers model’s own encoder has one, and so does a non-GGUF Qwen3-VL 8B encoder such as the starter Qwen3-VL 8B Encoder, so a single-file, int8 or GGUF transformer offers reference images once that encoder is selected under Components. A GGUF Qwen3-VL encoder has none of its own: llama.cpp keeps the tower in a separate mmproj-*.gguf file (from Qwen/Qwen3-VL-8B-Instruct-GGUF, mmproj-Qwen3VL-8B-Instruct-F16.gguf, about 1.1 GB). Install that file as a model, where it appears as a Qwen3 VL Vision Tower (the Qwen3-VL 8B Vision Tower starter model installs it), and select it as the Vision Tower under Components beside the GGUF encoder. Without it Generate shows why the section is unavailable, and on a Diffusers model the references refuse to run while a GGUF Qwen3-VL Encoder is selected. Only the 8B tower pairs with the 8B encoder, and the tower runs on the encoder’s device, so when the encoder is set to CPU Only in the Model Manager, set the tower to CPU Only too, and the field is refused beside any other encoder, which brings its own tower. If an encoder file turns out to carry no vision tower, the run stops and says so.
  • Size. Each reference is read at about one megapixel at its own aspect ratio, whatever its size. The generated image takes the size set in the panel; Use size in a reference’s menu matches it.
  • Transparency. The encoder sees a transparent reference over white, as the model was trained; its latents keep the transparency.
  • At most four. A graph or API request with more than four references is refused with an error.
  • Memory. The encoder’s vision tower, about 1.1 GB, is loaded only for generations with references and joins the encoder while it reads them; plain prompts never load it, and the encoder itself is not loaded again when you switch between edits and plain prompts. Each reference adds about 4,100 tokens to the start of the sequence, which the model keeps for the whole generation: about 2 GB per reference, twice that with CFG above 1. Where that would take more than half of the GPU, Invoke reprocesses the references at every step instead of keeping them, which uses less memory but takes noticeably longer. Reading the references also needs encoder memory that grows quickly with their number: about 7 GB beyond its weights for four, so on a 24 GB card part of the encoder then runs from system memory.
  • Reproducing an edit. Keeping the references and reprocessing them give slightly different images from the same seed, and which one runs depends on the GPU’s memory. The image’s metadata records which one ran, as qwen_image_2_1_prefix_kv_cache: true when the references were kept, false when they were reprocessed. Generations without references record it too.

The Qwen-Image-2.1 VAE decodes an alpha channel along with the colors, so a prompt such as a sticker of a red fox on a transparent background produces a cut-out image. An image is saved with transparency only when it has some: when more than 0.1% of its pixels are noticeably transparent. Opaque images are saved as ordinary RGB, so the faint edges tiled decoding leaves in the alpha channel never turn an opaque image transparent.

Image-to-image, inpainting and outpainting read the colors of the input image and treat it as fully opaque, whatever its alpha channel holds.

Qwen-Image-2.1 LoRAs install like any other and appear under Concepts in the Generate panel. Files from ComfyUI (keys starting diffusion_model.), diffusers/PEFT trainers (transformer.) and Kohya-style trainers (lora_unet_) all load. ComfyUI’s builds fuse each block’s two MLP input projections into one gate_up layer; Invoke splits a LoRA on it to match the diffusers model.

  • LoRAs for Qwen Image (2512, Edit 2511) do not fit Qwen-Image-2.1 and are not offered for it, nor its LoRAs for them.
  • They work on every format, DoRA layers included. On GGUF, int8 and fp8 transformers the LoRA runs alongside the packed weights rather than being merged into them. Full weight differences on the attention and text norms, which ComfyUI’s Turbo LoRA carries, are merged on every format.
  • A LoRA trained on the base model also applies to Turbo; how well it holds up at Turbo’s 8 steps depends on the LoRA.
  • Low-rank (lora_A/lora_B or lora_down/lora_up), DoRA, LoKR and LoHA LoRAs are recognized, and so are full weight differences (diff). On ComfyUI’s fused gate_up only low-rank, PEFT DoRA and full layers work: a LoKR, LoHA or LyCORIS DoRA layer there mixes the two halves Invoke splits it into.
  • A LoRA is recognized as a Qwen-Image-2.1 one only if all of it applies: every layer it targets exists in Qwen-Image-2.1, is complete, has the shape of the Qwen-Image-2.1 weight it changes and, on gate_up, can be split. A file with any part that does not apply installs as an unknown model and does not appear under Concepts.
  • A FLUX.2 Klein 9B LoRA on nothing but its double blocks’ image attention has the same layer names and shapes as a Qwen-Image-2.1 one, and installs as one. One that also targets its proj_out or norm_out.linear is told apart by their shapes and is not recognized as a Qwen-Image-2.1 LoRA.
  • Steps — 40 for the base model and 8 for Turbo. Turbo’s schedule is tuned for 8 steps; other step counts are spread over the same curve and work, but 8 is what it was distilled for.
  • CFG — 1 by default, which runs one prompt per step. Above 1, the negative prompt is used and each step costs about twice as long.
  • There is no scheduler setting: both variants use their own schedule.
  • Denoising strength (image-to-image, inpainting) — on the base model a strength changes the image about as much as on Qwen-Image or Z-Image. Turbo’s 8-step schedule spends most of its steps at high noise, so there a strength sets the starting noise level directly (0.5 starts at noise level 0.5): the same value changes the image less on Turbo than on the base model.