工作流 /
图像 /
Recraft:色彩控制图像生成

Recraft:色彩控制图像生成
Recraft: Color Control Image Generation
使用 Recraft 生成图像,支持自定义调色板与品牌专属视觉效果。
图像
13 个节点 15 次使用 ComfyUI ≥ 0.3.34 ComfyUI 14 KB
节点构成
RecraftColorRGB
× 3
MarkdownNote
× 2
RecraftStyleV3LogoRaster
× 1
RecraftStyleV3RealisticImage
× 1
RecraftControls
× 1
RecraftStyleV3DigitalIllustration
× 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": 21,
5 "last_link_id": 26,
6 "nodes": [
7 {
8 "id": 20,
9 "type": "RecraftStyleV3LogoRaster",
10 "pos": [
11 134.5838623046875,
12 2136.7021484375
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 "cnr_id": "comfy-core",
31 "ver": "0.3.65",
32 "Node name for S&R": "RecraftStyleV3LogoRaster",
33 "ue_properties": {
34 "widget_ue_connectable": [],
35 "version": "7.1",
36 "input_ue_unconnectable": []
37 }
38 },
39 "widgets_values": [
40 "emblem_graffiti"
41 ]
42 },
43 {
44 "id": 18,
45 "type": "RecraftStyleV3RealisticImage",
46 "pos": [
47 130.8870391845703,
48 2254.080322265625
49 ],
50 "size": [
51 288.1822204589844,
52 58
53 ],
54 "flags": [],
55 "order": 1,
56 "mode": 4,
57 "inputs": [],
58 "outputs": [
59 {
60 "name": "recraft_style",
61 "type": "RECRAFT_V3_STYLE",
62 "links": null
63 }
64 ],
65 "properties": {
66 "cnr_id": "comfy-core",
67 "ver": "0.3.65",
68 "Node name for S&R": "RecraftStyleV3RealisticImage",
69 "ue_properties": {
70 "widget_ue_connectable": [],
71 "version": "7.1",
72 "input_ue_unconnectable": []
73 }
74 },
75 "widgets_values": [
76 "None"
77 ]
78 },
79 {
80 "id": 8,
81 "type": "RecraftColorRGB",
82 "pos": [
83 -180,
84 2290
85 ],
86 "size": [
87 276.515380859375,
88 106
89 ],
90 "flags": [],
91 "order": 6,
92 "mode": 0,
93 "inputs": [
94 {
95 "name": "recraft_color",
96 "shape": 7,
97 "type": "RECRAFT_COLOR",
98 "link": 21
99 }
100 ],
101 "outputs": [
102 {
103 "name": "recraft_color",
104 "type": "RECRAFT_COLOR",
105 "links": [
106 17
107 ]
108 }
109 ],
110 "properties": {
111 "cnr_id": "comfy-core",
112 "ver": "0.3.65",
113 "Node name for S&R": "RecraftColorRGB",
114 "ue_properties": {
115 "widget_ue_connectable": [],
116 "version": "7.1",
117 "input_ue_unconnectable": []
118 }
119 },
120 "widgets_values": [
121 241,
122 44,
123 208
124 ]
125 },
126 {
127 "id": 9,
128 "type": "RecraftColorRGB",
129 "pos": [
130 -180,
131 2440
132 ],
133 "size": [
134 276.515380859375,
135 106
136 ],
137 "flags": [],
138 "order": 7,
139 "mode": 0,
140 "inputs": [
141 {
142 "name": "recraft_color",
143 "shape": 7,
144 "type": "RECRAFT_COLOR",
145 "link": 17
146 }
147 ],
148 "outputs": [
149 {
150 "name": "recraft_color",
151 "type": "RECRAFT_COLOR",
152 "links": [
153 22
154 ]
155 }
156 ],
157 "properties": {
158 "cnr_id": "comfy-core",
159 "ver": "0.3.65",
160 "Node name for S&R": "RecraftColorRGB",
161 "ue_properties": {
162 "widget_ue_connectable": [],
163 "version": "7.1",
164 "input_ue_unconnectable": []
165 }
166 },
167 "widgets_values": [
168 241,
169 255,
170 65
171 ]
172 },
173 {
174 "id": 12,
175 "type": "RecraftColorRGB",
176 "pos": [
177 -180,
178 2130
179 ],
180 "size": [
181 276.515380859375,
182 106
183 ],
184 "flags": [],
185 "order": 2,
186 "mode": 0,
187 "inputs": [
188 {
189 "name": "recraft_color",
190 "shape": 7,
191 "type": "RECRAFT_COLOR",
192 "link": null
193 }
194 ],
195 "outputs": [
196 {
197 "name": "recraft_color",
198 "type": "RECRAFT_COLOR",
199 "links": [
200 21,
201 23
202 ]
203 }
204 ],
205 "properties": {
206 "cnr_id": "comfy-core",
207 "ver": "0.3.65",
208 "Node name for S&R": "RecraftColorRGB",
209 "ue_properties": {
210 "widget_ue_connectable": [],
211 "version": "7.1",
212 "input_ue_unconnectable": []
213 }
214 },
215 "widgets_values": [
216 24,
217 44,
218 196
219 ]
220 },
221 {
222 "id": 10,
223 "type": "RecraftControls",
224 "pos": [
225 136.96226501464844,
226 2492.712646484375
227 ],
228 "size": [
229 287.4034118652344,
230 55.30767059326172
231 ],
232 "flags": [],
233 "order": 8,
234 "mode": 0,
235 "inputs": [
236 {
237 "name": "colors",
238 "shape": 7,
239 "type": "RECRAFT_COLOR",
240 "link": 22
241 },
242 {
243 "name": "background_color",
244 "shape": 7,
245 "type": "RECRAFT_COLOR",
246 "link": 23
247 }
248 ],
249 "outputs": [
250 {
251 "name": "recraft_controls",
252 "type": "RECRAFT_CONTROLS",
253 "links": [
254 16
255 ]
256 }
257 ],
258 "properties": {
259 "cnr_id": "comfy-core",
260 "ver": "0.3.65",
261 "Node name for S&R": "RecraftControls",
262 "ue_properties": {
263 "widget_ue_connectable": [],
264 "version": "7.1",
265 "input_ue_unconnectable": []
266 }
267 },
268 "widgets_values": []
269 },
270 {
271 "id": 4,
272 "type": "RecraftStyleV3DigitalIllustration",
273 "pos": [
274 134.0897216796875,
275 2366.419677734375
276 ],
277 "size": [
278 289.51165771484375,
279 58
280 ],
281 "flags": [],
282 "order": 3,
283 "mode": 0,
284 "inputs": [],
285 "outputs": [
286 {
287 "name": "recraft_style",
288 "type": "RECRAFT_V3_STYLE",
289 "links": [
290 2
291 ]
292 }
293 ],
294 "properties": {
295 "cnr_id": "comfy-core",
296 "ver": "0.3.65",
297 "Node name for S&R": "RecraftStyleV3DigitalIllustration",
298 "ue_properties": {
299 "widget_ue_connectable": [],
300 "version": "7.1",
301 "input_ue_unconnectable": []
302 }
303 },
304 "widgets_values": [
305 "2d_art_poster"
306 ]
307 },
308 {
309 "id": 16,
310 "type": "RecraftVectorizeImageNode",
311 "pos": [
312 480,
313 2480
314 ],
315 "size": [
316 212.42849731445312,
317 38.70311737060547
318 ],
319 "flags": [],
320 "order": 11,
321 "mode": 4,
322 "inputs": [
323 {
324 "name": "image",
325 "type": "IMAGE",
326 "link": 24
327 }
328 ],
329 "outputs": [
330 {
331 "name": "SVG",
332 "type": "SVG",
333 "links": [
334 26
335 ]
336 }
337 ],
338 "properties": {
339 "cnr_id": "comfy-core",
340 "ver": "0.3.65",
341 "Node name for S&R": "RecraftVectorizeImageNode",
342 "ue_properties": {
343 "widget_ue_connectable": [],
344 "version": "7.1",
345 "input_ue_unconnectable": []
346 }
347 },
348 "widgets_values": [],
349 "color": "#432",
350 "bgcolor": "#653"
351 },
352 {
353 "id": 21,
354 "type": "SaveSVGNode",
355 "pos": [
356 750,
357 2480
358 ],
359 "size": [
360 270,
361 58
362 ],
363 "flags": [],
364 "order": 12,
365 "mode": 4,
366 "inputs": [
367 {
368 "name": "svg",
369 "type": "SVG",
370 "link": 26
371 }
372 ],
373 "outputs": [],
374 "properties": {
375 "cnr_id": "comfy-core",
376 "ver": "0.3.65",
377 "Node name for S&R": "SaveSVGNode",
378 "ue_properties": {
379 "widget_ue_connectable": [],
380 "version": "7.1",
381 "input_ue_unconnectable": []
382 }
383 },
384 "widgets_values": [
385 "svg/ComfyUI"
386 ]
387 },
388 {
389 "id": 1,
390 "type": "SaveImage",
391 "pos": [
392 920,
393 2090
394 ],
395 "size": [
396 270,
397 270
398 ],
399 "flags": [],
400 "order": 10,
401 "mode": 0,
402 "inputs": [
403 {
404 "name": "images",
405 "type": "IMAGE",
406 "link": 1
407 }
408 ],
409 "outputs": [],
410 "properties": {
411 "cnr_id": "comfy-core",
412 "ver": "0.3.65",
413 "ue_properties": {
414 "widget_ue_connectable": [],
415 "version": "7.1",
416 "input_ue_unconnectable": []
417 }
418 },
419 "widgets_values": [
420 "ComfyUI"
421 ]
422 },
423 {
424 "id": 15,
425 "type": "MarkdownNote",
426 "pos": [
427 -600,
428 2100
429 ],
430 "size": [
431 380,
432 210
433 ],
434 "flags": [],
435 "order": 4,
436 "mode": 0,
437 "inputs": [],
438 "outputs": [],
439 "title": "About Recraft Text to Image",
440 "properties": {
441 "ue_properties": {
442 "widget_ue_connectable": [],
443 "version": "7.1",
444 "input_ue_unconnectable": []
445 }
446 },
447 "widgets_values": [
448 "[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"
449 ],
450 "color": "#222",
451 "bgcolor": "#000"
452 },
453 {
454 "id": 14,
455 "type": "MarkdownNote",
456 "pos": [
457 -600,
458 2360
459 ],
460 "size": [
461 380,
462 250
463 ],
464 "flags": [],
465 "order": 5,
466 "mode": 0,
467 "inputs": [],
468 "outputs": [],
469 "title": "About API Node",
470 "properties": {
471 "ue_properties": {
472 "widget_ue_connectable": [],
473 "version": "7.1",
474 "input_ue_unconnectable": []
475 }
476 },
477 "widgets_values": [
478 "[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).\n"
479 ],
480 "color": "#222",
481 "bgcolor": "#000"
482 },
483 {
484 "id": 3,
485 "type": "RecraftTextToImageNode",
486 "pos": [
487 470,
488 2100
489 ],
490 "size": [
491 394.75518798828125,
492 249.34962463378906
493 ],
494 "flags": [],
495 "order": 9,
496 "mode": 0,
497 "inputs": [
498 {
499 "name": "recraft_style",
500 "shape": 7,
501 "type": "RECRAFT_V3_STYLE",
502 "link": 2
503 },
504 {
505 "name": "negative_prompt",
506 "shape": 7,
507 "type": "STRING",
508 "link": null
509 },
510 {
511 "name": "recraft_controls",
512 "shape": 7,
513 "type": "RECRAFT_CONTROLS",
514 "link": 16
515 }
516 ],
517 "outputs": [
518 {
519 "name": "IMAGE",
520 "type": "IMAGE",
521 "links": [
522 1,
523 24
524 ]
525 }
526 ],
527 "properties": {
528 "cnr_id": "comfy-core",
529 "ver": "0.3.65",
530 "Node name for S&R": "RecraftTextToImageNode",
531 "ue_properties": {
532 "widget_ue_connectable": [],
533 "version": "7.1",
534 "input_ue_unconnectable": []
535 }
536 },
537 "widgets_values": [
538 "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.",
539 "1536x1024",
540 1,
541 564541362073300,
542 "randomize"
543 ],
544 "color": "#432",
545 "bgcolor": "#653"
546 }
547 ],
548 "links": [
549 [
550 1,
551 3,
552 0,
553 1,
554 0,
555 "IMAGE"
556 ],
557 [
558 2,
559 4,
560 0,
561 3,
562 0,
563 "RECRAFT_V3_STYLE"
564 ],
565 [
566 16,
567 10,
568 0,
569 3,
570 2,
571 "RECRAFT_CONTROLS"
572 ],
573 [
574 17,
575 8,
576 0,
577 9,
578 0,
579 "RECRAFT_COLOR"
580 ],
581 [
582 21,
583 12,
584 0,
585 8,
586 0,
587 "RECRAFT_COLOR"
588 ],
589 [
590 22,
591 9,
592 0,
593 10,
594 0,
595 "RECRAFT_COLOR"
596 ],
597 [
598 23,
599 12,
600 0,
601 10,
602 1,
603 "RECRAFT_COLOR"
604 ],
605 [
606 24,
607 3,
608 0,
609 16,
610 0,
611 "IMAGE"
612 ],
613 [
614 26,
615 16,
616 0,
617 21,
618 0,
619 "SVG"
620 ]
621 ],
622 "groups": [
623 {
624 "id": 1,
625 "title": "(Optional) Convert into SVG (need credits)",
626 "bounding": [
627 470,
628 2390,
629 568.6611938476562,
630 239.57406616210938
631 ],
632 "color": "#3f789e",
633 "font_size": 24,
634 "flags": []
635 },
636 {
637 "id": 2,
638 "title": "Recraft Style",
639 "bounding": [
640 120,
641 2060,
642 312.71435546875,
643 371.3175354003906
644 ],
645 "color": "#3f789e",
646 "font_size": 24,
647 "flags": []
648 },
649 {
650 "id": 3,
651 "title": "Color",
652 "bounding": [
653 -190,
654 2060,
655 296.515380859375,
656 499.6000061035156
657 ],
658 "color": "#3f789e",
659 "font_size": 24,
660 "flags": []
661 }
662 ],
663 "config": [],
664 "extra": {
665 "ds": {
666 "scale": 0.9898783171895011,
667 "offset": [
668 563.5184622084103,
669 -1737.9418202209556
670 ]
671 },
672 "frontendVersion": "1.27.10",
673 "ue_links": [],
674 "VHS_latentpreview": false,
675 "VHS_latentpreviewrate": 0,
676 "VHS_MetadataImage": true,
677 "VHS_KeepIntermediate": true
678 },
679 "version": 0.4
680}