README.md
7.4 KB · 87 lines · markdown Raw
1 ---
2 license: other
3 license_name: qwen-research
4 license_link: https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE
5 tags:
6 - comfyui
7 - diffusion-single-file
8 base_model:
9 - Qwen/Qwen-Image-2.1
10 pipeline_tag: text-to-image
11 ---
12
13 # Qwen-Image 2.1
14
15 Repackaged model files for ComfyUI.
16
17 Original model repositories:
18
19 - https://huggingface.co/Qwen/Qwen-Image-2.1
20 - https://huggingface.co/Qwen/Qwen-Image-2.1-Turbo
21
22 ## Prompt Enhancer
23
24 The `qwen3.5_9b_qwen_image_2.1_pe` models are for prompt enhancement, to be used with the `Generate Text` node.
25
26 Original model repositories:
27
28 - https://huggingface.co/Qwen/Qwen-Image-2.1-PE-T2I
29 - https://huggingface.co/Qwen/Qwen-Image-2.1-PE-I2I
30
31 ## Turbo
32
33 For faster inference, use either the full Turbo model, or the Turbo LoRAs.
34
35 Original model repositories:
36
37 - https://huggingface.co/PrunaAI/P-Q-Image-2.1-Comfy
38
39 ---
40
41 Place the files in the following folders:
42
43 ```
44 📂 ComfyUI/
45 └── 📂 models/
46 ├── 📂 diffusion_models/
47 │ ├── qwen_image_2.1_bf16.safetensors
48 │ ├── qwen_image_2.1_int8_convrot.safetensors
49 │ ├── qwen_image_2.1_turbo_bf16.safetensors
50 │ └── qwen_image_2.1_turbo_int8_convrot.safetensors
51 ├── 📂 loras/
52 │ ├── p_q_image_2.1_5_steps_v0.1_comfyui_bf16.safetensors (5 steps, cfg 1)
53 │ ├── p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors (6 steps, cfg 1)
54 │ ├── p_q_image_2.1_6_steps_v0.2_comfyui_bf16.safetensors (6 steps, cfg 1)
55 │ ├── p_q_image_2.1_8_steps_v0.1_comfyui_bf16.safetensors (8 steps, cfg 1)
56 │ └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors (8 steps, cfg 1)
57 ├── 📂 model_patches/
58 │ ├── qwen_image_2.1_fun_controlnet_union_bf16.safetensors
59 │ └── qwen_image_2.1_fun_controlnet_union_int8_convrot.safetensors
60 ├── 📂 text_encoders/
61 │ ├── qwen3vl_8b_bf16.safetensors
62 │ ├── qwen3vl_8b_int8_convrot.safetensors
63 │ ├── qwen3vl_8b_w4a8.safetensors
64 │ ├── qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors
65 │ ├── qwen3.5_9b_qwen_image_2.1_pe_i2i_w4a8.safetensors
66 │ ├── qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors
67 │ └── qwen3.5_9b_qwen_image_2.1_pe_t2i_w4a8.safetensors
68 └── 📂 vae/
69 └── qwen_image_2.1_vae_bf16.safetensors
70 └── 📂 loras/
71 └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors
72 ```
73
74 ## Workflows
75
76 <table>
77 <thead>
78 <tr><th align="center" valign="middle" style="text-align:center;vertical-align:middle">Workflow</th><th colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle">Thumb</th></tr>
79 </thead>
80 <tbody>
81 <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_image_edit.json">Qwen Image 2.1: Image Edit</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_image_edit.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_image_edit-2.webp" width="200" height="200" alt="Qwen Image 2.1: Image Edit"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_image_edit.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_image_edit-1.webp" width="200" height="200" alt="Qwen Image 2.1: Image Edit"></a><div align="center">After</div></td></tr>
82 <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_t2i.json">Qwen Image 2.1: Text to Image</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_t2i.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_t2i-1.webp" width="200" height="200" alt="Qwen Image 2.1: Text to Image"></a></td></tr>
83 <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_turbo_image_edit.json">Qwen Image 2.1 Turbo: Image edit</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_turbo_image_edit.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_turbo_image_edit-2.webp" width="200" height="200" alt="Qwen Image 2.1 Turbo: Image edit"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_turbo_image_edit.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_turbo_image_edit-1.webp" width="200" height="200" alt="Qwen Image 2.1 Turbo: Image edit"></a><div align="center">After</div></td></tr>
84 <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_turbo_t2i.json">Qwen Image 2.1 Turbo: Text to Image</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_turbo_t2i.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_turbo_t2i-1.webp" width="200" height="200" alt="Qwen Image 2.1 Turbo: Text to Image"></a></td></tr>
85 <tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_background_removal.json">Remove Background: Qwen Image 2.1</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_background_removal.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_background_removal-2.webp" width="200" height="200" alt="Remove Background: Qwen Image 2.1"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_background_removal.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/image_qwen_image_2_1_background_removal-1.webp" width="200" height="200" alt="Remove Background: Qwen Image 2.1"></a><div align="center">After</div></td></tr>
86 </tbody>
87 </table>