工作流 /
图像 /
Luma Photon:风格参考

Luma Photon:风格参考
Luma Photon: Style Reference
使用Luma Photon通过混合风格参考并进行精确控制来生成图像。
图像
17 个节点 2 个输入 9 次使用 ComfyUI ≥ 0.8.0 ComfyUI 18 KB
节点构成
LoadImage
× 7
LumaReferenceNode
× 4
MarkdownNote
× 3
SaveImage
× 1
LumaImageNode
× 1
BatchImagesNode
× 1
官方标注的模型
Luma
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "56bd4347-9347-49da-a167-3db05d3bcc28",
3 "revision": 0,
4 "last_node_id": 56,
5 "last_link_id": 66,
6 "nodes": [
7 {
8 "id": 41,
9 "type": "LoadImage",
10 "pos": [
11 751.3177490234375,
12 2047.623046875
13 ],
14 "size": [
15 270,
16 314.0001220703125
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 44
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.3.65",
40 "ue_properties": {
41 "widget_ue_connectable": [],
42 "version": "7.1",
43 "input_ue_unconnectable": []
44 }
45 },
46 "widgets_values": [
47 "api_luma_photon_i2i_ref_image_1.png",
48 "image"
49 ]
50 },
51 {
52 "id": 52,
53 "type": "LoadImage",
54 "pos": [
55 1076.8538818359375,
56 2052.3544921875
57 ],
58 "size": [
59 270,
60 314.0001220703125
61 ],
62 "flags": [],
63 "order": 1,
64 "mode": 0,
65 "inputs": [],
66 "outputs": [
67 {
68 "name": "IMAGE",
69 "type": "IMAGE",
70 "links": [
71 60
72 ]
73 },
74 {
75 "name": "MASK",
76 "type": "MASK",
77 "links": null
78 }
79 ],
80 "title": "sytleref",
81 "properties": {
82 "Node name for S&R": "LoadImage",
83 "cnr_id": "comfy-core",
84 "ver": "0.3.65",
85 "ue_properties": {
86 "widget_ue_connectable": [],
87 "version": "7.1",
88 "input_ue_unconnectable": []
89 }
90 },
91 "widgets_values": [
92 "api_luma_photon_i2i_ref_image_2.png",
93 "image"
94 ]
95 },
96 {
97 "id": 42,
98 "type": "LumaReferenceNode",
99 "pos": [
100 751.3177490234375,
101 2416.752197265625
102 ],
103 "size": [
104 270,
105 78
106 ],
107 "flags": [],
108 "order": 14,
109 "mode": 0,
110 "inputs": [
111 {
112 "name": "image",
113 "type": "IMAGE",
114 "link": 44
115 },
116 {
117 "name": "luma_ref",
118 "shape": 7,
119 "type": "LUMA_REF",
120 "link": 46
121 }
122 ],
123 "outputs": [
124 {
125 "name": "luma_ref",
126 "type": "LUMA_REF",
127 "links": [
128 62
129 ]
130 }
131 ],
132 "properties": {
133 "Node name for S&R": "LumaReferenceNode",
134 "cnr_id": "comfy-core",
135 "ver": "0.3.65",
136 "ue_properties": {
137 "widget_ue_connectable": [],
138 "version": "7.1",
139 "input_ue_unconnectable": []
140 }
141 },
142 "widgets_values": [
143 0.5000000000000001
144 ]
145 },
146 {
147 "id": 30,
148 "type": "LumaReferenceNode",
149 "pos": [
150 -191.53564453125,
151 2416.752197265625
152 ],
153 "size": [
154 270,
155 78
156 ],
157 "flags": [],
158 "order": 10,
159 "mode": 4,
160 "inputs": [
161 {
162 "name": "image",
163 "type": "IMAGE",
164 "link": 48
165 },
166 {
167 "name": "luma_ref",
168 "shape": 7,
169 "type": "LUMA_REF",
170 "link": null
171 }
172 ],
173 "outputs": [
174 {
175 "name": "luma_ref",
176 "type": "LUMA_REF",
177 "links": [
178 33
179 ]
180 }
181 ],
182 "properties": {
183 "Node name for S&R": "LumaReferenceNode",
184 "cnr_id": "comfy-core",
185 "ver": "0.3.65",
186 "ue_properties": {
187 "widget_ue_connectable": [],
188 "version": "7.1",
189 "input_ue_unconnectable": []
190 }
191 },
192 "widgets_values": [
193 0.5000000000000001
194 ]
195 },
196 {
197 "id": 38,
198 "type": "LoadImage",
199 "pos": [
200 -195.6481475830078,
201 2047.623046875
202 ],
203 "size": [
204 270,
205 314.0001220703125
206 ],
207 "flags": [],
208 "order": 2,
209 "mode": 4,
210 "inputs": [],
211 "outputs": [
212 {
213 "name": "IMAGE",
214 "type": "IMAGE",
215 "links": [
216 48
217 ]
218 },
219 {
220 "name": "MASK",
221 "type": "MASK",
222 "links": null
223 }
224 ],
225 "properties": {
226 "Node name for S&R": "LoadImage",
227 "cnr_id": "comfy-core",
228 "ver": "0.3.65",
229 "ue_properties": {
230 "widget_ue_connectable": [],
231 "version": "7.1",
232 "input_ue_unconnectable": []
233 }
234 },
235 "widgets_values": [
236 "api_luma_photon_i2i_ref_image_1.png",
237 "image"
238 ]
239 },
240 {
241 "id": 26,
242 "type": "LoadImage",
243 "pos": [
244 120.00718688964844,
245 2047.623046875
246 ],
247 "size": [
248 270,
249 314.0001220703125
250 ],
251 "flags": [],
252 "order": 3,
253 "mode": 4,
254 "inputs": [],
255 "outputs": [
256 {
257 "name": "IMAGE",
258 "type": "IMAGE",
259 "links": [
260 49
261 ]
262 },
263 {
264 "name": "MASK",
265 "type": "MASK",
266 "links": null
267 }
268 ],
269 "properties": {
270 "Node name for S&R": "LoadImage",
271 "cnr_id": "comfy-core",
272 "ver": "0.3.65",
273 "ue_properties": {
274 "widget_ue_connectable": [],
275 "version": "7.1",
276 "input_ue_unconnectable": []
277 }
278 },
279 "widgets_values": [
280 "api_luma_photon_i2i_ref_image_1.png",
281 "image"
282 ]
283 },
284 {
285 "id": 37,
286 "type": "LumaReferenceNode",
287 "pos": [
288 122.74884796142578,
289 2416.752197265625
290 ],
291 "size": [
292 270,
293 78
294 ],
295 "flags": [],
296 "order": 12,
297 "mode": 4,
298 "inputs": [
299 {
300 "name": "image",
301 "type": "IMAGE",
302 "link": 49
303 },
304 {
305 "name": "luma_ref",
306 "shape": 7,
307 "type": "LUMA_REF",
308 "link": 33
309 }
310 ],
311 "outputs": [
312 {
313 "name": "luma_ref",
314 "type": "LUMA_REF",
315 "links": [
316 45
317 ]
318 }
319 ],
320 "properties": {
321 "Node name for S&R": "LumaReferenceNode",
322 "cnr_id": "comfy-core",
323 "ver": "0.3.65",
324 "ue_properties": {
325 "widget_ue_connectable": [],
326 "version": "7.1",
327 "input_ue_unconnectable": []
328 }
329 },
330 "widgets_values": [
331 0.5000000000000001
332 ]
333 },
334 {
335 "id": 32,
336 "type": "SaveImage",
337 "pos": [
338 1501.833251953125,
339 2574.7333984375
340 ],
341 "size": [
342 270,
343 58
344 ],
345 "flags": [],
346 "order": 16,
347 "mode": 0,
348 "inputs": [
349 {
350 "name": "images",
351 "type": "IMAGE",
352 "link": 30
353 }
354 ],
355 "outputs": [],
356 "properties": {
357 "cnr_id": "comfy-core",
358 "ver": "0.3.65",
359 "ue_properties": {
360 "widget_ue_connectable": [],
361 "version": "7.1",
362 "input_ue_unconnectable": []
363 }
364 },
365 "widgets_values": [
366 "ComfyUI"
367 ]
368 },
369 {
370 "id": 39,
371 "type": "LumaReferenceNode",
372 "pos": [
373 437.0333251953125,
374 2416.752197265625
375 ],
376 "size": [
377 270,
378 78
379 ],
380 "flags": [],
381 "order": 13,
382 "mode": 4,
383 "inputs": [
384 {
385 "name": "image",
386 "type": "IMAGE",
387 "link": 43
388 },
389 {
390 "name": "luma_ref",
391 "shape": 7,
392 "type": "LUMA_REF",
393 "link": 45
394 }
395 ],
396 "outputs": [
397 {
398 "name": "luma_ref",
399 "type": "LUMA_REF",
400 "links": [
401 46
402 ]
403 }
404 ],
405 "properties": {
406 "Node name for S&R": "LumaReferenceNode",
407 "cnr_id": "comfy-core",
408 "ver": "0.3.65",
409 "ue_properties": {
410 "widget_ue_connectable": [],
411 "version": "7.1",
412 "input_ue_unconnectable": []
413 }
414 },
415 "widgets_values": [
416 0.5000000000000001
417 ]
418 },
419 {
420 "id": 40,
421 "type": "LoadImage",
422 "pos": [
423 435.66253662109375,
424 2047.623046875
425 ],
426 "size": [
427 270,
428 314.0001220703125
429 ],
430 "flags": [],
431 "order": 4,
432 "mode": 4,
433 "inputs": [],
434 "outputs": [
435 {
436 "name": "IMAGE",
437 "type": "IMAGE",
438 "links": [
439 43
440 ]
441 },
442 {
443 "name": "MASK",
444 "type": "MASK",
445 "links": null
446 }
447 ],
448 "properties": {
449 "Node name for S&R": "LoadImage",
450 "cnr_id": "comfy-core",
451 "ver": "0.3.65",
452 "ue_properties": {
453 "widget_ue_connectable": [],
454 "version": "7.1",
455 "input_ue_unconnectable": []
456 }
457 },
458 "widgets_values": [
459 "api_luma_photon_i2i_ref_image_1.png",
460 "image"
461 ]
462 },
463 {
464 "id": 53,
465 "type": "MarkdownNote",
466 "pos": [
467 1499.0423583984375,
468 2879.613525390625
469 ],
470 "size": [
471 414.1007385253906,
472 235.65411376953125
473 ],
474 "flags": [],
475 "order": 5,
476 "mode": 0,
477 "inputs": [],
478 "outputs": [],
479 "title": "About API Node",
480 "properties": {
481 "ue_properties": {
482 "widget_ue_connectable": [],
483 "version": "7.1",
484 "input_ue_unconnectable": []
485 }
486 },
487 "widgets_values": [
488 "[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"
489 ],
490 "color": "#222",
491 "bgcolor": "#000"
492 },
493 {
494 "id": 24,
495 "type": "LumaImageNode",
496 "pos": [
497 1078.1558837890625,
498 2570.47119140625
499 ],
500 "size": [
501 400,
502 248
503 ],
504 "flags": [],
505 "order": 15,
506 "mode": 0,
507 "inputs": [
508 {
509 "name": "image_luma_ref",
510 "shape": 7,
511 "type": "LUMA_REF",
512 "link": 62
513 },
514 {
515 "name": "style_image",
516 "shape": 7,
517 "type": "IMAGE",
518 "link": 60
519 },
520 {
521 "name": "character_image",
522 "shape": 7,
523 "type": "IMAGE",
524 "link": 64
525 }
526 ],
527 "outputs": [
528 {
529 "name": "IMAGE",
530 "type": "IMAGE",
531 "links": [
532 30
533 ]
534 }
535 ],
536 "properties": {
537 "Node name for S&R": "LumaImageNode",
538 "cnr_id": "comfy-core",
539 "ver": "0.3.65",
540 "ue_properties": {
541 "widget_ue_connectable": [],
542 "version": "7.1",
543 "input_ue_unconnectable": []
544 }
545 },
546 "widgets_values": [
547 "a man with a ice crown on top of his head in the style of liquid chrome style ",
548 "photon-1",
549 "3:4",
550 797784790034618,
551 "randomize",
552 1
553 ],
554 "color": "#432",
555 "bgcolor": "#653"
556 },
557 {
558 "id": 55,
559 "type": "MarkdownNote",
560 "pos": [
561 -534.2724609375,
562 2466.52099609375
563 ],
564 "size": [
565 285.1591796875,
566 134.8860321044922
567 ],
568 "flags": [],
569 "order": 6,
570 "mode": 0,
571 "inputs": [],
572 "outputs": [],
573 "title": "How to enable input images",
574 "properties": {
575 "ue_properties": {
576 "widget_ue_connectable": [],
577 "version": "7.1",
578 "input_ue_unconnectable": []
579 }
580 },
581 "widgets_values": [
582 "You can right - click on the corresponding node group to set the \"mode\" to \"always\" to enable the corresponding image output.\n"
583 ],
584 "color": "#222",
585 "bgcolor": "#000"
586 },
587 {
588 "id": 54,
589 "type": "MarkdownNote",
590 "pos": [
591 1082.6822509765625,
592 2871.91455078125
593 ],
594 "size": [
595 389.2633972167969,
596 320.4095764160156
597 ],
598 "flags": [],
599 "order": 7,
600 "mode": 0,
601 "inputs": [],
602 "outputs": [],
603 "title": "About Luma Image to Image",
604 "properties": {
605 "ue_properties": {
606 "widget_ue_connectable": [],
607 "version": "7.1",
608 "input_ue_unconnectable": []
609 }
610 },
611 "widgets_values": [
612 "[Tutorial](https://docs.comfy.org/tutorials/partner-nodes/luma/luma-text-to-image) \n\n1 - \"image_luma_ref\" and \"character_image\" support a maximum of 4 reference image inputs.\n\n2 - The larger the \"style_image_weight\", the more obvious the style.\n\n3 - You can right - click on the corresponding node group to set the \"mode\" to \"always\" to enable the corresponding image output.\n\n4 - \"Batch Images\" requires both inputs to exist simultaneously. By mixing \"load image\" and \"Batch Images\", combinations with different numbers of input images can be achieved.\n"
613 ],
614 "color": "#222",
615 "bgcolor": "#000"
616 },
617 {
618 "id": 45,
619 "type": "LoadImage",
620 "pos": [
621 330,
622 2770
623 ],
624 "size": [
625 274.080078125,
626 314
627 ],
628 "flags": [],
629 "order": 8,
630 "mode": 4,
631 "inputs": [],
632 "outputs": [
633 {
634 "name": "IMAGE",
635 "type": "IMAGE",
636 "links": [
637 66
638 ]
639 },
640 {
641 "name": "MASK",
642 "type": "MASK",
643 "links": null
644 }
645 ],
646 "properties": {
647 "Node name for S&R": "LoadImage",
648 "cnr_id": "comfy-core",
649 "ver": "0.3.65",
650 "ue_properties": {
651 "widget_ue_connectable": [],
652 "version": "7.1",
653 "input_ue_unconnectable": []
654 }
655 },
656 "widgets_values": [
657 "api_luma_photon_i2i_ref_image_1.png",
658 "image"
659 ]
660 },
661 {
662 "id": 46,
663 "type": "LoadImage",
664 "pos": [
665 30,
666 2770
667 ],
668 "size": [
669 274.080078125,
670 314
671 ],
672 "flags": [],
673 "order": 9,
674 "mode": 4,
675 "inputs": [],
676 "outputs": [
677 {
678 "name": "IMAGE",
679 "type": "IMAGE",
680 "links": [
681 65
682 ]
683 },
684 {
685 "name": "MASK",
686 "type": "MASK",
687 "links": null
688 }
689 ],
690 "properties": {
691 "Node name for S&R": "LoadImage",
692 "cnr_id": "comfy-core",
693 "ver": "0.3.65",
694 "ue_properties": {
695 "widget_ue_connectable": [],
696 "version": "7.1",
697 "input_ue_unconnectable": []
698 }
699 },
700 "widgets_values": [
701 "api_luma_photon_i2i_ref_image_1.png",
702 "image"
703 ]
704 },
705 {
706 "id": 56,
707 "type": "BatchImagesNode",
708 "pos": [
709 830,
710 2730
711 ],
712 "size": [
713 169.23046875,
714 66
715 ],
716 "flags": [],
717 "order": 11,
718 "mode": 4,
719 "inputs": [
720 {
721 "label": "image0",
722 "name": "images.image0",
723 "type": "IMAGE",
724 "link": 65
725 },
726 {
727 "label": "image1",
728 "name": "images.image1",
729 "type": "IMAGE",
730 "link": 66
731 },
732 {
733 "label": "image2",
734 "name": "images.image2",
735 "shape": 7,
736 "type": "IMAGE",
737 "link": null
738 }
739 ],
740 "outputs": [
741 {
742 "name": "IMAGE",
743 "type": "IMAGE",
744 "links": [
745 64
746 ]
747 }
748 ],
749 "properties": {
750 "Node name for S&R": "BatchImagesNode"
751 }
752 }
753 ],
754 "links": [
755 [
756 30,
757 24,
758 0,
759 32,
760 0,
761 "IMAGE"
762 ],
763 [
764 33,
765 30,
766 0,
767 37,
768 1,
769 "LUMA_REF"
770 ],
771 [
772 43,
773 40,
774 0,
775 39,
776 0,
777 "IMAGE"
778 ],
779 [
780 44,
781 41,
782 0,
783 42,
784 0,
785 "IMAGE"
786 ],
787 [
788 45,
789 37,
790 0,
791 39,
792 1,
793 "LUMA_REF"
794 ],
795 [
796 46,
797 39,
798 0,
799 42,
800 1,
801 "LUMA_REF"
802 ],
803 [
804 48,
805 38,
806 0,
807 30,
808 0,
809 "IMAGE"
810 ],
811 [
812 49,
813 26,
814 0,
815 37,
816 0,
817 "IMAGE"
818 ],
819 [
820 60,
821 52,
822 0,
823 24,
824 1,
825 "IMAGE"
826 ],
827 [
828 62,
829 42,
830 0,
831 24,
832 0,
833 "LUMA_REF"
834 ],
835 [
836 64,
837 56,
838 0,
839 24,
840 2,
841 "IMAGE"
842 ],
843 [
844 65,
845 46,
846 0,
847 56,
848 0,
849 "IMAGE"
850 ],
851 [
852 66,
853 45,
854 0,
855 56,
856 1,
857 "IMAGE"
858 ]
859 ],
860 "groups": [
861 {
862 "id": 1,
863 "title": "image_luma_ref (up to 4)",
864 "bounding": [
865 -210,
866 1970,
867 1236.9659423828125,
868 530.7291259765625
869 ],
870 "color": "#3f789e",
871 "font_size": 24,
872 "flags": []
873 },
874 {
875 "id": 2,
876 "title": "character_image (up to 4)",
877 "bounding": [
878 -200,
879 2530,
880 1249.1517333984375,
881 628.8998413085938
882 ],
883 "color": "#3f789e",
884 "font_size": 24,
885 "flags": []
886 },
887 {
888 "id": 3,
889 "title": "style_image(1 max)",
890 "bounding": [
891 1070,
892 1980,
893 290,
894 397.6000061035156
895 ],
896 "color": "#3f789e",
897 "font_size": 24,
898 "flags": []
899 }
900 ],
901 "config": [],
902 "extra": {
903 "ds": {
904 "scale": 0.724995433550454,
905 "offset": [
906 504.01701720646207,
907 -1725.1795130209364
908 ]
909 },
910 "frontendVersion": "1.37.6",
911 "ue_links": [],
912 "VHS_latentpreview": false,
913 "VHS_latentpreviewrate": 0,
914 "VHS_MetadataImage": true,
915 "VHS_KeepIntermediate": true,
916 "workflowRendererVersion": "LG"
917 },
918 "version": 0.4
919}