Skip to content

Commit ccfdb17

Browse files
comfyui-wikiclaude
andauthored
Flux krea dev (#315)
* Add Flux 1 Krea.dev tutorial - Add English tutorial for Flux 1 on Krea.dev platform - Add Chinese translation of Flux 1 Krea.dev tutorial - Include tutorial images for Flux 1 Krea.dev guide - Update docs.json and update reminder snippets Co-Authored-By: Claude <[email protected]> * Add repo links --------- Co-authored-by: Claude <[email protected]>
1 parent db8eb55 commit ccfdb17

File tree

7 files changed

+181
-0
lines changed

7 files changed

+181
-0
lines changed

docs.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
{
113113
"group": "Flux",
114114
"pages": [
115+
"tutorials/flux/flux1-krea-dev",
115116
"tutorials/flux/flux-1-kontext-dev",
116117
"tutorials/flux/flux-1-text-to-image",
117118
"tutorials/flux/flux-1-fill-dev",
@@ -657,6 +658,7 @@
657658
{
658659
"group": "Flux",
659660
"pages": [
661+
"zh-CN/tutorials/flux/flux1-krea-dev",
660662
"zh-CN/tutorials/flux/flux-1-kontext-dev",
661663
"zh-CN/tutorials/flux/flux-1-text-to-image",
662664
"zh-CN/tutorials/flux/flux-1-fill-dev",
393 KB
Loading
143 KB
Loading

snippets/tutorials/update-reminder.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<Tip>
2+
If you have not installed ComfyUI, please refer to the [ComfyUI System Requirements](/installation/system_requirements#system-requirements) section to install ComfyUI.
3+
24
If you find missing nodes when loading the workflow file below, it may be due to the following situations:
35

46
1. You are not using the latest Development (Nightly) version of ComfyUI.

snippets/zh/tutorials/update-reminder.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<Tip>
2+
如果你未安装 ComfyUI 请参考[ComfyUI 系统要求说明](/zh-CN/installation/system_requirements#操作系统要求) 部分安装 ComfyUI。
3+
24
如果在加载下面的工作流文件时,你发现存在节点缺失,可能是因为以下情况:
35

46
1. 你使用的 ComfyUI 版本不是最新的开发(nightly)版本。

tutorials/flux/flux1-krea-dev.mdx

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: "Flux.1 Krea Dev ComfyUI Workflow Tutorial"
3+
description: "Best open-source FLUX model developed by Black Forest Labs in collaboration with Krea, focusing on unique aesthetic style and natural details, avoiding AI look, providing exceptional realism and image quality."
4+
sidebarTitle: "Flux.1 Krea Dev"
5+
---
6+
7+
import UpdateReminder from '/snippets/en/tutorials/update-reminder.mdx'
8+
9+
![Flux.1 Krea Dev Poster](/images/tutorial/flux/flux_1_krea_dev_poster.jpg)
10+
11+
[Flux.1 Krea Dev](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev) is an advanced text-to-image generation model developed in collaboration between Black Forest Labs (BFL) and Krea. This is currently the best open-source FLUX model, specifically designed for text-to-image generation.
12+
13+
**Model Features**
14+
15+
- **Unique Aesthetic Style**: Focuses on generating images with unique aesthetics, avoiding common "AI look" appearance
16+
- **Natural Details**: Does not produce blown-out highlights, maintaining natural detail representatio
17+
- **Exceptional Realism**: Provides outstanding realism and image quality
18+
- **Fully Compatible Architecture**: Fully compatible architecture design with FLUX.1 [dev]
19+
20+
**Model License**
21+
This model is released under the [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/blob/main/LICENSE.md)
22+
23+
## Flux.1 Krea Dev ComfyUI Workflow
24+
25+
<UpdateReminder />
26+
27+
#### 1. Workflow Files
28+
29+
Download the image or JSON below and drag it into ComfyUI to load the corresponding workflow
30+
![Flux Krea Dev Workflow](https://raw.githubusercontent.com/Comfy-Org/example_workflows/main/flux/krea/flux1_krea_dev.png)
31+
32+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/flux1_krea_dev.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
33+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download JSON Workflow</p>
34+
</a>
35+
36+
#### 2. Manual Model Installation
37+
38+
Please download the following model files:
39+
**Diffusion model**
40+
41+
- [flux1-krea-dev.safetensors](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/resolve/main/flux1-krea-dev.safetensors)
42+
<Note>
43+
The `flux1-dev.safetensors` file requires agreeing to the [black-forest-labs/FLUX.1-Krea-dev](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/) agreement before downloading via browser.
44+
</Note>
45+
46+
If you have used Flux related workflows before, the following models are the same and don't need to be downloaded again
47+
48+
**Text encoders**
49+
- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true)
50+
- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true) Recommended when your VRAM is greater than 32GB.
51+
- [t5xxl_fp8_e4m3fn.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn.safetensors) For Low VRAM
52+
53+
**VAE**
54+
- [ae.safetensors](https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors?download=true)
55+
56+
File save location:
57+
```
58+
ComfyUI/
59+
├── models/
60+
│ ├── diffusion_models/
61+
│ │ └── flux1-krea-dev.safetensors
62+
│ ├── text_encoders/
63+
│ │ ├── clip_l.safetensors
64+
│ │ └── t5xxl_fp16.safetensors or t5xxl_fp8_e4m3fn.safetensors
65+
│ ├── vae/
66+
│ │ └── ae.safetensors
67+
68+
```
69+
70+
#### 3. Step-by-step Verification to Ensure Workflow Runs Properly
71+
72+
<Tip>
73+
For low VRAM users, this model has nearly 47GB, so it may not run smoothly on your device, you can wait for the community to provide FP8 or GGUF version.
74+
</Tip>
75+
76+
Please refer to the image below to ensure all model files have been loaded correctly
77+
78+
![ComfyUI Flux Krea Dev Workflow](/images/tutorial/flux/flux_1_krea_dev_guide.jpg)
79+
80+
1. Ensure that `flux1-krea-dev.safetensors` is loaded in the `Load Diffusion Model` node
81+
- `weight_dtype` has been set to `fp8_e4m3fn_fast` for low VRAM users
82+
- If you have sufficient VRAM like 24GB, you can set `weight_dtype` to `default` for better quality
83+
2. Ensure the following models are loaded in the `DualCLIPLoader` node:
84+
- clip_name1: t5xxl_fp16.safetensors or t5xxl_fp8_e4m3fn.safetensors
85+
- clip_name2: clip_l.safetensors
86+
3. Ensure that `ae.safetensors` is loaded in the `Load VAE` node
87+
4. Click the `Queue` button, or use the shortcut `Ctrl(cmd) + Enter` to run the workflow
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: "Flux.1 Krea Dev ComfyUI 工作流教程"
3+
description: "Black Forest Labs 与 Krea 合作开发的最佳开源 FLUX 模型,专注于独特美学风格和自然细节,避免 AI 感,提供卓越的真实感和图像质量。"
4+
sidebarTitle: "Flux.1 Krea Dev"
5+
---
6+
7+
import UpdateReminder from '/snippets/zh/tutorials/update-reminder.mdx'
8+
9+
![Flux.1 Krea Dev 海报](/images/tutorial/flux/flux_1_krea_dev_poster.jpg)
10+
11+
[Flux.1 Krea Dev](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev) 是由 Black Forest Labs (BFL) 与 Krea 合作开发的先进文本生成图像模型。这是目前最好的开源权重 FLUX 模型,专为文本到图像生成而设计。
12+
13+
**模型特点**
14+
15+
- **独特美学风格**: 专注于生成具有独特美学的图像,避免常见的"AI感"外观
16+
- **自然细节**: 不会产生过曝的高光,保持自然的细节表现
17+
- **卓越的真实感**: 提供出色的真实感和图像质量
18+
- **完全兼容架构**: 与 FLUX.1 [dev] 完全兼容的架构设计
19+
20+
**模型许可**
21+
该模型采用 [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/blob/main/LICENSE.md) 许可发布
22+
23+
## Flux.1 Krea Dev ComfyUI 工作流
24+
25+
<UpdateReminder />
26+
27+
#### 1. 工作流文件
28+
29+
下载下面的图片或JSON,并拖入 ComfyUI 以加载对应工作流
30+
![Flux Krea Dev 工作流](https://raw.githubusercontent.com/Comfy-Org/example_workflows/main/flux/krea/flux1_krea_dev.png)
31+
32+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/flux1_krea_dev.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
33+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载 JSON 格式工作流</p>
34+
</a>
35+
36+
#### 2. 手动安装模型
37+
38+
请下载下面的模型文件:
39+
**Diffusion model**
40+
41+
- [flux1-krea-dev.safetensors](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/resolve/main/flux1-krea-dev.safetensors)
42+
<Note>
43+
- `flux1-dev.safetensors` 文件需要同意 [black-forest-labs/FLUX.1-Krea-dev](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/) 的协议后才能使用浏览器进行下载。
44+
</Note>
45+
46+
如果你使用过 Flux 相关的工作流,下面的模型是相同的,不需要重复下载
47+
48+
**Text encoders**
49+
- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true)
50+
- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true) 当你的显存大于 32GB 时推荐使用。
51+
- [t5xxl_fp8_e4m3fn.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn.safetensors) For Low VRAM
52+
53+
**VAE**
54+
- [ae.safetensors](https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors?download=true)
55+
56+
文件保存位置:
57+
```
58+
ComfyUI/
59+
├── models/
60+
│ ├── diffusion_models/
61+
│ │ └── flux1-krea-dev.safetensors
62+
│ ├── text_encoders/
63+
│ │ ├── clip_l.safetensors
64+
│ │ └── t5xxl_fp16.safetensors 或 t5xxl_fp8_e4m3fn.safetensors
65+
│ ├── vae/
66+
│ │ └── ae.safetensors
67+
68+
```
69+
70+
#### 3. 按步骤检查确保工作流可以正常运行
71+
72+
<Tip>
73+
对于低显存用户, 这个模型有将近 47GB,所以可能无法在你的设备上顺利运行,你可以等待社区提供 FP8 或 GGUF 版本
74+
</Tip>
75+
76+
请参照下面的图片,确保各个模型文件都已经加载完成
77+
78+
![ComfyUI Flux Krea Dev工作流](/images/tutorial/flux/flux_1_krea_dev_guide.jpg)
79+
80+
1. 确保在`Load Diffusion Model`节点加载了`flux1-krea-dev.safetensors`
81+
- `weight_dtype`已为低显存用户设置成了 `fp8_e4m3fn_fast`
82+
- 如果你有足够的显存如 24GB 可以将 `weight_dtype` 设置为 `default` 以获取更好的质量
83+
2. 确保在`DualCLIPLoader`节点中下面的模型已加载:
84+
- clip_name1: t5xxl_fp16.safetensors 或 t5xxl_fp8_e4m3fn.safetensors
85+
- clip_name2: clip_l.safetensors
86+
3. 确保在`Load VAE`节点中加载了`ae.safetensors`
87+
4. 确保
88+
4. 点击 `Queue` 按钮,或者使用快捷键 `Ctrl(cmd) + Enter(回车)` 来运行工作流

0 commit comments

Comments
 (0)