We are excited to release the distilled version of Qwen-Image. It preserves the capability of complex text rendering.
- Aug 11, 2025: 👋 Release Qwen-Image-Lightning-4steps-V1.0.
- Aug 08, 2025: 👋 Release Qwen-Image-Lightning-8steps-V1.0.
- Qwen-Image-Lightning-8steps-V1.0
- Qwen-Image-Lightning-4steps-V1.0
- ComfyUI Workflow
- Improve Quality
The prompts are from Qwen-Image, Qwen-Image Blog and Qwen-Image-Service. Generated with seed 42, you can reproduce the results with examples/prompt_list.txt.
The last row shows a badcase of the distilled model.
Neither the distilled models nor the Qwen-Image base model can consistently generate perfect results. We observed that the same model exhibits varying performance for the same prompt under different resolutions. A specific test case might favor one model, while other cases might yield completely opposite results. We sampled a collection of prompts examples/prompt_list.txt, and you can compare the performance of the distilled models and the base model by running the following scripts.
Please follow Qwen-Image to install the Python Environment and download the Base Model.
Download models using huggingface-cli:
pip install "huggingface_hub[cli]"
huggingface-cli download lightx2v/Qwen-Image-Lightning --local-dir ./Qwen-Image-Lightning# 8 steps, cfg 1.0
python generate_with_diffusers.py \
--prompt_list_file examples/prompt_list.txt \
--out_dir test_lora_8_step_results \
--lora_path Qwen-Image-Lightning/Qwen-Image-Lightning-8steps-V1.0.safetensors \
--base_seed 42 --steps 8 --cfg 1.0# 4 steps, cfg 1.0
python generate_with_diffusers.py \
--prompt_list_file examples/prompt_list.txt \
--out_dir test_lora_4_step_results \
--lora_path Qwen-Image-Lightning/Qwen-Image-Lightning-4steps-V1.0.safetensors \
--base_seed 42 --steps 4 --cfg 1.0# 50 steps, cfg 4.0
python generate_with_diffusers.py \
--prompt_list_file examples/prompt_list.txt \
--out_dir test_base_results \
--base_seed 42 --steps 50 --cfg 4.0ComfyUI workflow is available in the workflows/ directory. The workflow is based on the Qwen-Image ComfyUI tutorial and has been verified with ComfyUI repository at commit ID 37d620a6b85f61b824363ed8170db373726ca45a.
workflows/qwen-image-8steps.json- 8-step lightning workflow for Qwen-Imageworkflows/qwen-image-4steps.json- 4-step lightning workflow for Qwen-Image
- Install ComfyUI following the official instructions
- Download and place the Qwen-Image base model following the Qwen-Image ComfyUI tutorial (include UNet/CLIP/VAE files into proper ComfyUI folders)
- For 8-step workflow:
- Load
workflows/qwen-image-8steps.json - Put
Qwen-Image-Lightning-8steps-V1.0.safetensorsintoComfyUI/models/loras/ - Ensure
KSamplersteps = 8
- Load
- For 4-step workflow:
- Load
workflows/qwen-image-4steps.json - Put
Qwen-Image-Lightning-4steps-V1.0.safetensorsintoComfyUI/models/loras/ - Ensure
KSamplersteps = 4
- Load
- Run the workflow to generate images
The models in this repository are licensed under the Apache 2.0 License. We claim no rights over your generated contents, granting you the freedom to use them while ensuring that your usage complies with the provisions of this license. You are fully accountable for your use of the models, which must not involve sharing any content that violates applicable laws, causes harm to individuals or groups, disseminates personal information intended for harm, spreads misinformation, or targets vulnerable populations. For a complete list of restrictions and details regarding your rights, please refer to the full text of the license.
We built upon and reused code from the following projects: Qwen-Image, licensed under the Apache License 2.0.
The evaluation text prompts are from Qwen-Image, Qwen-Image Blog and Qwen-Image-Service.







