Installing Qwen Image Edit in ComfyUI using the official workflow | Alpha | PandaiTech

Installing Qwen Image Edit in ComfyUI using the official workflow

A step-by-step guide to downloading the model, setting up your folders, and running the official Qwen Image Edit workflow locally.

Learning Timeline
Key Insights

Optimizing Generation Speed

Using the 'Lightning' LoRA allows you to generate images in just 4 steps instead of the usual 20. This speeds up the process by 5 times without drastically compromising quality.

Important CFG Note

When using the 'Lightning' workflow, ensure the CFG is set to 1.0. If the CFG value is too high, the resulting image may appear distorted or contain strange artifacts.
Prompts

Image Edit Command Example

Target: Qwen Image Edit Prompt Node
turn this car blue
Step by Step

Folder and Model Setup

  1. Download the 'Quen imageedit diffusion model' (19 GB) and save it in the 'ComfyUI/models/diffusion_models' folder.
  2. Download the 'Quen image lightning four steps LoRA' (1.6 GB) and save it in the 'ComfyUI/models/loras' folder.
  3. Download the 'Text Encoder file' (9 GB) and save it in the 'ComfyUI/models/text_encoders' folder.
  4. Download the 'Quen image VAE' and save it in the 'ComfyUI/models/vae' folder.
  5. Ensure you have enough storage space as the total file size reaches nearly 30 GB.

Workflow Update and Import

  1. Open your ComfyUI interface.
  2. Click the 'Manager' button on the menu bar.
  3. Click the 'Update ComfyUI' button to ensure your system is running the latest version.
  4. Click 'Close' once the update is finished, then click 'Restart' on the ComfyUI interface.
  5. Obtain the official workflow JSON file (Right-click the workflow link and select 'Save link as').
  6. Drag and drop the downloaded JSON file directly into the ComfyUI interface.

Node Configuration and AI Parameters

  1. On the 'Load Diffusion Model' node, select the 'Qwen2.5-VL' model.
  2. On the 'VAE' node, select 'Quen image VAE'.
  3. Locate the purple LoRA node and press 'Ctrl + B' on your keyboard to 'unbypass' (activate) the node.
  4. In that LoRA node, select 'Quen image lightning four steps' from the dropdown menu.
  5. Go to the 'KSampler' node and change the 'Steps' value to '4'.
  6. Change the 'CFG' value to '1.0' (Mandatory for Lightning model usage).
  7. Set 'Seed' to 'randomize' if you want a different result for every run.
  8. Upload the image you want to edit into the image input node.
  9. Type your editing instructions in the text prompt (e.g., 'turn this car blue').
  10. Click the 'Queue Prompt' button to start the generation process.

More from Generate & Edit Professional AI Images

View All