Skip to content

Commit af4a796

Browse files
Fix broken page header in Flux 2 Klein tutorial (#723)
* Update tutorials/flux/flux-2-klein.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> * Update tutorials/flux/flux-2-klein.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> * Update tutorials/flux/flux-2-klein.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> * Update tutorials/flux/flux-2-klein.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> * Update tutorials/flux/flux-2-klein.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> * Update zh-CN/tutorials/flux/flux-2-klein.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 1933e02 commit af4a796

File tree

2 files changed

+166
-66
lines changed

2 files changed

+166
-66
lines changed

tutorials/flux/flux-2-klein.mdx

Lines changed: 83 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
---
32
title: "ComfyUI Flux.2 Klein 4B Guide"
43
description: "A quick introduction to FLUX.2 [klein] 4B and how to run text-to-image and image editing workflows in ComfyUI."
@@ -18,45 +17,96 @@ FLUX.2 [Klein] is the fastest model in the Flux family, unifying text-to-image a
1817

1918
<UpdateReminder/>
2019

21-
## Flux.2 Klein Workflows
22-
23-
<a className="prose" target='_blank' href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_text_to_image.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold', marginRight: '10px'}}>
24-
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download Text-to-Image Workflow</p>
25-
</a>
26-
27-
<a className="prose" target='_blank' href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_base.json" style={{ display: 'inline-block', backgroundColor: '#6f42c1', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold', marginRight: '10px'}}>
28-
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download Image Edit 4B Base</p>
29-
</a>
30-
31-
<a className="prose" target='_blank' href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_distilled.json" style={{ display: 'inline-block', backgroundColor: '#28a745', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
32-
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download Image Edit 4B Distilled</p>
33-
</a>
34-
35-
## Model links
36-
37-
**text_encoders**
38-
39-
- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)
40-
41-
**diffusion_models**
42-
43-
- [flux-2-klein-base-4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-base-4b.safetensors)
44-
- [flux-2-klein-4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-4b.safetensors)
45-
46-
**vae**
47-
48-
- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)
49-
50-
**Model Storage Location**
20+
## Flux.2 Klein 4B Workflows
21+
22+
<CardGroup cols={3}>
23+
<Card title="4B Text-to-Image Workflow" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_text_to_image.json">
24+
Download the text-to-image workflow for Flux.2 Klein 4B.
25+
</Card>
26+
<Card title="4B Image Edit Base" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_base.json">
27+
Download the image editing workflow using the 4B base model.
28+
</Card>
29+
<Card title="4B Image Edit Distilled" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_distilled.json">
30+
Download the fast distilled 4B image editing workflow.
31+
</Card>
32+
</CardGroup>
33+
34+
## Flux.2 Klein 4B Model Downloads
35+
36+
<CardGroup cols={2}>
37+
<Card title="qwen_3_4b.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-klein-4B/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors">
38+
Text encoder for 4B models.
39+
</Card>
40+
<Card title="flux-2-klein-base-4b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-base-4b-fp8/resolve/main/flux-2-klein-base-4b-fp8.safetensors">
41+
Diffusion model (4B base).
42+
</Card>
43+
<Card title="flux-2-klein-4b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-4b-fp8/resolve/main/flux-2-klein-4b-fp8.safetensors">
44+
Diffusion model (4B distilled).
45+
</Card>
46+
<Card title="flux2-vae.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors">
47+
VAE for 4B models.
48+
</Card>
49+
</CardGroup>
50+
51+
**4B Model Storage Location**
5152

