What is Qwen-Image-Edit?

Qwen-Image-Edit is an instruction-based image editing model based on Qwen-Image.

Roughly speaking, you can think of it as the Qwen-Image version of Flux.1 Kontext.

Flux.1 Kontext could only edit through the VAE, but Qwen-Image-Edit uses an MLLM to actually "see" the reference image, so it can make more flexible edits.

A while later, Qwen-Image-Edit-2509 came out with multi-reference support.

Until then, you could only edit a single image, but with Qwen-Image-Edit-2509 you can do things like:

  • "Change the clothes of the person in Image 1 to those in Image 2"
  • "Generate an image where Image 1 and Image 2 are standing on the same stage"

Because it was trained differently, 2509 isn't strictly an upgrade over the original, but if you're unsure, just go with 2509.


Qwen-Image-Edit (Original)

For what it can do, the Official GitHub or Flux.1 Kontext / What it can do should give you a good idea.

Model Download

📂ComfyUI/
└── 📂models/
    ├── 📂diffusion_models/
    │   └── qwen_image_edit_fp8_e4m3fn.safetensors
    ├── 📂text_encoders/
    │   ├── qwen_2.5_vl_7b_fp8_scaled.safetensors
    │   ├── Qwen2.5-VL-7B-Instruct.gguf               ← Only when using gguf
    │   └── Qwen2.5-VL-7B-Instruct-mmproj-BF16.gguf    ← Only when using gguf
    ├── 📂vae/
    │   └── qwen_image_vae.safetensors
    └── 📂unet/
        └── qwen-image-edit.gguf                       ← Only when using gguf

workflow

qwen_image_edit.json

🟩 A quick note on how the TextEncodeQwenImageEdit node behaves.

Internally, it roughly does the following:

  • 1. Resize the input image to about 1M pixels
  • 2. Create a latent from that image
  • 3. Pass text + image together to Qwen2.5-VL

Because this resize happens automatically, if the output image size is far from 1M pixels, you may get unexpected results.

So this workflow prepares the image size beforehand.

  • Resize to 1M pixels with the ImageScaleToTotalPixels node
  • Crop with the Resize Image v2 node so the resolution is a multiple of 8

No matter what you try, Qwen-Image-Edit can't make the edited image match the input image pixel-perfectly. A few workarounds have been suggested, but it's worth keeping in mind that the model simply isn't designed for that kind of use.


Qwen-Image-Edit-2509

Qwen-Image-Edit-2509 is an extended version of the original. The biggest difference is that it accepts multiple reference images.

Model Download

📂ComfyUI/
└── 📂models/
    ├── 📂diffusion_models/
    │   └── qwen_image_edit_2509_fp8_e4m3fn.safetensors
    └── 📂unet/
        └── qwen-image-edit-2509.gguf      ← Only when using gguf

workflow (Single Image)

qwen_image_edit_2509.json
  • The basic flow is the same as the original; just replace the TextEncodeQwenImageEdit node with the TextEncodeQwenImageEditPlus node.

workflow (Multiple Images)

qwen_image_edit_2509_multi_ref.json
  • 🟩 Because it really looks at the images, fairly loose instructions work, but you can also say explicitly which image you mean, like "the XX in image1" or "the XX in image2".

So far, we wanted the input and edited images to come out at roughly the same size, so we resized first and fed the result into latent_image.

If you just want to generate a new image using the reference images as hints, though, it's fine to use the EmptySD3LatentImage node, as in text2image.


Qwen-Image-Edit-2511

Qwen-Image-Edit-2511 is a new model that improves on 2509.

The jump isn't as big as the one from the original to 2509, but it's a solid step forward: better character consistency, and popular LoRAs such as the Relighting LoRA built into the model.

Model Download

📂ComfyUI/
└── 📂models/
    ├── 📂diffusion_models/
    │   └── qwen_image_edit_2511_fp8mixed.safetensors
    └── 📂unet/
        └── qwen-image-edit-2511-XXXX.gguf      ← Only when using gguf

workflow

qwen_image_edit_2511.json

It works with exactly the same workflow as 2509.


Lightning

Qwen-Image-Edit-Lightning is a set of LoRAs distilled so that Qwen-Image-Edit runs in 4 / 8 steps.

It cuts the step count dramatically with almost no loss in quality, so many workflows use it.

Model Download

📂ComfyUI/
└── 📂models/
    └── 📂loras/
        ├── Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors
        ├── Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensors
        └── Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors

Qwen-Image-Edit-2509

qwen_image_edit_lightning_8steps.json
  • Load the Lightning LoRA with the LoraLoaderModelOnly node.
  • Set steps in KSampler to 4 or 8, and CFG to 1.0.

Qwen-Image-Edit-2511

qwen_image_edit_2511_lightning_4steps.json
  • Load the Lightning LoRA with the LoraLoaderModelOnly node.