Diffusion Single File
comfyui
File size: 6,962 Bytes
5d0c744
b8abad0
 
 
5d0c744
 
 
 
 
 
 
a160492
5d0c744
 
 
a3c1a9e
 
3f3686d
 
a3c1a9e
a834235
5dc5850
3f3686d
5dc5850
 
 
3f3686d
 
5dc5850
a3c1a9e
 
3f3686d
a3c1a9e
5dc5850
3f3686d
5d0c744
 
a160492
5d0c744
 
 
 
a3c1a9e
 
 
cb504a4
 
 
5d0c744
 
ced1a64
5dc5850
 
df94239
 
 
5d0c744
 
a3c1a9e
 
7562a34
 
9a44dbd
 
 
 
 
 
 
 
 
0217efd
 
9a44dbd
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
license: other
license_name: qwen-research
license_link: https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE
tags:
- comfyui
- diffusion-single-file
base_model:
- Qwen/Qwen-Image-2.1
---

# Qwen-Image 2.1

Repackaged model files for ComfyUI.

Original model repositories: 

- https://huggingface.co/Qwen/Qwen-Image-2.1
- https://huggingface.co/Qwen/Qwen-Image-2.1-Turbo

## Prompt Enhancer

The `qwen3.5_9b_qwen_image_2.1_pe` models are for prompt enhancement, to be used with the `Generate Text` node.

Original model repositories:

- https://huggingface.co/Qwen/Qwen-Image-2.1-PE-T2I
- https://huggingface.co/Qwen/Qwen-Image-2.1-PE-I2I

## Turbo

For faster inference, use either the full Turbo model, or the Turbo LoRA extracted from the base model. Use 8 steps and cfg 1.

---

Place the files in the following folders:

```
πŸ“‚ ComfyUI/
└── πŸ“‚ models/
    β”œβ”€β”€ πŸ“‚ diffusion_models/
    β”‚   β”œβ”€β”€ qwen_image_2.1_bf16.safetensors
    β”‚   β”œβ”€β”€ qwen_image_2.1_int8_convrot.safetensors
    β”‚   β”œβ”€β”€ qwen_image_2.1_turbo_bf16.safetensors
    β”‚   └── qwen_image_2.1_turbo_int8_convrot.safetensors
    β”œβ”€β”€ πŸ“‚ model_patches/
    β”‚   β”œβ”€β”€ qwen_image_2.1_fun_controlnet_union_bf16.safetensors
    β”‚   └── qwen_image_2.1_fun_controlnet_union_int8_convrot.safetensors
    β”œβ”€β”€ πŸ“‚ text_encoders/
    β”‚   β”œβ”€β”€ qwen3vl_8b_bf16.safetensors
    β”‚   β”œβ”€β”€ qwen3vl_8b_int8_convrot.safetensors
    β”‚   β”œβ”€β”€ qwen3vl_8b_w4a8.safetensors
    β”‚   β”œβ”€β”€ qwen3.5_9b_qwen_image_2.1_pe_i2i.int8_convrot.safetensors
    β”‚   β”œβ”€β”€ qwen3.5_9b_qwen_image_2.1_pe_i2i_w4a8.safetensors
    β”‚   β”œβ”€β”€ qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors
    β”‚   └── qwen3.5_9b_qwen_image_2.1_pe_t2i_w4a8.safetensors
    └── πŸ“‚ vae/
        └── qwen_image_2.1_vae_bf16.safetensors
    └── πŸ“‚ loras/
        └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors
```

## Workflows

<table>
<thead>
<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>
</thead>
<tbody>
<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>
<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>
<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>
<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>
<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>
</tbody>
</table>