工作流 /
图像 /
FLUX.2 Pro

FLUX.2 Pro
FLUX.2 Pro
生成照片级写实图像,支持多参考一致性与专业文字渲染。
图像
7 个节点 4 个输入 21 次使用 ComfyUI ≥ 0.21.1 ComfyUI 11 KB
节点构成
LoadImage
× 4
SaveImage
× 1
Flux2ImageNode
× 1
MarkdownNote
× 1
官方标注的模型
FLUX.2FLUX
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "221c430d-e1b0-4eba-acf0-39172eb60bc8",
3 "revision": 0,
4 "last_node_id": 24,
5 "last_link_id": 29,
6 "nodes": [
7 {
8 "id": 16,
9 "type": "LoadImage",
10 "pos": [
11 -1690,
12 2320
13 ],
14 "size": [
15 280,
16 370
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 27
28 ]
29 },
30 {
31 "name": "MASK",
32 "type": "MASK",
33 "links": null
34 }
35 ],
36 "properties": {
37 "Node name for S&R": "LoadImage",
38 "cnr_id": "comfy-core",
39 "ver": "0.5.1"
40 },
41 "widgets_values": [
42 "api_flux2_input_image_4.png",
43 "image"
44 ],
45 "widgets_values_named": {
46 "image": "api_flux2_input_image_4.png",
47 "upload": "image"
48 }
49 },
50 {
51 "id": 15,
52 "type": "LoadImage",
53 "pos": [
54 -1700,
55 1860
56 ],
57 "size": [
58 280,
59 370
60 ],
61 "flags": [],
62 "order": 1,
63 "mode": 0,
64 "inputs": [],
65 "outputs": [
66 {
67 "name": "IMAGE",
68 "type": "IMAGE",
69 "links": [
70 25
71 ]
72 },
73 {
74 "name": "MASK",
75 "type": "MASK",
76 "links": null
77 }
78 ],
79 "properties": {
80 "Node name for S&R": "LoadImage",
81 "cnr_id": "comfy-core",
82 "ver": "0.5.1"
83 },
84 "widgets_values": [
85 "api_flux2_input_image_1.png",
86 "image"
87 ],
88 "widgets_values_named": {
89 "image": "api_flux2_input_image_1.png",
90 "upload": "image"
91 }
92 },
93 {
94 "id": 18,
95 "type": "LoadImage",
96 "pos": [
97 -1340,
98 2320
99 ],
100 "size": [
101 280,
102 370
103 ],
104 "flags": [],
105 "order": 2,
106 "mode": 0,
107 "inputs": [],
108 "outputs": [
109 {
110 "name": "IMAGE",
111 "type": "IMAGE",
112 "links": [
113 28
114 ]
115 },
116 {
117 "name": "MASK",
118 "type": "MASK",
119 "links": null
120 }
121 ],
122 "properties": {
123 "Node name for S&R": "LoadImage",
124 "cnr_id": "comfy-core",
125 "ver": "0.5.1"
126 },
127 "widgets_values": [
128 "api_flux2_input_image_3.png",
129 "image"
130 ],
131 "widgets_values_named": {
132 "image": "api_flux2_input_image_3.png",
133 "upload": "image"
134 }
135 },
136 {
137 "id": 19,
138 "type": "LoadImage",
139 "pos": [
140 -1340,
141 1870
142 ],
143 "size": [
144 280,
145 370
146 ],
147 "flags": [],
148 "order": 3,
149 "mode": 0,
150 "inputs": [],
151 "outputs": [
152 {
153 "name": "IMAGE",
154 "type": "IMAGE",
155 "links": [
156 26
157 ]
158 },
159 {
160 "name": "MASK",
161 "type": "MASK",
162 "links": null
163 }
164 ],
165 "properties": {
166 "Node name for S&R": "LoadImage",
167 "cnr_id": "comfy-core",
168 "ver": "0.5.1"
169 },
170 "widgets_values": [
171 "api_flux2_input_image_2.png",
172 "image"
173 ],
174 "widgets_values_named": {
175 "image": "api_flux2_input_image_2.png",
176 "upload": "image"
177 }
178 },
179 {
180 "id": 12,
181 "type": "SaveImage",
182 "pos": [
183 -340,
184 1830
185 ],
186 "size": [
187 670,
188 560
189 ],
190 "flags": [],
191 "order": 6,
192 "mode": 0,
193 "inputs": [
194 {
195 "name": "images",
196 "type": "IMAGE",
197 "link": 29
198 }
199 ],
200 "outputs": [
201 {
202 "name": "images",
203 "type": "IMAGE",
204 "links": null
205 }
206 ],
207 "properties": {
208 "cnr_id": "comfy-core",
209 "ver": "0.5.1"
210 },
211 "widgets_values": [
212 "Flux.2[pro]"
213 ],
214 "widgets_values_named": {
215 "filename_prefix": "Flux.2[pro]"
216 }
217 },
218 {
219 "id": 23,
220 "type": "Flux2ImageNode",
221 "pos": [
222 -780,
223 1830
224 ],
225 "size": [
226 400,
227 318
228 ],
229 "flags": [],
230 "order": 5,
231 "mode": 0,
232 "inputs": [
233 {
234 "name": "model.images.image_1",
235 "shape": 7,
236 "type": "IMAGE",
237 "link": 25
238 },
239 {
240 "name": "model.images.image_2",
241 "shape": 7,
242 "type": "IMAGE",
243 "link": 26
244 },
245 {
246 "name": "model.images.image_3",
247 "shape": 7,
248 "type": "IMAGE",
249 "link": 27
250 },
251 {
252 "name": "model.images.image_4",
253 "shape": 7,
254 "type": "IMAGE",
255 "link": 28
256 },
257 {
258 "name": "model.images.image_5",
259 "shape": 7,
260 "type": "IMAGE",
261 "link": null
262 }
263 ],
264 "outputs": [
265 {
266 "name": "IMAGE",
267 "type": "IMAGE",
268 "links": [
269 29
270 ]
271 }
272 ],
273 "properties": {
274 "Node name for S&R": "Flux2ImageNode"
275 },
276 "widgets_values": [
277 "Create a photoshoot-style group portrait with four characters, each based on the four provided reference inputs .\nArrange all characters in a top-down, slightly elevated overhead view, similar to a drone or high-platform angle.\nCharacters stand loosely together on an open, clean ground plane, evenly spaced and “tiled” across the frame, all looking upward toward the camera.\nExpressions are natural and relaxed, as if posing for a professional editorial shoot.\nUse bright, soft lighting that casts clean shadows on the ground.\nPreserve each character’s skin tone, clothing style, and proportions from the references.\nOverall aesthetic: modern, crisp, magazine-style group portrait.",
278 "Flux.2 [pro]",
279 1920,
280 1088,
281 0,
282 "randomize"
283 ],
284 "widgets_values_named": {
285 "prompt": "Create a photoshoot-style group portrait with four characters, each based on the four provided reference inputs .\nArrange all characters in a top-down, slightly elevated overhead view, similar to a drone or high-platform angle.\nCharacters stand loosely together on an open, clean ground plane, evenly spaced and “tiled” across the frame, all looking upward toward the camera.\nExpressions are natural and relaxed, as if posing for a professional editorial shoot.\nUse bright, soft lighting that casts clean shadows on the ground.\nPreserve each character’s skin tone, clothing style, and proportions from the references.\nOverall aesthetic: modern, crisp, magazine-style group portrait.",
286 "model": "Flux.2 [pro]",
287 "model.width": 1920,
288 "model.height": 1088,
289 "seed": 0,
290 "control_after_generate": "randomize"
291 },
292 "color": "#432",
293 "bgcolor": "#653"
294 },
295 {
296 "id": 24,
297 "type": "MarkdownNote",
298 "pos": [
299 -2270,
300 1800
301 ],
302 "size": [
303 400,
304 370
305 ],
306 "flags": [],
307 "order": 4,
308 "mode": 0,
309 "inputs": [],
310 "outputs": [],
311 "properties": [],
312 "widgets_values": [
313 "## Input Assets\n\n- [api_flux2_input_image_4.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_4.png)\n- [api_flux2_input_image_1.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_1.png)\n- [api_flux2_input_image_3.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_3.png)\n- [api_flux2_input_image_2.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_2.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
314 ],
315 "widgets_values_named": {
316 "text": "## Input Assets\n\n- [api_flux2_input_image_4.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_4.png)\n- [api_flux2_input_image_1.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_1.png)\n- [api_flux2_input_image_3.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_3.png)\n- [api_flux2_input_image_2.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_flux2_input_image_2.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
317 },
318 "color": "#222",
319 "bgcolor": "#000"
320 }
321 ],
322 "links": [
323 [
324 25,
325 15,
326 0,
327 23,
328 0,
329 "IMAGE"
330 ],
331 [
332 26,
333 19,
334 0,
335 23,
336 1,
337 "IMAGE"
338 ],
339 [
340 27,
341 16,
342 0,
343 23,
344 2,
345 "IMAGE"
346 ],
347 [
348 28,
349 18,
350 0,
351 23,
352 3,
353 "IMAGE"
354 ],
355 [
356 29,
357 23,
358 0,
359 12,
360 0,
361 "IMAGE"
362 ]
363 ],
364 "groups": [
365 {
366 "id": 1,
367 "title": "Multiple input image example",
368 "bounding": [
369 -1840,
370 1770,
371 1010,
372 970
373 ],
374 "color": "#3f789e",
375 "flags": []
376 }
377 ],
378 "config": [],
379 "extra": {
380 "ds": {
381 "scale": 0.7468076591308566,
382 "offset": [
383 2584.1028972350896,
384 -1545.022652456567
385 ]
386 },
387 "frontendVersion": "1.51.9",
388 "workflowRendererVersion": "LG",
389 "VHS_latentpreview": false,
390 "VHS_latentpreviewrate": 0,
391 "VHS_MetadataImage": true,
392 "VHS_KeepIntermediate": true,
393 "ue_links": [],
394 "links_added_by_ue": []
395 },
396 "version": 0.4
397}