5253
```
5354
📂 ComfyUI/
5455
├── 📂 models/
5556
│ ├── 📂 text_encoders/
5657
│ │ └── qwen_3_4b.safetensors
5758
│ ├── 📂 diffusion_models/
58-
│ │ ├── flux-2-klein-4b.safetensors
59-
│ │ └── flux-2-klein-base-4b.safetensors
59+
│ │ ├── flux-2-klein-base-4b-fp8.safetensors
60+
│ │ └── flux-2-klein-4b-fp8.safetensors
61+
│ └── 📂 vae/
62+
│ └── flux2-vae.safetensors
63+
```
64+
65+
## Flux.2 Klein 9B Workflows
66+
67+
<CardGroup cols={3}>
68+
<Card title="9B Text-to-Image Workflow" icon="download" href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_text_to_image_9b.json">
69+
Download the text-to-image workflow for Flux.2 Klein 9B.
70+
</Card>
71+
<Card title="9B Image Edit Base" icon="download" href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_9b_base.json">
72+
Download the image editing workflow using the 9B base model.
73+
</Card>
74+
<Card title="9B Image Edit Distilled" icon="download" href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_9b_distilled.json">
75+
Download the fast distilled 9B image editing workflow.
76+
</Card>
77+
</CardGroup>
78+
79+
## Flux.2 Klein 9B Model Downloads
80+
81+
<Note>
82+
For diffusion models, please visit BFL's repo, accept the agreement, and then download the models.
83+
</Note>
84+
85+
<CardGroup cols={2}>
86+
<Card title="flux-2-klein-base-9b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8">
87+
Diffusion model (9B base).
88+
</Card>
89+
<Card title="flux-2-klein-9b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8">
90+
Diffusion model (9B distilled).
91+
</Card>
92+
<Card title="qwen_3_8b_fp8mixed.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors">
93+
Text encoder for 9B models.
94+
</Card>
95+
<Card title="flux2-vae.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors">
96+
VAE for 9B models.
97+
</Card>
98+
</CardGroup>
99+
100+
**9B Model Storage Location**
101+
102+
```
103+
📂 ComfyUI/
104+
├── 📂 models/
105+
│ ├── 📂 diffusion_models/
106+
│ │ ├── flux-2-klein-9b-fp8.safetensors
107+
│ │ └── flux-2-klein-base-9b-fp8.safetensors
108+
│ ├── 📂 text_encoders/
109+
│ │ └── qwen_3_8b_fp8mixed.safetensors
60110
│ └── 📂 vae/
61111
│ └── flux2-vae.safetensors
62112
```
Lines changed: 83 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
---
32
title: "ComfyUI Flux.2 Klein 4B 指南"
43
description: "快速了解 FLUX.2 [klein] 4B,并在 ComfyUI 中运行文生图与图像编辑工作流。"
@@ -18,45 +17,96 @@ FLUX.2 [Klein] 是 Flux 系列中目前(2026年1月15日)最快的模型,将
1817

1918
<UpdateReminder/>
2019

21-
## Flux.2 Klein 工作流
22-
23-
<a className="prose" target='_blank' href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_text_to_image.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold', marginRight: '10px'}}>
24-
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载文生图工作流</p>
25-
</a>
26-
27-
<a className="prose" target='_blank' href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_base.json" style={{ display: 'inline-block', backgroundColor: '#6f42c1', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold', marginRight: '10px'}}>
28-
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载图像编辑 4B Base</p>
29-
</a>
30-
31-
<a className="prose" target='_blank' href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_distilled.json" style={{ display: 'inline-block', backgroundColor: '#28a745', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
32-
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载图像编辑 4B Distilled</p>
33-
</a>
34-
35-
## 模型链接
36-
37-
**text_encoders**
38-
39-
- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)
40-
41-
**diffusion_models**
42-
43-
- [flux-2-klein-base-4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-base-4b.safetensors)
44-
- [flux-2-klein-4b.safetensors](https://huggingface.co/Comfy-Org/flux2-klein/resolve/main/split_files/diffusion_models/flux-2-klein-4b.safetensors)
45-
46-
**vae**
47-
48-
- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)
49-
50-
**模型存放路径**
20+
## Flux.2 Klein 4B 工作流
21+
22+
<CardGroup cols={3}>
23+
<Card title="4B 文生图工作流" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_text_to_image.json">
24+
下载 Flux.2 Klein 4B 文生图工作流。
25+
</Card>
26+
<Card title="4B 图像编辑 Base" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_base.json">
27+
下载 4B Base 模型图像编辑工作流。
28+
</Card>
29+
<Card title="4B 图像编辑 Distilled" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_4b_distilled.json">
30+
下载 4B 蒸馏版快速图像编辑工作流。
31+
</Card>
32+
</CardGroup>
33+
34+
## Flux.2 Klein 4B 模型下载
35+
36+
<CardGroup cols={2}>
37+
<Card title="qwen_3_4b.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-klein-4B/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors">
38+
4B 模型文本编码器。
39+
</Card>
40+
<Card title="flux-2-klein-base-4b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-base-4b-fp8/resolve/main/flux-2-klein-base-4b-fp8.safetensors">
41+
扩散模型(4B Base)。
42+
</Card>
43+
<Card title="flux-2-klein-4b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-4b-fp8/resolve/main/flux-2-klein-4b-fp8.safetensors">
44+
扩散模型(4B 蒸馏版)。
45+
</Card>
46+
<Card title="flux2-vae.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors">
47+
4B 模型 VAE。
48+
</Card>
49+
</CardGroup>
50+
51+
**4B 模型存放路径**
5152

