ComfyPilotComfyPilot
工作流 / 图像 / Recraft:风格控制图像生成
Recraft:风格控制图像生成

Recraft:风格控制图像生成

Recraft: Style Control Image Generation

通过视觉示例控制风格,调整定位并微调对象。存储和分享风格以实现完美的品牌一致性。

图像 13 个节点 2 次使用 ComfyUI ≥ 0.3.34 ComfyUI 11 KB

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

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

节点构成

RecraftColorRGB × 3
MarkdownNote × 2
RecraftStyleV3LogoRaster × 1
RecraftStyleV3RealisticImage × 1
RecraftStyleV3DigitalIllustration × 1
RecraftControls × 1
RecraftVectorizeImageNode × 1
SaveSVGNode × 1
SaveImage × 1
RecraftTextToImageNode × 1

官方标注的模型

Recraft

工作流 JSON

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

1{
2 "id": "ba9df292-1ee9-4b7c-af08-690441990d87",
3 "revision": 0,
4 "last_node_id": 26,
5 "last_link_id": 28,
6 "nodes": [
7 {
8 "id": 14,
9 "type": "RecraftStyleV3LogoRaster",
10 "pos": [
11 -130,
12 760
13 ],
14 "size": [
15 270,
16 58
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 4,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "recraft_style",
25 "type": "RECRAFT_V3_STYLE",
26 "links": null
27 }
28 ],
29 "properties": {
30 "Node name for S&R": "RecraftStyleV3LogoRaster"
31 },
32 "widgets_values": [
33 "emblem_graffiti"
34 ]
35 },
36 {
37 "id": 15,
38 "type": "RecraftStyleV3RealisticImage",
39 "pos": [
40 -130,
41 880
42 ],
43 "size": [
44 288.1822204589844,
45 58
46 ],
47 "flags": [],
48 "order": 1,
49 "mode": 4,
50 "inputs": [],
51 "outputs": [
52 {
53 "name": "recraft_style",
54 "type": "RECRAFT_V3_STYLE",
55 "links": null
56 }
57 ],
58 "properties": {
59 "Node name for S&R": "RecraftStyleV3RealisticImage"
60 },
61 "widgets_values": [
62 "None"
63 ]
64 },
65 {
66 "id": 24,
67 "type": "RecraftStyleV3DigitalIllustration",
68 "pos": [
69 -130,
70 990
71 ],
72 "size": [
73 289.51165771484375,
74 58
75 ],
76 "flags": [],
77 "order": 2,
78 "mode": 0,
79 "inputs": [],
80 "outputs": [
81 {
82 "name": "recraft_style",
83 "type": "RECRAFT_V3_STYLE",
84 "links": [
85 26
86 ]
87 }
88 ],
89 "properties": {
90 "Node name for S&R": "RecraftStyleV3DigitalIllustration"
91 },
92 "widgets_values": [
93 "2d_art_poster"
94 ]
95 },
96 {
97 "id": 18,
98 "type": "RecraftColorRGB",
99 "pos": [
100 -448.7101135253906,
101 747.8500366210938
102 ],
103 "size": [
104 276.515380859375,
105 106
106 ],
107 "flags": [],
108 "order": 3,
109 "mode": 4,
110 "inputs": [
111 {
112 "name": "recraft_color",
113 "shape": 7,
114 "type": "RECRAFT_COLOR",
115 "link": null
116 }
117 ],
118 "outputs": [
119 {
120 "name": "recraft_color",
121 "type": "RECRAFT_COLOR",
122 "links": [
123 18,
124 24
125 ]
126 }
127 ],
128 "properties": {
129 "Node name for S&R": "RecraftColorRGB"
130 },
131 "widgets_values": [
132 24,
133 44,
134 196
135 ]
136 },
137 {
138 "id": 16,
139 "type": "RecraftColorRGB",
140 "pos": [
141 -448.7101135253906,
142 907.8500366210938
143 ],
144 "size": [
145 276.515380859375,
146 106
147 ],
148 "flags": [],
149 "order": 6,
150 "mode": 4,
151 "inputs": [
152 {
153 "name": "recraft_color",
154 "shape": 7,
155 "type": "RECRAFT_COLOR",
156 "link": 18
157 }
158 ],
159 "outputs": [
160 {
161 "name": "recraft_color",
162 "type": "RECRAFT_COLOR",
163 "links": [
164 19
165 ]
166 }
167 ],
168 "properties": {
169 "Node name for S&R": "RecraftColorRGB"
170 },
171 "widgets_values": [
172 241,
173 44,
174 208
175 ]
176 },
177 {
178 "id": 17,
179 "type": "RecraftColorRGB",
180 "pos": [
181 -448.7101135253906,
182 1057.8499755859375
183 ],
184 "size": [
185 276.515380859375,
186 106
187 ],
188 "flags": [],
189 "order": 7,
190 "mode": 4,
191 "inputs": [
192 {
193 "name": "recraft_color",
194 "shape": 7,
195 "type": "RECRAFT_COLOR",
196 "link": 19
197 }
198 ],
199 "outputs": [
200 {
201 "name": "recraft_color",
202 "type": "RECRAFT_COLOR",
203 "links": [
204 23
205 ]
206 }
207 ],
208 "properties": {
209 "Node name for S&R": "RecraftColorRGB"
210 },
211 "widgets_values": [
212 241,
213 255,
214 65
215 ]
216 },
217 {
218 "id": 22,
219 "type": "RecraftControls",
220 "pos": [
221 -122.50165557861328,
222 1120.4423828125
223 ],
224 "size": [
225 287.4034118652344,
226 55.30767059326172
227 ],
228 "flags": [],
229 "order": 8,
230 "mode": 4,
231 "inputs": [
232 {
233 "name": "colors",
234 "shape": 7,
235 "type": "RECRAFT_COLOR",
236 "link": 23
237 },
238 {
239 "name": "background_color",
240 "shape": 7,
241 "type": "RECRAFT_COLOR",
242 "link": 24
243 }
244 ],
245 "outputs": [
246 {
247 "name": "recraft_controls",
248 "type": "RECRAFT_CONTROLS",
249 "links": [
250 27
251 ]
252 }
253 ],
254 "properties": {
255 "Node name for S&R": "RecraftControls"
256 },
257 "widgets_values": []
258 },
259 {
260 "id": 12,
261 "type": "RecraftVectorizeImageNode",
262 "pos": [
263 640,
264 1080
265 ],
266 "size": [
267 212.42849731445312,
268 38.70311737060547
269 ],
270 "flags": [],
271 "order": 11,
272 "mode": 4,
273 "inputs": [
274 {
275 "name": "image",
276 "type": "IMAGE",
277 "link": 25
278 }
279 ],
280 "outputs": [
281 {
282 "name": "SVG",
283 "type": "SVG",
284 "links": [
285 28
286 ]
287 }
288 ],
289 "properties": {
290 "Node name for S&R": "RecraftVectorizeImageNode"
291 },
292 "widgets_values": [],
293 "color": "#432",
294 "bgcolor": "#653"
295 },
296 {
297 "id": 26,
298 "type": "SaveSVGNode",
299 "pos": [
300 900,
301 1090
302 ],
303 "size": [
304 270,
305 58
306 ],
307 "flags": [],
308 "order": 12,
309 "mode": 4,
310 "inputs": [
311 {
312 "name": "svg",
313 "type": "SVG",
314 "link": 28
315 }
316 ],
317 "outputs": [],
318 "properties": {
319 "Node name for S&R": "SaveSVGNode"
320 },
321 "widgets_values": [
322 "svg/ComfyUI"
323 ]
324 },
325 {
326 "id": 1,
327 "type": "SaveImage",
328 "pos": [
329 640,
330 720
331 ],
332 "size": [
333 270,
334 270
335 ],
336 "flags": [],
337 "order": 10,
338 "mode": 0,
339 "inputs": [
340 {
341 "name": "images",
342 "type": "IMAGE",
343 "link": 1
344 }
345 ],
346 "outputs": [],
347 "properties": [],
348 "widgets_values": [
349 "ComfyUI"
350 ]
351 },
352 {
353 "id": 3,
354 "type": "RecraftTextToImageNode",
355 "pos": [
356 210,
357 720
358 ],
359 "size": [
360 394.75518798828125,
361 249.34962463378906
362 ],
363 "flags": [],
364 "order": 9,
365 "mode": 0,
366 "inputs": [
367 {
368 "name": "recraft_style",
369 "shape": 7,
370 "type": "RECRAFT_V3_STYLE",
371 "link": 26
372 },
373 {
374 "name": "negative_prompt",
375 "shape": 7,
376 "type": "STRING",
377 "link": null
378 },
379 {
380 "name": "recraft_controls",
381 "shape": 7,
382 "type": "RECRAFT_CONTROLS",
383 "link": 27
384 }
385 ],
386 "outputs": [
387 {
388 "name": "IMAGE",
389 "type": "IMAGE",
390 "links": [
391 1,
392 25
393 ]
394 }
395 ],
396 "properties": {
397 "Node name for S&R": "RecraftTextToImageNode"
398 },
399 "widgets_values": [
400 "A young boy performing a dynamic skateboard trick in a sunlit skate park. He's wearing a white t-shirt and green shorts, captured mid-air with his blonde hair blowing in the wind. The skateboard is in motion as he rides a blue, curved ramp, creating a sense of energy and movement. The scene is painted in a bold, expressive oil painting style, with thick brushstrokes that enhance the vibrant and lively atmosphere. The background features a bright blue ramp, adding to the feeling of freedom and adventure.",
401 "1536x1024",
402 1,
403 1020777976509614,
404 "randomize"
405 ],
406 "color": "#432",
407 "bgcolor": "#653"
408 },
409 {
410 "id": 20,
411 "type": "MarkdownNote",
412 "pos": [
413 -890,
414 890
415 ],
416 "size": [
417 389.0563049316406,
418 249.69961547851562
419 ],
420 "flags": [],
421 "order": 4,
422 "mode": 0,
423 "inputs": [],
424 "outputs": [],
425 "title": "About API Node",
426 "properties": [],
427 "widgets_values": [
428 "[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)."
429 ],
430 "color": "#222",
431 "bgcolor": "#000"
432 },
433 {
434 "id": 23,
435 "type": "MarkdownNote",
436 "pos": [
437 -880,
438 710
439 ],
440 "size": [
441 370,
442 120
443 ],
444 "flags": [],
445 "order": 5,
446 "mode": 0,
447 "inputs": [],
448 "outputs": [],
449 "title": "About Recraft Text to Image",
450 "properties": [],
451 "widgets_values": [
452 "[Tutorial](https://docs.comfy.org/tutorials/partner-nodes/recraft/recraft-text-to-image)\n\n1 - Different \"Recraft Styles\" can quickly set different output styles.\n\n2 - \"seed\" is only used to determine whether a node should be re - run, but the actual result has nothing to do with the seed.\n"
453 ],
454 "color": "#222",
455 "bgcolor": "#000"
456 }
457 ],
458 "links": [
459 [
460 1,
461 3,
462 0,
463 1,
464 0,
465 "IMAGE"
466 ],
467 [
468 18,
469 18,
470 0,
471 16,
472 0,
473 "RECRAFT_COLOR"
474 ],
475 [
476 19,
477 16,
478 0,
479 17,
480 0,
481 "RECRAFT_COLOR"
482 ],
483 [
484 23,
485 17,
486 0,
487 22,
488 0,
489 "RECRAFT_COLOR"
490 ],
491 [
492 24,
493 18,
494 0,
495 22,
496 1,
497 "RECRAFT_COLOR"
498 ],
499 [
500 25,
501 3,
502 0,
503 12,
504 0,
505 "IMAGE"
506 ],
507 [
508 26,
509 24,
510 0,
511 3,
512 0,
513 "RECRAFT_V3_STYLE"
514 ],
515 [
516 27,
517 22,
518 0,
519 3,
520 2,
521 "RECRAFT_CONTROLS"
522 ],
523 [
524 28,
525 12,
526 0,
527 26,
528 0,
529 "SVG"
530 ]
531 ],
532 "groups": [
533 {
534 "id": 1,
535 "title": "(Optional) Convert into SVG (need credits)",
536 "bounding": [
537 630,
538 1010,
539 568.6611938476562,
540 239.57406616210938
541 ],
542 "color": "#3f789e",
543 "font_size": 24,
544 "flags": []
545 },
546 {
547 "id": 2,
548 "title": "Recraft Style",
549 "bounding": [
550 -140,
551 680,
552 312.71435546875,
553 371.3175354003906
554 ],
555 "color": "#3f789e",
556 "font_size": 24,
557 "flags": []
558 },
559 {
560 "id": 3,
561 "title": "Color",
562 "bounding": [
563 -460,
564 680,
565 296.515380859375,
566 499.6000061035156
567 ],
568 "color": "#3f789e",
569 "font_size": 24,
570 "flags": []
571 }
572 ],
573 "config": [],
574 "extra": {
575 "frontendVersion": "1.28.6",
576 "ds": {
577 "scale": 0.45544722314571773,
578 "offset": [
579 1186.9641800913187,
580 81.69637548066643
581 ]
582 }
583 },
584 "version": 0.4
585}