ComfyPilotComfyPilot
工作流 / 图像 / Flux.1 [专业版]:文生图
Flux.1 [专业版]:文生图

Flux.1 [专业版]:文生图

Flux.1 [Pro]: Text to Image

使用 Flux 生成图像,提示词还原度高,画面质量好。

图像 6 个节点 1 个输入 15 次使用 ComfyUI ≥ 0.3.32 ComfyUI 6 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

MarkdownNote × 3
SaveImage × 1
FluxProUltraImageNode × 1
LoadImage × 1

官方标注的模型

FLUXFLUX.1

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "c81d55fb-b953-4ba0-b366-2b1d830ca387",
3 "revision": 0,
4 "last_node_id": 21,
5 "last_link_id": 8,
6 "nodes": [
7 {
8 "id": 12,
9 "type": "SaveImage",
10 "pos": [
11 1691.237548828125,
12 1608.6868896484375
13 ],
14 "size": [
15 270,
16 270
17 ],
18 "flags": [],
19 "order": 5,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 7
26 }
27 ],
28 "outputs": [],
29 "properties": [],
30 "widgets_values": [
31 "ComfyUI"
32 ]
33 },
34 {
35 "id": 16,
36 "type": "MarkdownNote",
37 "pos": [
38 551.428955078125,
39 1605.022216796875
40 ],
41 "size": [
42 317.1644592285156,
43 427.8039245605469
44 ],
45 "flags": [],
46 "order": 0,
47 "mode": 0,
48 "inputs": [],
49 "outputs": [],
50 "title": "Flux 1.1 [pro] Ultra Image",
51 "properties": [],
52 "widgets_values": [
53 "[Tutorial](https://docs.comfy.org/tutorials/partner-nodes/black-forest-labs/flux-1-1-pro-ultra-image) \n\n### `image_prompt` is optional.\nWhen `image_prompt` is input, the larger the value of `image_prompt_strength`, the closer the output result is to the input image.\n\n### `raw` determines whether it is Ultra mode or raw format.\n- **Ultra mode**: Specifically designed for high-resolution requirements, it can accurately restore the prompt and maintain the generation speed.\n- **Raw mode**: Focuses on natural realism, optimizes details such as human skin color, light and shadow, and natural landscapes, making the results more realistic and less AI - like.\n"
54 ],
55 "color": "#222",
56 "bgcolor": "#000"
57 },
58 {
59 "id": 21,
60 "type": "MarkdownNote",
61 "pos": [
62 549.4401245117188,
63 2078.156494140625
64 ],
65 "size": [
66 326.5185852050781,
67 286.05029296875
68 ],
69 "flags": [],
70 "order": 1,
71 "mode": 0,
72 "inputs": [],
73 "outputs": [],
74 "title": "About API Node",
75 "properties": [],
76 "widgets_values": [
77 "[About API Node](https://docs.comfy.org/tutorials/partner-nodes/overview) \n\nTo use the API, you must be in a secure network environment:\n\n- Allows access from `127.0.0.1` or `localhost`.\n\n- Use our API Node in website services starting with `https`\n\n- Make sure you can normally connect to our API services (some regions may need a proxy).\n\n- Make sure you are logged in in the settings and that your account still has enough credits to cover the consumption of API calls.\n\n- On non-whitelisted sites or local area networks (LANs), please try to [log in using an API Key](https://docs.comfy.org/interface/user#logging-in-with-an-api-key)."
78 ],
79 "color": "#222",
80 "bgcolor": "#000"
81 },
82 {
83 "id": 20,
84 "type": "MarkdownNote",
85 "pos": [
86 891.7418823242188,
87 1969.7508544921875
88 ],
89 "size": [
90 315.394287109375,
91 149.74844360351562
92 ],
93 "flags": [],
94 "order": 2,
95 "mode": 0,
96 "inputs": [],
97 "outputs": [],
98 "title": "How to enable image_prompt",
99 "properties": [],
100 "widgets_values": [
101 "Right-click on the Load image node, set the mode to **always** to enable **image_prompt**\n"
102 ],
103 "color": "#222",
104 "bgcolor": "#000"
105 },
106 {
107 "id": 11,
108 "type": "FluxProUltraImageNode",
109 "pos": [
110 1256.12744140625,
111 1607.2718505859375
112 ],
113 "size": [
114 396.0795593261719,
115 305.0788269042969
116 ],
117 "flags": [],
118 "order": 4,
119 "mode": 0,
120 "inputs": [
121 {
122 "name": "image_prompt",
123 "shape": 7,
124 "type": "IMAGE",
125 "link": 8
126 }
127 ],
128 "outputs": [
129 {
130 "name": "IMAGE",
131 "type": "IMAGE",
132 "links": [
133 7
134 ]
135 }
136 ],
137 "properties": {
138 "Node name for S&R": "FluxProUltraImageNode"
139 },
140 "widgets_values": [
141 "A dreamy, surreal half-body portrait of a young woman meditating. She has a short, straight bob haircut dyed in pastel pink, with soft bangs covering her forehead. Her eyes are gently closed, and her hands are raised in a calm, open-palmed meditative pose, fingers slightly curved, as if levitating or in deep concentration. She wears a colorful dress made of patchwork-like pastel tiles, featuring clouds, stars, and rainbows. Around her float translucent, iridescent soap bubbles reflecting the rainbow hues. The background is a fantastical sky filled with cotton-candy clouds and vivid rainbow waves, giving the entire scene a magical, dreamlike atmosphere. Emphasis on youthful serenity, whimsical ambiance, and vibrant soft lighting.",
142 false,
143 589991183902375,
144 "randomize",
145 "1:1",
146 false,
147 0.4000000000000001
148 ],
149 "color": "#432",
150 "bgcolor": "#653"
151 },
152 {
153 "id": 14,
154 "type": "LoadImage",
155 "pos": [
156 885.8912353515625,
157 1605.019287109375
158 ],
159 "size": [
160 342.5999755859375,
161 314
162 ],
163 "flags": [],
164 "order": 3,
165 "mode": 4,
166 "inputs": [],
167 "outputs": [
168 {
169 "name": "IMAGE",
170 "type": "IMAGE",
171 "links": [
172 8
173 ]
174 },
175 {
176 "name": "MASK",
177 "type": "MASK",
178 "links": null
179 }
180 ],
181 "properties": {
182 "Node name for S&R": "LoadImage"
183 },
184 "widgets_values": [
185 "example.png",
186 "image"
187 ]
188 }
189 ],
190 "links": [
191 [
192 7,
193 11,
194 0,
195 12,
196 0,
197 "IMAGE"
198 ],
199 [
200 8,
201 14,
202 0,
203 11,
204 0,
205 "IMAGE"
206 ]
207 ],
208 "groups": [],
209 "config": [],
210 "extra": {
211 "ds": {
212 "scale": 1.2635574666726066,
213 "offset": [
214 -569.1910790607177,
215 -1424.6076225985478
216 ]
217 },
218 "frontendVersion": "1.29.2"
219 },
220 "version": 0.4
221}