5253
```
5354
📂 ComfyUI/
5455
├── 📂 models/
5556
│ ├── 📂 text_encoders/
5657
│ │ └── qwen_3_4b.safetensors
5758
│ ├── 📂 diffusion_models/
58-
│ │ ├── flux-2-klein-4b.safetensors
59-
│ │ └── flux-2-klein-base-4b.safetensors
59+
│ │ ├── flux-2-klein-base-4b-fp8.safetensors
60+
│ │ └── flux-2-klein-4b-fp8.safetensors
61+
│ └── 📂 vae/
62+
│ └── flux2-vae.safetensors
63+
```
64+
65+
## Flux.2 Klein 9B 工作流
66+
67+
<CardGroup cols={3}>
68+
<Card title="9B 文生图工作流" icon="download" href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_text_to_image_9b.json">
69+
下载 Flux.2 Klein 9B 文生图工作流。
70+
</Card>
71+
<Card title="9B 图像编辑 Base" icon="download" href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_9b_base.json">
72+
下载 9B Base 模型图像编辑工作流。
73+
</Card>
74+
<Card title="9B 图像编辑 Distilled" icon="download" href="http://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/image_flux2_klein_image_edit_9b_distilled.json">
75+
下载 9B 蒸馏版快速图像编辑工作流。
76+
</Card>
77+
</CardGroup>
78+
79+
## Flux.2 Klein 9B 模型下载
80+
81+
<Note>
82+
扩散模型需要访问 BFL 仓库,接受协议后才能下载。
83+
</Note>
84+
85+
<CardGroup cols={2}>
86+
<Card title="flux-2-klein-base-9b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8">
87+
扩散模型(9B Base)。
88+
</Card>
89+
<Card title="flux-2-klein-9b-fp8.safetensors" icon="download" href="https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8">
90+
扩散模型(9B 蒸馏版)。
91+
</Card>
92+
<Card title="qwen_3_8b_fp8mixed.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors">
93+
9B 模型文本编码器。
94+
</Card>
95+
<Card title="flux2-vae.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors">
96+
9B 模型 VAE。
97+
</Card>
98+
</CardGroup>
99+
100+
**9B 模型存放路径**
101+
102+
```
103+
📂 ComfyUI/
104+
├── 📂 models/
105+
│ ├── 📂 diffusion_models/
106+
│ │ ├── flux-2-klein-9b-fp8.safetensors
107+
│ │ └── flux-2-klein-base-9b-fp8.safetensors
108+
│ ├── 📂 text_encoders/
109+
│ │ └── qwen_3_8b_fp8mixed.safetensors
60110
│ └── 📂 vae/
61111
│ └── flux2-vae.safetensors
62112
```

0 commit comments

Comments
 (0)