ComfyPilotComfyPilot
工作流 / 角色与时尚 / 时尚编辑照
时尚编辑照

时尚编辑照

Fashion Editorial Shots

上传您的角色、背景场景和产品。生成一个2x2网格,选择您想要的图像并放大

角色与时尚 24 个节点 3 个输入 2 次使用 ComfyUI ≥ 0.15.0 hellorob 88 KB

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

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

节点构成

Reroute × 7
SaveImage × 6
LoadImage × 3
GeminiImage2Node × 2
PrimitiveInt × 1
7f0b4117-39c1-4a46-af45-19cf8fd86001 × 1
PreviewImage × 1
7a951a01-c7c7-4f0b-83d2-c2781ad6175b × 1
f4f8f4f2-9671-4f7f-b27b-5fdbd1e01628 × 1
38467b91-f6e9-4f17-a18a-44e81ac5de93 × 1

官方标注的模型

Nano Banana ProGoogleGoogle Gemini Image

工作流 JSON

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

1{
2 "id": "388dc31e-efd9-48c8-9e45-e39239e0d5fa",
3 "revision": 0,
4 "last_node_id": 100,
5 "last_link_id": 133,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "LoadImage",
10 "pos": [
11 700,
12 70
13 ],
14 "size": [
15 420,
16 570
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 23
28 ]
29 },
30 {
31 "name": "MASK",
32 "type": "MASK",
33 "links": null
34 }
35 ],
36 "title": "Load Character Image",
37 "properties": {
38 "Node name for S&R": "LoadImage",
39 "cnr_id": "comfy-core",
40 "ver": "0.5.1"
41 },
42 "widgets_values": [
43 "snake_on_jacket.jpg",
44 "image"
45 ],
46 "color": "#232",
47 "bgcolor": "#353"
48 },
49 {
50 "id": 2,
51 "type": "LoadImage",
52 "pos": [
53 1180,
54 70
55 ],
56 "size": [
57 420,
58 570
59 ],
60 "flags": [],
61 "order": 1,
62 "mode": 0,
63 "inputs": [],
64 "outputs": [
65 {
66 "name": "IMAGE",
67 "type": "IMAGE",
68 "links": [
69 24
70 ]
71 },
72 {
73 "name": "MASK",
74 "type": "MASK",
75 "links": null
76 }
77 ],
78 "title": "Load Background Image",
79 "properties": {
80 "Node name for S&R": "LoadImage",
81 "cnr_id": "comfy-core",
82 "ver": "0.5.1"
83 },
84 "widgets_values": [
85 "forest_background.jpg",
86 "image"
87 ],
88 "color": "#232",
89 "bgcolor": "#353"
90 },
91 {
92 "id": 48,
93 "type": "Reroute",
94 "pos": [
95 3810,
96 -120
97 ],
98 "size": [
99 75,
100 26
101 ],
102 "flags": [],
103 "order": 10,
104 "mode": 0,
105 "inputs": [
106 {
107 "name": "",
108 "type": "*",
109 "link": 74
110 }
111 ],
112 "outputs": [
113 {
114 "name": "",
115 "type": "IMAGE",
116 "links": [
117 79
118 ]
119 }
120 ],
121 "properties": {
122 "showOutputText": false,
123 "horizontal": false
124 }
125 },
126 {
127 "id": 49,
128 "type": "Reroute",
129 "pos": [
130 4360,
131 -100
132 ],
133 "size": [
134 75,
135 26
136 ],
137 "flags": [],
138 "order": 11,
139 "mode": 0,
140 "inputs": [
141 {
142 "name": "",
143 "type": "*",
144 "link": 75
145 }
146 ],
147 "outputs": [
148 {
149 "name": "",
150 "type": "IMAGE",
151 "links": [
152 80
153 ]
154 }
155 ],
156 "properties": {
157 "showOutputText": false,
158 "horizontal": false
159 }
160 },
161 {
162 "id": 50,
163 "type": "Reroute",
164 "pos": [
165 3810,
166 -80
167 ],
168 "size": [
169 75,
170 26
171 ],
172 "flags": [],
173 "order": 12,
174 "mode": 0,
175 "inputs": [
176 {
177 "name": "",
178 "type": "*",
179 "link": 76
180 }
181 ],
182 "outputs": [
183 {
184 "name": "",
185 "type": "IMAGE",
186 "links": [
187 81
188 ]
189 }
190 ],
191 "properties": {
192 "showOutputText": false,
193 "horizontal": false
194 }
195 },
196 {
197 "id": 51,
198 "type": "Reroute",
199 "pos": [
200 4360,
201 -60
202 ],
203 "size": [
204 75,
205 26
206 ],
207 "flags": [],
208 "order": 13,
209 "mode": 0,
210 "inputs": [
211 {
212 "name": "",
213 "type": "*",
214 "link": 77
215 }
216 ],
217 "outputs": [
218 {
219 "name": "",
220 "type": "IMAGE",
221 "links": [
222 82
223 ]
224 }
225 ],
226 "properties": {
227 "showOutputText": false,
228 "horizontal": false
229 }
230 },
231 {
232 "id": 52,
233 "type": "PrimitiveInt",
234 "pos": [
235 3220,
236 -120
237 ],
238 "size": [
239 250,
240 104
241 ],
242 "flags": {
243 "collapsed": false
244 },
245 "order": 2,
246 "mode": 0,
247 "inputs": [],
248 "outputs": [
249 {
250 "name": "INT",
251 "type": "INT",
252 "links": [
253 78
254 ]
255 }
256 ],
257 "title": "Crop Inset Grid Images",
258 "properties": {
259 "Node name for S&R": "PrimitiveInt",
260 "cnr_id": "comfy-core",
261 "ver": "0.3.76"
262 },
263 "widgets_values": [
264 0,
265 "fixed"
266 ],
267 "color": "#232",
268 "bgcolor": "#353"
269 },
270 {
271 "id": 53,
272 "type": "7f0b4117-39c1-4a46-af45-19cf8fd86001",
273 "pos": [
274 3510,
275 -120
276 ],
277 "size": [
278 225,
279 240
280 ],
281 "flags": {
282 "collapsed": false
283 },
284 "order": 8,
285 "mode": 0,
286 "inputs": [
287 {
288 "name": "image",
289 "type": "IMAGE",
290 "link": 93
291 },
292 {
293 "label": "crop_inset",
294 "name": "a",
295 "shape": 7,
296 "type": "INT,FLOAT",
297 "link": 78
298 }
299 ],
300 "outputs": [
301 {
302 "label": "IMAGE_1",
303 "name": "IMAGE",
304 "type": "IMAGE",
305 "links": [
306 74
307 ]
308 },
309 {
310 "label": "IMAGE_2",
311 "name": "IMAGE_1",
312 "type": "IMAGE",
313 "links": [
314 75
315 ]
316 },
317 {
318 "label": "IMAGE_3",
319 "name": "IMAGE_2",
320 "type": "IMAGE",
321 "links": [
322 76
323 ]
324 },
325 {
326 "label": "IMAGE_4",
327 "name": "IMAGE_3",
328 "type": "IMAGE",
329 "links": [
330 77
331 ]
332 },
333 {
334 "name": "images",
335 "type": "IMAGE",
336 "links": [
337 83
338 ]
339 }
340 ],
341 "properties": {
342 "proxyWidgets": [
343 [
344 "81",
345 "$$canvas-image-preview"
346 ],
347 [
348 "82",
349 "$$canvas-image-preview"
350 ],
351 [
352 "7",
353 "$$canvas-image-preview"
354 ],
355 [
356 "6",
357 "$$canvas-image-preview"
358 ],
359 [
360 "21",
361 "$$canvas-image-preview"
362 ]
363 ],
364 "cnr_id": "comfy-core",
365 "ver": "0.3.76"
366 },
367 "widgets_values": []
368 },
369 {
370 "id": 65,
371 "type": "Reroute",
372 "pos": [
373 2760,
374 -200
375 ],
376 "size": [
377 75,
378 26
379 ],
380 "flags": [],
381 "order": 6,
382 "mode": 0,
383 "inputs": [
384 {
385 "name": "",
386 "type": "*",
387 "link": 91
388 }
389 ],
390 "outputs": [
391 {
392 "name": "",
393 "type": "IMAGE",
394 "links": [
395 90
396 ]
397 }
398 ],
399 "properties": {
400 "showOutputText": false,
401 "horizontal": false
402 }
403 },
404 {
405 "id": 5,
406 "type": "LoadImage",
407 "pos": [
408 1660,
409 70
410 ],
411 "size": [
412 420,
413 570
414 ],
415 "flags": [],
416 "order": 3,
417 "mode": 0,
418 "inputs": [],
419 "outputs": [
420 {
421 "name": "IMAGE",
422 "type": "IMAGE",
423 "links": [
424 22,
425 91
426 ]
427 },
428 {
429 "name": "MASK",
430 "type": "MASK",
431 "links": null
432 }
433 ],
434 "title": "Load Product Image",
435 "properties": {
436 "Node name for S&R": "LoadImage",
437 "cnr_id": "comfy-core",
438 "ver": "0.5.1"
439 },
440 "widgets_values": [
441 "brown_moisturizer_bottle.jpg",
442 "image"
443 ],
444 "color": "#232",
445 "bgcolor": "#353"
446 },
447 {
448 "id": 3,
449 "type": "GeminiImage2Node",
450 "pos": [
451 2370,
452 70
453 ],
454 "size": [
455 400,
456 600
457 ],
458 "flags": [],
459 "order": 4,
460 "mode": 0,
461 "inputs": [
462 {
463 "name": "images",
464 "shape": 7,
465 "type": "IMAGE",
466 "link": null
467 },
468 {
469 "name": "files",
470 "shape": 7,
471 "type": "GEMINI_INPUT_FILES",
472 "link": null
473 }
474 ],
475 "outputs": [
476 {
477 "name": "IMAGE",
478 "type": "IMAGE",
479 "links": [
480 1,
481 93
482 ]
483 },
484 {
485 "name": "STRING",
486 "type": "STRING",
487 "links": null
488 }
489 ],
490 "properties": {
491 "Node name for S&R": "GeminiImage2Node",
492 "cnr_id": "comfy-core",
493 "ver": "0.5.1"
494 },
495 "widgets_values": [
496 "Generate a 2x2 (2 rows, 2 cols) grid.\n\nDivide the frame in 4 different 16:9 frames.\n\nFashion editorial photoshoot of the model from image 1 in the scene from image 2. The character is showcasing the product from image 3. No visible margin or borders between grid images.\n\nFor each frame choose the angle and type of shot, ensure the character and product are visible in each frame, seamlessly interacting.",
497 "gemini-3-pro-image-preview",
498 12345,
499 "fixed",
500 "16:9",
501 "4K",
502 "IMAGE+TEXT",
503 "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
504 ],
505 "color": "#432",
506 "bgcolor": "#653"
507 },
508 {
509 "id": 64,
510 "type": "Reroute",
511 "pos": [
512 4920,
513 -200
514 ],
515 "size": [
516 75,
517 26
518 ],
519 "flags": [],
520 "order": 9,
521 "mode": 0,
522 "inputs": [
523 {
524 "name": "",
525 "type": "*",
526 "link": 90
527 }
528 ],
529 "outputs": [
530 {
531 "name": "",
532 "type": "IMAGE",
533 "links": [
534 94
535 ]
536 }
537 ],
538 "properties": {
539 "showOutputText": false,
540 "horizontal": false
541 }
542 },
543 {
544 "id": 58,
545 "type": "Reroute",
546 "pos": [
547 4920,
548 -40
549 ],
550 "size": [
551 75,
552 26
553 ],
554 "flags": [],
555 "order": 14,
556 "mode": 0,
557 "inputs": [
558 {
559 "name": "",
560 "type": "*",
561 "link": 83
562 }
563 ],
564 "outputs": [
565 {
566 "name": "",
567 "type": "IMAGE",
568 "links": [
569 104
570 ]
571 }
572 ],
573 "properties": {
574 "showOutputText": false,
575 "horizontal": false
576 }
577 },
578 {
579 "id": 62,
580 "type": "GeminiImage2Node",
581 "pos": [
582 5650,
583 70
584 ],
585 "size": [
586 420,
587 540
588 ],
589 "flags": [],
590 "order": 22,
591 "mode": 0,
592 "inputs": [
593 {
594 "name": "images",
595 "shape": 7,
596 "type": "IMAGE",
597 "link": 97
598 },
599 {
600 "name": "files",
601 "shape": 7,
602 "type": "GEMINI_INPUT_FILES",
603 "link": null
604 }
605 ],
606 "outputs": [
607 {
608 "name": "IMAGE",
609 "type": "IMAGE",
610 "links": [
611 110
612 ]
613 },
614 {
615 "name": "STRING",
616 "type": "STRING",
617 "links": null
618 }
619 ],
620 "properties": {
621 "Node name for S&R": "GeminiImage2Node",
622 "cnr_id": "comfy-core",
623 "ver": "0.3.76"
624 },
625 "widgets_values": [
626 "Upscale image 1 while maintaining pose and composition, add subtle details. Use the product from image 2 to add back details to the product.",
627 "gemini-3-pro-image-preview",
628 12345,
629 "fixed",
630 "auto",
631 "4K",
632 "IMAGE+TEXT",
633 "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
634 ],
635 "color": "#432",
636 "bgcolor": "#653"
637 },
638 {
639 "id": 60,
640 "type": "PreviewImage",
641 "pos": [
642 5060,
643 200
644 ],
645 "size": [
646 530,
647 410
648 ],
649 "flags": [],
650 "order": 20,
651 "mode": 0,
652 "inputs": [
653 {
654 "name": "images",
655 "type": "IMAGE",
656 "link": 108
657 }
658 ],
659 "outputs": [
660 {
661 "name": "images",
662 "type": "IMAGE",
663 "links": null
664 }
665 ],
666 "title": "Preview Selected Image",
667 "properties": {
668 "Node name for S&R": "PreviewImage",
669 "cnr_id": "comfy-core",
670 "ver": "0.3.76"
671 },
672 "widgets_values": []
673 },
674 {
675 "id": 68,
676 "type": "7a951a01-c7c7-4f0b-83d2-c2781ad6175b",
677 "pos": [
678 5400,
679 10
680 ],
681 "size": [
682 225,
683 124
684 ],
685 "flags": {
686 "collapsed": false
687 },
688 "order": 21,
689 "mode": 0,
690 "inputs": [
691 {
692 "label": "image_selected",
693 "name": "image",
694 "type": "IMAGE",
695 "link": 109
696 },
697 {
698 "label": "image_product",
699 "name": "image_1",
700 "type": "IMAGE",
701 "link": 94
702 }
703 ],
704 "outputs": [
705 {
706 "name": "IMAGE",
707 "type": "IMAGE",
708 "links": [
709 97
710 ]
711 }
712 ],
713 "properties": {
714 "proxyWidgets": [],
715 "cnr_id": "comfy-core",
716 "ver": "0.4.0"
717 },
718 "widgets_values": []
719 },
720 {
721 "id": 54,
722 "type": "SaveImage",
723 "pos": [
724 3910,
725 70
726 ],
727 "size": [
728 530,
729 410
730 ],
731 "flags": [],
732 "order": 15,
733 "mode": 0,
734 "inputs": [
735 {
736 "name": "images",
737 "type": "IMAGE",
738 "link": 79
739 }
740 ],
741 "outputs": [
742 {
743 "name": "images",
744 "type": "IMAGE",
745 "links": null
746 }
747 ],
748 "title": "Save Image 1",
749 "properties": {
750 "Node name for S&R": "SaveImage",
751 "cnr_id": "comfy-core",
752 "ver": "0.3.76"
753 },
754 "widgets_values": [
755 "ComfyUI-image_1"
756 ]
757 },
758 {
759 "id": 55,
760 "type": "SaveImage",
761 "pos": [
762 4470,
763 70
764 ],
765 "size": [
766 530,
767 410
768 ],
769 "flags": {
770 "collapsed": false
771 },
772 "order": 16,
773 "mode": 0,
774 "inputs": [
775 {
776 "name": "images",
777 "type": "IMAGE",
778 "link": 80
779 }
780 ],
781 "outputs": [
782 {
783 "name": "images",
784 "type": "IMAGE",
785 "links": null
786 }
787 ],
788 "title": "Save Image 2",
789 "properties": {
790 "Node name for S&R": "SaveImage",
791 "cnr_id": "comfy-core",
792 "ver": "0.3.76"
793 },
794 "widgets_values": [
795 "ComfyUI-image_2"
796 ]
797 },
798 {
799 "id": 56,
800 "type": "SaveImage",
801 "pos": [
802 3910,
803 550
804 ],
805 "size": [
806 530,
807 410
808 ],
809 "flags": [],
810 "order": 17,
811 "mode": 0,
812 "inputs": [
813 {
814 "name": "images",
815 "type": "IMAGE",
816 "link": 81
817 }
818 ],
819 "outputs": [
820 {
821 "name": "images",
822 "type": "IMAGE",
823 "links": null
824 }
825 ],
826 "title": "Save Image 3",
827 "properties": {
828 "Node name for S&R": "SaveImage",
829 "cnr_id": "comfy-core",
830 "ver": "0.3.76"
831 },
832 "widgets_values": [
833 "ComfyUI-image_3"
834 ]
835 },
836 {
837 "id": 57,
838 "type": "SaveImage",
839 "pos": [
840 4470,
841 550
842 ],
843 "size": [
844 530,
845 410
846 ],
847 "flags": [],
848 "order": 18,
849 "mode": 0,
850 "inputs": [
851 {
852 "name": "images",
853 "type": "IMAGE",
854 "link": 82
855 }
856 ],
857 "outputs": [
858 {
859 "name": "images",
860 "type": "IMAGE",
861 "links": null
862 }
863 ],
864 "title": "Save Image 4",
865 "properties": {
866 "Node name for S&R": "SaveImage",
867 "cnr_id": "comfy-core",
868 "ver": "0.3.76"
869 },
870 "widgets_values": [
871 "ComfyUI-image_4"
872 ]
873 },
874 {
875 "id": 4,
876 "type": "SaveImage",
877 "pos": [
878 2830,
879 70
880 ],
881 "size": [
882 640,
883 600
884 ],
885 "flags": [],
886 "order": 7,
887 "mode": 0,
888 "inputs": [
889 {
890 "name": "images",
891 "type": "IMAGE",
892 "link": 1
893 }
894 ],
895 "outputs": [
896 {
897 "name": "images",
898 "type": "IMAGE",
899 "links": null
900 }
901 ],
902 "properties": {
903 "Node name for S&R": "SaveImage",
904 "cnr_id": "comfy-core",
905 "ver": "0.5.1"
906 },
907 "widgets_values": [
908 "ComfyUI-2x2_grid"
909 ]
910 },
911 {
912 "id": 15,
913 "type": "f4f8f4f2-9671-4f7f-b27b-5fdbd1e01628",
914 "pos": [
915 2130,
916 70
917 ],
918 "size": [
919 225,
920 148
921 ],
922 "flags": {
923 "collapsed": false
924 },
925 "order": 5,
926 "mode": 0,
927 "inputs": [
928 {
929 "label": "image_bg",
930 "name": "image_1",
931 "type": "IMAGE",
932 "link": 22
933 },
934 {
935 "label": "image_char",
936 "name": "image",
937 "type": "IMAGE",
938 "link": 23
939 },
940 {
941 "label": "image_product",
942 "name": "image_1_1",
943 "type": "IMAGE",
944 "link": 24
945 }
946 ],
947 "outputs": [
948 {
949 "label": "IMAGE",
950 "name": "IMAGE_1",
951 "type": "IMAGE",
952 "links": null
953 }
954 ],
955 "properties": {
956 "proxyWidgets": [],
957 "cnr_id": "comfy-core",
958 "ver": "0.5.1"
959 },
960 "widgets_values": []
961 },
962 {
963 "id": 77,
964 "type": "SaveImage",
965 "pos": [
966 6120,
967 70
968 ],
969 "size": [
970 640,
971 600
972 ],
973 "flags": [],
974 "order": 23,
975 "mode": 0,
976 "inputs": [
977 {
978 "name": "images",
979 "type": "IMAGE",
980 "link": 110
981 }
982 ],
983 "outputs": [
984 {
985 "name": "images",
986 "type": "IMAGE",
987 "links": null
988 }
989 ],
990 "properties": {
991 "Node name for S&R": "SaveImage",
992 "cnr_id": "comfy-core",
993 "ver": "0.5.1"
994 },
995 "widgets_values": [
996 "ComfyUI-image_upscaled"
997 ]
998 },
999 {
1000 "id": 75,
1001 "type": "38467b91-f6e9-4f17-a18a-44e81ac5de93",
1002 "pos": [
1003 5060,
1004 10
1005 ],
1006 "size": [
1007 230,
1008 132
1009 ],
1010 "flags": [],
1011 "order": 19,
1012 "mode": 0,
1013 "inputs": [
1014 {
1015 "name": "image",
1016 "type": "IMAGE",
1017 "link": 104
1018 }
1019 ],
1020 "outputs": [
1021 {
1022 "name": "IMAGE",
1023 "type": "IMAGE",
1024 "links": [
1025 108,
1026 109
1027 ]
1028 }
1029 ],
1030 "properties": {
1031 "proxyWidgets": [
1032 [
1033 "69",
1034 "value"
1035 ]
1036 ],
1037 "cnr_id": "comfy-core",
1038 "ver": "0.5.1"
1039 },
1040 "widgets_values": [],
1041 "color": "#232",
1042 "bgcolor": "#353"
1043 }
1044 ],
1045 "links": [
1046 [
1047 1,
1048 3,
1049 0,
1050 4,
1051 0,
1052 "IMAGE"
1053 ],
1054 [
1055 22,
1056 5,
1057 0,
1058 15,
1059 0,
1060 "IMAGE"
1061 ],
1062 [
1063 23,
1064 1,
1065 0,
1066 15,
1067 1,
1068 "IMAGE"
1069 ],
1070 [
1071 24,
1072 2,
1073 0,
1074 15,
1075 2,
1076 "IMAGE"
1077 ],
1078 [
1079 74,
1080 53,
1081 0,
1082 48,
1083 0,
1084 "IMAGE"
1085 ],
1086 [
1087 75,
1088 53,
1089 1,
1090 49,
1091 0,
1092 "IMAGE"
1093 ],
1094 [
1095 76,
1096 53,
1097 2,
1098 50,
1099 0,
1100 "IMAGE"
1101 ],
1102 [
1103 77,
1104 53,
1105 3,
1106 51,
1107 0,
1108 "IMAGE"
1109 ],
1110 [
1111 78,
1112 52,
1113 0,
1114 53,
1115 1,
1116 "INT"
1117 ],
1118 [
1119 79,
1120 48,
1121 0,
1122 54,
1123 0,
1124 "IMAGE"
1125 ],
1126 [
1127 80,
1128 49,
1129 0,
1130 55,
1131 0,
1132 "IMAGE"
1133 ],
1134 [
1135 81,
1136 50,
1137 0,
1138 56,
1139 0,
1140 "IMAGE"
1141 ],
1142 [
1143 82,
1144 51,
1145 0,
1146 57,
1147 0,
1148 "IMAGE"
1149 ],
1150 [
1151 83,
1152 53,
1153 4,
1154 58,
1155 0,
1156 "IMAGE"
1157 ],
1158 [
1159 90,
1160 65,
1161 0,
1162 64,
1163 0,
1164 "*"
1165 ],
1166 [
1167 91,
1168 5,
1169 0,
1170 65,
1171 0,
1172 "IMAGE"
1173 ],
1174 [
1175 93,
1176 3,
1177 0,
1178 53,
1179 0,
1180 "IMAGE"
1181 ],
1182 [
1183 94,
1184 64,
1185 0,
1186 68,
1187 1,
1188 "IMAGE"
1189 ],
1190 [
1191 97,
1192 68,
1193 0,
1194 62,
1195 0,
1196 "IMAGE"
1197 ],
1198 [
1199 104,
1200 58,
1201 0,
1202 75,
1203 0,
1204 "IMAGE"
1205 ],
1206 [
1207 108,
1208 75,
1209 0,
1210 60,
1211 0,
1212 "IMAGE"
1213 ],
1214 [
1215 109,
1216 75,
1217 0,
1218 68,
1219 0,
1220 "IMAGE"
1221 ],
1222 [
1223 110,
1224 62,
1225 0,
1226 77,
1227 0,
1228 "IMAGE"
1229 ]
1230 ],
1231 "groups": [],
1232 "definitions": {
1233 "subgraphs": [
1234 {
1235 "id": "f4f8f4f2-9671-4f7f-b27b-5fdbd1e01628",
1236 "version": 1,
1237 "state": {
1238 "lastGroupId": 0,
1239 "lastNodeId": 100,
1240 "lastLinkId": 133,
1241 "lastRerouteId": 0
1242 },
1243 "revision": 0,
1244 "config": [],
1245 "name": "Batch Images",
1246 "inputNode": {
1247 "id": -10,
1248 "bounding": [
1249 1550,
1250 -270,
1251 132.474609375,
1252 108
1253 ]
1254 },
1255 "outputNode": {
1256 "id": -20,
1257 "bounding": [
1258 2860,
1259 -110,
1260 128,
1261 68
1262 ]
1263 },
1264 "inputs": [
1265 {
1266 "id": "7557333e-88d0-4d8e-8ac2-a8b26615c838",
1267 "name": "image_1",
1268 "type": "IMAGE",
1269 "linkIds": [
1270 123
1271 ],
1272 "localized_name": "image_1",
1273 "label": "image_bg",
1274 "pos": [
1275 1658.474609375,
1276 -246
1277 ]
1278 },
1279 {
1280 "id": "5ed0d193-4b25-4e7f-b910-70ed66ad79a4",
1281 "name": "image",
1282 "type": "IMAGE",
1283 "linkIds": [
1284 114,
1285 125
1286 ],
1287 "localized_name": "image",
1288 "label": "image_char",
1289 "pos": [
1290 1658.474609375,
1291 -226
1292 ]
1293 },
1294 {
1295 "id": "0e335fa2-c522-4c7f-b305-7d0a138eeefe",
1296 "name": "image_1_1",
1297 "type": "IMAGE",
1298 "linkIds": [
1299 116
1300 ],
1301 "localized_name": "image_1_1",
1302 "label": "image_product",
1303 "pos": [
1304 1658.474609375,
1305 -206
1306 ]
1307 }
1308 ],
1309 "outputs": [
1310 {
1311 "id": "442c87f6-0bf9-4fb9-9a4d-7b1cee90d511",
1312 "name": "IMAGE_1",
1313 "type": "IMAGE",
1314 "linkIds": [
1315 130
1316 ],
1317 "label": "IMAGE",
1318 "pos": [
1319 2884,
1320 -86
1321 ]
1322 }
1323 ],
1324 "widgets": [],
1325 "nodes": [
1326 {
1327 "id": 93,
1328 "type": "GetImageSize",
1329 "pos": [
1330 1830,
1331 -400
1332 ],
1333 "size": [
1334 225,
1335 120
1336 ],
1337 "flags": {
1338 "collapsed": false
1339 },
1340 "order": 0,
1341 "mode": 0,
1342 "inputs": [
1343 {
1344 "localized_name": "image",
1345 "name": "image",
1346 "type": "IMAGE",
1347 "link": 114
1348 }
1349 ],
1350 "outputs": [
1351 {
1352 "localized_name": "width",
1353 "name": "width",
1354 "type": "INT",
1355 "links": [
1356 111,
1357 127
1358 ]
1359 },
1360 {
1361 "localized_name": "height",
1362 "name": "height",
1363 "type": "INT",
1364 "links": [
1365 112,
1366 128
1367 ]
1368 },
1369 {
1370 "localized_name": "batch_size",
1371 "name": "batch_size",
1372 "type": "INT",
1373 "links": []
1374 }
1375 ],
1376 "properties": {
1377 "Node name for S&R": "GetImageSize",
1378 "cnr_id": "comfy-core",
1379 "ver": "0.3.76"
1380 },
1381 "widgets_values": []
1382 },
1383 {
1384 "id": 94,
1385 "type": "ResizeAndPadImage",
1386 "pos": [
1387 2130,
1388 -580
1389 ],
1390 "size": [
1391 225,
1392 228
1393 ],
1394 "flags": {
1395 "collapsed": false
1396 },
1397 "order": 1,
1398 "mode": 0,
1399 "showAdvanced": true,
1400 "inputs": [
1401 {
1402 "localized_name": "image",
1403 "name": "image",
1404 "type": "IMAGE",
1405 "link": 116
1406 },
1407 {
1408 "localized_name": "target_width",
1409 "name": "target_width",
1410 "type": "INT",
1411 "widget": {
1412 "name": "target_width"
1413 },
1414 "link": 111
1415 },
1416 {
1417 "localized_name": "target_height",
1418 "name": "target_height",
1419 "type": "INT",
1420 "widget": {
1421 "name": "target_height"
1422 },
1423 "link": 112
1424 }
1425 ],
1426 "outputs": [
1427 {
1428 "localized_name": "IMAGE",
1429 "name": "IMAGE",
1430 "type": "IMAGE",
1431 "links": [
1432 126
1433 ]
1434 }
1435 ],
1436 "properties": {
1437 "Node name for S&R": "ResizeAndPadImage",
1438 "cnr_id": "comfy-core",
1439 "ver": "0.3.76"
1440 },
1441 "widgets_values": [
1442 512,
1443 512,
1444 "white",
1445 "lanczos"
1446 ]
1447 },
1448 {
1449 "id": 97,
1450 "type": "ResizeAndPadImage",
1451 "pos": [
1452 2120,
1453 -270
1454 ],
1455 "size": [
1456 225,
1457 164
1458 ],
1459 "flags": {
1460 "collapsed": false
1461 },
1462 "order": 2,
1463 "mode": 0,
1464 "inputs": [
1465 {
1466 "localized_name": "image",
1467 "name": "image",
1468 "type": "IMAGE",
1469 "link": 123
1470 },
1471 {
1472 "localized_name": "target_width",
1473 "name": "target_width",
1474 "type": "INT",
1475 "widget": {
1476 "name": "target_width"
1477 },
1478 "link": 127
1479 },
1480 {
1481 "localized_name": "target_height",
1482 "name": "target_height",
1483 "type": "INT",
1484 "widget": {
1485 "name": "target_height"
1486 },
1487 "link": 128
1488 }
1489 ],
1490 "outputs": [
1491 {
1492 "localized_name": "IMAGE",
1493 "name": "IMAGE",
1494 "type": "IMAGE",
1495 "links": [
1496 129
1497 ]
1498 }
1499 ],
1500 "properties": {
1501 "Node name for S&R": "ResizeAndPadImage",
1502 "cnr_id": "comfy-core",
1503 "ver": "0.3.76"
1504 },
1505 "widgets_values": [
1506 512,
1507 512,
1508 "white",
1509 "area"
1510 ]
1511 },
1512 {
1513 "id": 99,
1514 "type": "BatchImagesNode",
1515 "pos": [
1516 2590,
1517 -310
1518 ],
1519 "size": [
1520 225,
1521 144
1522 ],
1523 "flags": [],
1524 "order": 3,
1525 "mode": 0,
1526 "inputs": [
1527 {
1528 "label": "image0",
1529 "localized_name": "images.image0",
1530 "name": "images.image0",
1531 "type": "IMAGE",
1532 "link": 125
1533 },
1534 {
1535 "label": "image1",
1536 "localized_name": "images.image1",
1537 "name": "images.image1",
1538 "shape": 7,
1539 "type": "IMAGE",
1540 "link": 126
1541 },
1542 {
1543 "label": "image2",
1544 "localized_name": "images.image2",
1545 "name": "images.image2",
1546 "shape": 7,
1547 "type": "IMAGE",
1548 "link": 129
1549 },
1550 {
1551 "label": "image3",
1552 "localized_name": "images.image3",
1553 "name": "images.image3",
1554 "shape": 7,
1555 "type": "IMAGE",
1556 "link": null
1557 }
1558 ],
1559 "outputs": [
1560 {
1561 "localized_name": "IMAGE",
1562 "name": "IMAGE",
1563 "type": "IMAGE",
1564 "links": [
1565 130
1566 ]
1567 }
1568 ],
1569 "properties": {
1570 "Node name for S&R": "BatchImagesNode"
1571 },
1572 "widgets_values": []
1573 }
1574 ],
1575 "groups": [],
1576 "links": [
1577 {
1578 "id": 111,
1579 "origin_id": 93,
1580 "origin_slot": 0,
1581 "target_id": 94,
1582 "target_slot": 1,
1583 "type": "INT"
1584 },
1585 {
1586 "id": 112,
1587 "origin_id": 93,
1588 "origin_slot": 1,
1589 "target_id": 94,
1590 "target_slot": 2,
1591 "type": "INT"
1592 },
1593 {
1594 "id": 114,
1595 "origin_id": -10,
1596 "origin_slot": 1,
1597 "target_id": 93,
1598 "target_slot": 0,
1599 "type": "IMAGE"
1600 },
1601 {
1602 "id": 116,
1603 "origin_id": -10,
1604 "origin_slot": 2,
1605 "target_id": 94,
1606 "target_slot": 0,
1607 "type": "IMAGE"
1608 },
1609 {
1610 "id": 123,
1611 "origin_id": -10,
1612 "origin_slot": 0,
1613 "target_id": 97,
1614 "target_slot": 0,
1615 "type": "IMAGE"
1616 },
1617 {
1618 "id": 125,
1619 "origin_id": -10,
1620 "origin_slot": 1,
1621 "target_id": 99,
1622 "target_slot": 0,
1623 "type": "IMAGE"
1624 },
1625 {
1626 "id": 126,
1627 "origin_id": 94,
1628 "origin_slot": 0,
1629 "target_id": 99,
1630 "target_slot": 1,
1631 "type": "IMAGE"
1632 },
1633 {
1634 "id": 127,
1635 "origin_id": 93,
1636 "origin_slot": 0,
1637 "target_id": 97,
1638 "target_slot": 1,
1639 "type": "INT"
1640 },
1641 {
1642 "id": 128,
1643 "origin_id": 93,
1644 "origin_slot": 1,
1645 "target_id": 97,
1646 "target_slot": 2,
1647 "type": "INT"
1648 },
1649 {
1650 "id": 129,
1651 "origin_id": 97,
1652 "origin_slot": 0,
1653 "target_id": 99,
1654 "target_slot": 2,
1655 "type": "IMAGE"
1656 },
1657 {
1658 "id": 130,
1659 "origin_id": 99,
1660 "origin_slot": 0,
1661 "target_id": -20,
1662 "target_slot": 0,
1663 "type": "IMAGE"
1664 }
1665 ],
1666 "extra": {
1667 "workflowRendererVersion": "LG"
1668 }
1669 },
1670 {
1671 "id": "7f0b4117-39c1-4a46-af45-19cf8fd86001",
1672 "version": 1,
1673 "state": {
1674 "lastGroupId": 0,
1675 "lastNodeId": 100,
1676 "lastLinkId": 133,
1677 "lastRerouteId": 0
1678 },
1679 "revision": 0,
1680 "config": [],
1681 "name": "Crop Images",
1682 "inputNode": {
1683 "id": -10,
1684 "bounding": [
1685 848.920446566751,
1686 416.02058889632974,
1687 128,
1688 88
1689 ]
1690 },
1691 "outputNode": {
1692 "id": -20,
1693 "bounding": [
1694 2980,
1695 500,
1696 128,
1697 148
1698 ]
1699 },
1700 "inputs": [
1701 {
1702 "id": "eb15a6da-be18-49ea-81f2-dba4711d5c28",
1703 "name": "image",
1704 "type": "IMAGE",
1705 "linkIds": [
1706 29,
1707 30,
1708 36,
1709 35,
1710 27
1711 ],
1712 "localized_name": "image",
1713 "pos": [
1714 952.920446566751,
1715 440.02058889632974
1716 ]
1717 },
1718 {
1719 "id": "72145059-2ba2-42ec-8379-8412482057af",
1720 "name": "a",
1721 "type": "INT,FLOAT",
1722 "linkIds": [
1723 28
1724 ],
1725 "localized_name": "a",
1726 "label": "crop_inset",
1727 "shape": 7,
1728 "pos": [
1729 952.920446566751,
1730 460.02058889632974
1731 ]
1732 }
1733 ],
1734 "outputs": [
1735 {
1736 "id": "8ec6c1d4-c30e-4d27-9afc-d53cb8950a80",
1737 "name": "IMAGE",
1738 "type": "IMAGE",
1739 "linkIds": [
1740 37
1741 ],
1742 "label": "IMAGE_1",
1743 "pos": [
1744 3004,
1745 524
1746 ]
1747 },
1748 {
1749 "id": "b5bfbdce-26ef-489c-8851-c100001380a0",
1750 "name": "IMAGE_1",
1751 "type": "IMAGE",
1752 "linkIds": [
1753 38
1754 ],
1755 "label": "IMAGE_2",
1756 "pos": [
1757 3004,
1758 544
1759 ]
1760 },
1761 {
1762 "id": "ae6073b1-db37-4141-88fa-6cf4ba5dce26",
1763 "name": "IMAGE_2",
1764 "type": "IMAGE",
1765 "linkIds": [
1766 39
1767 ],
1768 "label": "IMAGE_3",
1769 "pos": [
1770 3004,
1771 564
1772 ]
1773 },
1774 {
1775 "id": "404edd1c-fa1b-4e9f-bb64-a05a8b3ddcee",
1776 "name": "IMAGE_3",
1777 "type": "IMAGE",
1778 "linkIds": [
1779 40
1780 ],
1781 "label": "IMAGE_4",
1782 "pos": [
1783 3004,
1784 584
1785 ]
1786 },
1787 {
1788 "id": "0543b553-e71f-4c30-afa3-855738c77bee",
1789 "name": "images",
1790 "type": "IMAGE",
1791 "linkIds": [
1792 49
1793 ],
1794 "pos": [
1795 3004,
1796 604
1797 ]
1798 }
1799 ],
1800 "widgets": [],
1801 "nodes": [
1802 {
1803 "id": 81,
1804 "type": "PreviewImage",
1805 "pos": [
1806 2010,
1807 400
1808 ],
1809 "size": [
1810 225,
1811 280
1812 ],
1813 "flags": [],
1814 "order": 12,
1815 "mode": 0,
1816 "inputs": [
1817 {
1818 "localized_name": "images",
1819 "name": "images",
1820 "type": "IMAGE",
1821 "link": 3
1822 }
1823 ],
1824 "outputs": [
1825 {
1826 "localized_name": "images",
1827 "name": "images",
1828 "type": "IMAGE",
1829 "links": null
1830 }
1831 ],
1832 "properties": {
1833 "Node name for S&R": "PreviewImage",
1834 "cnr_id": "comfy-core",
1835 "ver": "0.3.76"
1836 },
1837 "widgets_values": []
1838 },
1839 {
1840 "id": 82,
1841 "type": "PreviewImage",
1842 "pos": [
1843 2430,
1844 400
1845 ],
1846 "size": [
1847 225,
1848 250
1849 ],
1850 "flags": [],
1851 "order": 13,
1852 "mode": 0,
1853 "inputs": [
1854 {
1855 "localized_name": "images",
1856 "name": "images",
1857 "type": "IMAGE",
1858 "link": 4
1859 }
1860 ],
1861 "outputs": [
1862 {
1863 "localized_name": "images",
1864 "name": "images",
1865 "type": "IMAGE",
1866 "links": null
1867 }
1868 ],
1869 "properties": {
1870 "Node name for S&R": "PreviewImage",
1871 "cnr_id": "comfy-core",
1872 "ver": "0.3.76"
1873 },
1874 "widgets_values": []
1875 },
1876 {
1877 "id": 7,
1878 "type": "PreviewImage",
1879 "pos": [
1880 2440,
1881 1070
1882 ],
1883 "size": [
1884 225,
1885 250
1886 ],
1887 "flags": [],
1888 "order": 1,
1889 "mode": 0,
1890 "inputs": [
1891 {
1892 "localized_name": "images",
1893 "name": "images",
1894 "type": "IMAGE",
1895 "link": 6
1896 }
1897 ],
1898 "outputs": [
1899 {
1900 "localized_name": "images",
1901 "name": "images",
1902 "type": "IMAGE",
1903 "links": null
1904 }
1905 ],
1906 "properties": {
1907 "Node name for S&R": "PreviewImage",
1908 "cnr_id": "comfy-core",
1909 "ver": "0.3.76"
1910 },
1911 "widgets_values": []
1912 },
1913 {
1914 "id": 16,
1915 "type": "SimpleMath+",
1916 "pos": [
1917 1290,
1918 40
1919 ],
1920 "size": [
1921 270,
1922 132
1923 ],
1924 "flags": [],
1925 "order": 4,
1926 "mode": 0,
1927 "inputs": [
1928 {
1929 "localized_name": "a",
1930 "name": "a",
1931 "shape": 7,
1932 "type": "INT,FLOAT",
1933 "link": 25
1934 },
1935 {
1936 "localized_name": "b",
1937 "name": "b",
1938 "shape": 7,
1939 "type": "INT,FLOAT",
1940 "link": 26
1941 }
1942 ],
1943 "outputs": [
1944 {
1945 "localized_name": "INT",
1946 "name": "INT",
1947 "type": "INT",
1948 "links": [
1949 8,
1950 10,
1951 13,
1952 16,
1953 19
1954 ]
1955 },
1956 {
1957 "localized_name": "FLOAT",
1958 "name": "FLOAT",
1959 "type": "FLOAT",
1960 "links": null
1961 }
1962 ],
1963 "title": "HEIGHT",
1964 "properties": {
1965 "Node name for S&R": "SimpleMath+",
1966 "cnr_id": "comfyui_essentials",
1967 "ver": "1.1.0"
1968 },
1969 "widgets_values": [
1970 "(a-2*b) / 2"
1971 ],
1972 "color": "#233",
1973 "bgcolor": "#355"
1974 },
1975 {
1976 "id": 6,
1977 "type": "PreviewImage",
1978 "pos": [
1979 2010,
1980 1060
1981 ],
1982 "size": [
1983 225,
1984 250
1985 ],
1986 "flags": [],
1987 "order": 0,
1988 "mode": 0,
1989 "inputs": [
1990 {
1991 "localized_name": "images",
1992 "name": "images",
1993 "type": "IMAGE",
1994 "link": 5
1995 }
1996 ],
1997 "outputs": [
1998 {
1999 "localized_name": "images",
2000 "name": "images",
2001 "type": "IMAGE",
2002 "links": null
2003 }
2004 ],
2005 "properties": {
2006 "Node name for S&R": "PreviewImage",
2007 "cnr_id": "comfy-core",
2008 "ver": "0.3.76"
2009 },
2010 "widgets_values": []
2011 },
2012 {
2013 "id": 83,
2014 "type": "SimpleMath+",
2015 "pos": [
2016 1290,
2017 -150
2018 ],
2019 "size": [
2020 270,
2021 132
2022 ],
2023 "flags": [],
2024 "order": 14,
2025 "mode": 0,
2026 "inputs": [
2027 {
2028 "localized_name": "a",
2029 "name": "a",
2030 "shape": 7,
2031 "type": "INT,FLOAT",
2032 "link": 23
2033 },
2034 {
2035 "localized_name": "b",
2036 "name": "b",
2037 "shape": 7,
2038 "type": "INT,FLOAT",
2039 "link": 24
2040 }
2041 ],
2042 "outputs": [
2043 {
2044 "localized_name": "INT",
2045 "name": "INT",
2046 "type": "INT",
2047 "links": [
2048 7,
2049 9,
2050 12,
2051 15,
2052 21
2053 ]
2054 },
2055 {
2056 "localized_name": "FLOAT",
2057 "name": "FLOAT",
2058 "type": "FLOAT",
2059 "links": null
2060 }
2061 ],
2062 "title": "WIDTH",
2063 "properties": {
2064 "Node name for S&R": "SimpleMath+",
2065 "cnr_id": "comfyui_essentials",
2066 "ver": "1.1.0"
2067 },
2068 "widgets_values": [
2069 "(a-2*b) / 2"
2070 ],
2071 "color": "#233",
2072 "bgcolor": "#355"
2073 },
2074 {
2075 "id": 17,
2076 "type": "GetImageSize",
2077 "pos": [
2078 1030,
2079 -150
2080 ],
2081 "size": [
2082 225,
2083 120
2084 ],
2085 "flags": {
2086 "collapsed": false
2087 },
2088 "order": 5,
2089 "mode": 0,
2090 "inputs": [
2091 {
2092 "localized_name": "image",
2093 "name": "image",
2094 "type": "IMAGE",
2095 "link": 27
2096 }
2097 ],
2098 "outputs": [
2099 {
2100 "localized_name": "width",
2101 "name": "width",
2102 "type": "INT",
2103 "links": [
2104 23,
2105 53
2106 ]
2107 },
2108 {
2109 "localized_name": "height",
2110 "name": "height",
2111 "type": "INT",
2112 "links": [
2113 25,
2114 51
2115 ]
2116 },
2117 {
2118 "localized_name": "batch_size",
2119 "name": "batch_size",
2120 "type": "INT",
2121 "links": null
2122 }
2123 ],
2124 "properties": {
2125 "Node name for S&R": "GetImageSize",
2126 "cnr_id": "comfy-core",
2127 "ver": "0.3.71"
2128 },
2129 "widgets_values": []
2130 },
2131 {
2132 "id": 21,
2133 "type": "PreviewImage",
2134 "pos": [
2135 3680,
2136 400
2137 ],
2138 "size": [
2139 225,
2140 250
2141 ],
2142 "flags": [],
2143 "order": 8,
2144 "mode": 0,
2145 "inputs": [
2146 {
2147 "localized_name": "images",
2148 "name": "images",
2149 "type": "IMAGE",
2150 "link": 50
2151 }
2152 ],
2153 "outputs": [
2154 {
2155 "localized_name": "images",
2156 "name": "images",
2157 "type": "IMAGE",
2158 "links": null
2159 }
2160 ],
2161 "properties": {
2162 "Node name for S&R": "PreviewImage",
2163 "cnr_id": "comfy-core",
2164 "ver": "0.3.76"
2165 },
2166 "widgets_values": []
2167 },
2168 {
2169 "id": 23,
2170 "type": "SimpleMath+",
2171 "pos": [
2172 3260,
2173 40
2174 ],
2175 "size": [
2176 270,
2177 132
2178 ],
2179 "flags": [],
2180 "order": 10,
2181 "mode": 0,
2182 "inputs": [
2183 {
2184 "localized_name": "a",
2185 "name": "a",
2186 "shape": 7,
2187 "type": "INT,FLOAT",
2188 "link": 53
2189 },
2190 {
2191 "localized_name": "b",
2192 "name": "b",
2193 "shape": 7,
2194 "type": "INT,FLOAT",
2195 "link": null
2196 }
2197 ],
2198 "outputs": [
2199 {
2200 "localized_name": "INT",
2201 "name": "INT",
2202 "type": "INT",
2203 "links": [
2204 56
2205 ]
2206 },
2207 {
2208 "localized_name": "FLOAT",
2209 "name": "FLOAT",
2210 "type": "FLOAT",
2211 "links": null
2212 }
2213 ],
2214 "title": "WIDTH / 2",
2215 "properties": {
2216 "Node name for S&R": "SimpleMath+",
2217 "cnr_id": "comfyui_essentials",
2218 "ver": "1.1.0"
2219 },
2220 "widgets_values": [
2221 "(a) / 2"
2222 ],
2223 "color": "#233",
2224 "bgcolor": "#355"
2225 },
2226 {
2227 "id": 22,
2228 "type": "SimpleMath+",
2229 "pos": [
2230 3260,
2231 180
2232 ],
2233 "size": [
2234 270,
2235 132
2236 ],
2237 "flags": [],
2238 "order": 9,
2239 "mode": 0,
2240 "inputs": [
2241 {
2242 "localized_name": "a",
2243 "name": "a",
2244 "shape": 7,
2245 "type": "INT,FLOAT",
2246 "link": 51
2247 },
2248 {
2249 "localized_name": "b",
2250 "name": "b",
2251 "shape": 7,
2252 "type": "INT,FLOAT",
2253 "link": null
2254 }
2255 ],
2256 "outputs": [
2257 {
2258 "localized_name": "INT",
2259 "name": "INT",
2260 "type": "INT",
2261 "links": [
2262 55
2263 ]
2264 },
2265 {
2266 "localized_name": "FLOAT",
2267 "name": "FLOAT",
2268 "type": "FLOAT",
2269 "links": null
2270 }
2271 ],
2272 "title": "HEIGHT / 2",
2273 "properties": {
2274 "Node name for S&R": "SimpleMath+",
2275 "cnr_id": "comfyui_essentials",
2276 "ver": "1.1.0"
2277 },
2278 "widgets_values": [
2279 "(a) / 2"
2280 ],
2281 "color": "#233",
2282 "bgcolor": "#355"
2283 },
2284 {
2285 "id": 20,
2286 "type": "ImageResizeKJv2",
2287 "pos": [
2288 3260,
2289 390
2290 ],
2291 "size": [
2292 270,
2293 404
2294 ],
2295 "flags": [],
2296 "order": 7,
2297 "mode": 0,
2298 "inputs": [
2299 {
2300 "localized_name": "image",
2301 "name": "image",
2302 "type": "IMAGE",
2303 "link": 46
2304 },
2305 {
2306 "localized_name": "mask",
2307 "name": "mask",
2308 "shape": 7,
2309 "type": "MASK",
2310 "link": null
2311 },
2312 {
2313 "localized_name": "width",
2314 "name": "width",
2315 "type": "INT",
2316 "widget": {
2317 "name": "width"
2318 },
2319 "link": 56
2320 },
2321 {
2322 "localized_name": "height",
2323 "name": "height",
2324 "type": "INT",
2325 "widget": {
2326 "name": "height"
2327 },
2328 "link": 55
2329 }
2330 ],
2331 "outputs": [
2332 {
2333 "localized_name": "IMAGE",
2334 "name": "IMAGE",
2335 "type": "IMAGE",
2336 "links": [
2337 49,
2338 50
2339 ]
2340 },
2341 {
2342 "localized_name": "width",
2343 "name": "width",
2344 "type": "INT",
2345 "links": null
2346 },
2347 {
2348 "localized_name": "height",
2349 "name": "height",
2350 "type": "INT",
2351 "links": null
2352 },
2353 {
2354 "localized_name": "mask",
2355 "name": "mask",
2356 "type": "MASK",
2357 "links": null
2358 }
2359 ],
2360 "title": "Resize Images",
2361 "properties": {
2362 "Node name for S&R": "ImageResizeKJv2",
2363 "cnr_id": "comfyui-kjnodes",
2364 "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
2365 },
2366 "widgets_values": [
2367 512,
2368 512,
2369 "nearest-exact",
2370 "stretch",
2371 "0, 0, 0",
2372 "center",
2373 2,
2374 "cpu"
2375 ]
2376 },
2377 {
2378 "id": 8,
2379 "type": "ImageCrop",
2380 "pos": [
2381 2010,
2382 220
2383 ],
2384 "size": [
2385 225,
2386 200
2387 ],
2388 "flags": [],
2389 "order": 2,
2390 "mode": 0,
2391 "inputs": [
2392 {
2393 "localized_name": "image",
2394 "name": "image",
2395 "type": "IMAGE",
2396 "link": 29
2397 },
2398 {
2399 "localized_name": "width",
2400 "name": "width",
2401 "type": "INT",
2402 "widget": {
2403 "name": "width"
2404 },
2405 "link": 7
2406 },
2407 {
2408 "localized_name": "height",
2409 "name": "height",
2410 "type": "INT",
2411 "widget": {
2412 "name": "height"
2413 },
2414 "link": 8
2415 },
2416 {
2417 "localized_name": "x",
2418 "name": "x",
2419 "type": "INT",
2420 "widget": {
2421 "name": "x"
2422 },
2423 "link": 58
2424 },
2425 {
2426 "localized_name": "y",
2427 "name": "y",
2428 "type": "INT",
2429 "widget": {
2430 "name": "y"
2431 },
2432 "link": 60
2433 }
2434 ],
2435 "outputs": [
2436 {
2437 "localized_name": "IMAGE",
2438 "name": "IMAGE",
2439 "type": "IMAGE",
2440 "slot_index": 0,
2441 "links": [
2442 3,
2443 37,
2444 72
2445 ]
2446 }
2447 ],
2448 "title": "1",
2449 "properties": {
2450 "Node name for S&R": "ImageCrop",
2451 "cnr_id": "comfy-core",
2452 "ver": "0.3.26"
2453 },
2454 "widgets_values": [
2455 1,
2456 1,
2457 0,
2458 0
2459 ]
2460 },
2461 {
2462 "id": 19,
2463 "type": "ImageBatchMulti",
2464 "pos": [
2465 2880,
2466 230
2467 ],
2468 "size": [
2469 270,
2470 204
2471 ],
2472 "flags": [],
2473 "order": 6,
2474 "mode": 0,
2475 "inputs": [
2476 {
2477 "localized_name": "image_1",
2478 "name": "image_1",
2479 "type": "IMAGE",
2480 "link": 72
2481 },
2482 {
2483 "localized_name": "image_2",
2484 "name": "image_2",
2485 "shape": 7,
2486 "type": "IMAGE",
2487 "link": 73
2488 },
2489 {
2490 "name": "image_3",
2491 "shape": 7,
2492 "type": "IMAGE",
2493 "link": 74
2494 },
2495 {
2496 "name": "image_4",
2497 "shape": 7,
2498 "type": "IMAGE",
2499 "link": 75
2500 }
2501 ],
2502 "outputs": [
2503 {
2504 "localized_name": "images",
2505 "name": "images",
2506 "type": "IMAGE",
2507 "links": [
2508 46
2509 ]
2510 }
2511 ],
2512 "properties": {
2513 "Node name for S&R": "ImageBatchMulti",
2514 "cnr_id": "comfyui-kjnodes",
2515 "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
2516 },
2517 "widgets_values": [
2518 4,
2519 null
2520 ]
2521 },
2522 {
2523 "id": 84,
2524 "type": "ImageCrop",
2525 "pos": [
2526 2430,
2527 220
2528 ],
2529 "size": [
2530 225,
2531 200
2532 ],
2533 "flags": [],
2534 "order": 15,
2535 "mode": 0,
2536 "inputs": [
2537 {
2538 "localized_name": "image",
2539 "name": "image",
2540 "type": "IMAGE",
2541 "link": 30
2542 },
2543 {
2544 "localized_name": "width",
2545 "name": "width",
2546 "type": "INT",
2547 "widget": {
2548 "name": "width"
2549 },
2550 "link": 9
2551 },
2552 {
2553 "localized_name": "height",
2554 "name": "height",
2555 "type": "INT",
2556 "widget": {
2557 "name": "height"
2558 },
2559 "link": 10
2560 },
2561 {
2562 "localized_name": "x",
2563 "name": "x",
2564 "type": "INT",
2565 "widget": {
2566 "name": "x"
2567 },
2568 "link": 11
2569 }
2570 ],
2571 "outputs": [
2572 {
2573 "localized_name": "IMAGE",
2574 "name": "IMAGE",
2575 "type": "IMAGE",
2576 "slot_index": 0,
2577 "links": [
2578 4,
2579 38,
2580 73
2581 ]
2582 }
2583 ],
2584 "title": "2",
2585 "properties": {
2586 "Node name for S&R": "ImageCrop",
2587 "cnr_id": "comfy-core",
2588 "ver": "0.3.26"
2589 },
2590 "widgets_values": [
2591 1,
2592 1,
2593 0,
2594 0
2595 ]
2596 },
2597 {
2598 "id": 85,
2599 "type": "ImageCrop",
2600 "pos": [
2601 2010,
2602 800
2603 ],
2604 "size": [
2605 225,
2606 200
2607 ],
2608 "flags": [],
2609 "order": 16,
2610 "mode": 0,
2611 "inputs": [
2612 {
2613 "localized_name": "image",
2614 "name": "image",
2615 "type": "IMAGE",
2616 "link": 35
2617 },
2618 {
2619 "localized_name": "width",
2620 "name": "width",
2621 "type": "INT",
2622 "widget": {
2623 "name": "width"
2624 },
2625 "link": 12
2626 },
2627 {
2628 "localized_name": "height",
2629 "name": "height",
2630 "type": "INT",
2631 "widget": {
2632 "name": "height"
2633 },
2634 "link": 13
2635 },
2636 {
2637 "localized_name": "x",
2638 "name": "x",
2639 "type": "INT",
2640 "widget": {
2641 "name": "x"
2642 },
2643 "link": 59
2644 },
2645 {
2646 "localized_name": "y",
2647 "name": "y",
2648 "type": "INT",
2649 "widget": {
2650 "name": "y"
2651 },
2652 "link": 34
2653 }
2654 ],
2655 "outputs": [
2656 {
2657 "localized_name": "IMAGE",
2658 "name": "IMAGE",
2659 "type": "IMAGE",
2660 "slot_index": 0,
2661 "links": [
2662 5,
2663 39,
2664 74
2665 ]
2666 }
2667 ],
2668 "title": "3",
2669 "properties": {
2670 "Node name for S&R": "ImageCrop",
2671 "cnr_id": "comfy-core",
2672 "ver": "0.3.26"
2673 },
2674 "widgets_values": [
2675 1,
2676 1,
2677 0,
2678 0
2679 ]
2680 },
2681 {
2682 "id": 11,
2683 "type": "ImageCrop",
2684 "pos": [
2685 2430,
2686 800
2687 ],
2688 "size": [
2689 225,
2690 200
2691 ],
2692 "flags": [],
2693 "order": 3,
2694 "mode": 0,
2695 "inputs": [
2696 {
2697 "localized_name": "image",
2698 "name": "image",
2699 "type": "IMAGE",
2700 "link": 36
2701 },
2702 {
2703 "localized_name": "width",
2704 "name": "width",
2705 "type": "INT",
2706 "widget": {
2707 "name": "width"
2708 },
2709 "link": 15
2710 },
2711 {
2712 "localized_name": "height",
2713 "name": "height",
2714 "type": "INT",
2715 "widget": {
2716 "name": "height"
2717 },
2718 "link": 16
2719 },
2720 {
2721 "localized_name": "x",
2722 "name": "x",
2723 "type": "INT",
2724 "widget": {
2725 "name": "x"
2726 },
2727 "link": 17
2728 },
2729 {
2730 "localized_name": "y",
2731 "name": "y",
2732 "type": "INT",
2733 "widget": {
2734 "name": "y"
2735 },
2736 "link": 33
2737 }
2738 ],
2739 "outputs": [
2740 {
2741 "localized_name": "IMAGE",
2742 "name": "IMAGE",
2743 "type": "IMAGE",
2744 "slot_index": 0,
2745 "links": [
2746 6,
2747 40,
2748 75
2749 ]
2750 }
2751 ],
2752 "title": "4",
2753 "properties": {
2754 "Node name for S&R": "ImageCrop",
2755 "cnr_id": "comfy-core",
2756 "ver": "0.3.26"
2757 },
2758 "widgets_values": [
2759 1,
2760 1,
2761 0,
2762 0
2763 ]
2764 },
2765 {
2766 "id": 86,
2767 "type": "SimpleMath+",
2768 "pos": [
2769 2450,
2770 -10
2771 ],
2772 "size": [
2773 225,
2774 132
2775 ],
2776 "flags": [],
2777 "order": 17,
2778 "mode": 0,
2779 "inputs": [
2780 {
2781 "localized_name": "a",
2782 "name": "a",
2783 "shape": 7,
2784 "type": "INT,FLOAT",
2785 "link": 21
2786 },
2787 {
2788 "localized_name": "b",
2789 "name": "b",
2790 "shape": 7,
2791 "type": "INT,FLOAT",
2792 "link": 22
2793 }
2794 ],
2795 "outputs": [
2796 {
2797 "localized_name": "INT",
2798 "name": "INT",
2799 "type": "INT",
2800 "links": [
2801 11,
2802 17
2803 ]
2804 },
2805 {
2806 "localized_name": "FLOAT",
2807 "name": "FLOAT",
2808 "type": "FLOAT",
2809 "links": null
2810 }
2811 ],
2812 "title": "Col 2 - X val",
2813 "properties": {
2814 "Node name for S&R": "SimpleMath+",
2815 "cnr_id": "comfyui_essentials",
2816 "ver": "1.1.0"
2817 },
2818 "widgets_values": [
2819 "a + (b/2)"
2820 ],
2821 "color": "#223",
2822 "bgcolor": "#335"
2823 },
2824 {
2825 "id": 87,
2826 "type": "SimpleMath+",
2827 "pos": [
2828 1640,
2829 790
2830 ],
2831 "size": [
2832 225,
2833 132
2834 ],
2835 "flags": [],
2836 "order": 18,
2837 "mode": 0,
2838 "inputs": [
2839 {
2840 "localized_name": "a",
2841 "name": "a",
2842 "shape": 7,
2843 "type": "INT,FLOAT",
2844 "link": 19
2845 },
2846 {
2847 "localized_name": "b",
2848 "name": "b",
2849 "shape": 7,
2850 "type": "INT,FLOAT",
2851 "link": 20
2852 }
2853 ],
2854 "outputs": [
2855 {
2856 "localized_name": "INT",
2857 "name": "INT",
2858 "type": "INT",
2859 "links": [
2860 33,
2861 34
2862 ]
2863 },
2864 {
2865 "localized_name": "FLOAT",
2866 "name": "FLOAT",
2867 "type": "FLOAT",
2868 "links": null
2869 }
2870 ],
2871 "title": "Row 2 - Y val",
2872 "properties": {
2873 "Node name for S&R": "SimpleMath+",
2874 "cnr_id": "comfyui_essentials",
2875 "ver": "1.1.0"
2876 },
2877 "widgets_values": [
2878 "a + (b/2)"
2879 ],
2880 "color": "#223",
2881 "bgcolor": "#335"
2882 },
2883 {
2884 "id": 24,
2885 "type": "SimpleMath+",
2886 "pos": [
2887 2000,
2888 -40
2889 ],
2890 "size": [
2891 225,
2892 132
2893 ],
2894 "flags": [],
2895 "order": 11,
2896 "mode": 0,
2897 "inputs": [
2898 {
2899 "localized_name": "a",
2900 "name": "a",
2901 "shape": 7,
2902 "type": "INT,FLOAT",
2903 "link": null
2904 },
2905 {
2906 "localized_name": "b",
2907 "name": "b",
2908 "shape": 7,
2909 "type": "INT,FLOAT",
2910 "link": 57
2911 }
2912 ],
2913 "outputs": [
2914 {
2915 "localized_name": "INT",
2916 "name": "INT",
2917 "type": "INT",
2918 "links": [
2919 58,
2920 59,
2921 60
2922 ]
2923 },
2924 {
2925 "localized_name": "FLOAT",
2926 "name": "FLOAT",
2927 "type": "FLOAT",
2928 "links": null
2929 }
2930 ],
2931 "title": "Col 1 - X val",
2932 "properties": {
2933 "Node name for S&R": "SimpleMath+",
2934 "cnr_id": "comfyui_essentials",
2935 "ver": "1.1.0"
2936 },
2937 "widgets_values": [
2938 "b/2"
2939 ],
2940 "color": "#223",
2941 "bgcolor": "#335"
2942 },
2943 {
2944 "id": 88,
2945 "type": "SimpleMath+",
2946 "pos": [
2947 1290,
2948 230
2949 ],
2950 "size": [
2951 270,
2952 132
2953 ],
2954 "flags": [],
2955 "order": 19,
2956 "mode": 0,
2957 "inputs": [
2958 {
2959 "localized_name": "a",
2960 "name": "a",
2961 "shape": 7,
2962 "type": "INT,FLOAT",
2963 "link": 28
2964 },
2965 {
2966 "localized_name": "b",
2967 "name": "b",
2968 "shape": 7,
2969 "type": "INT,FLOAT",
2970 "link": null
2971 }
2972 ],
2973 "outputs": [
2974 {
2975 "localized_name": "INT",
2976 "name": "INT",
2977 "type": "INT",
2978 "links": [
2979 20,
2980 22,
2981 24,
2982 26,
2983 57
2984 ]
2985 },
2986 {
2987 "localized_name": "FLOAT",
2988 "name": "FLOAT",
2989 "type": "FLOAT",
2990 "links": null
2991 }
2992 ],
2993 "title": "Crop Inset Grid Images Value",
2994 "properties": {
2995 "Node name for S&R": "SimpleMath+",
2996 "cnr_id": "comfyui_essentials",
2997 "ver": "1.1.0"
2998 },
2999 "widgets_values": [
3000 "a"
3001 ]
3002 }
3003 ],
3004 "groups": [],
3005 "links": [
3006 {
3007 "id": 3,
3008 "origin_id": 8,
3009 "origin_slot": 0,
3010 "target_id": 81,
3011 "target_slot": 0,
3012 "type": "IMAGE"
3013 },
3014 {
3015 "id": 4,
3016 "origin_id": 84,
3017 "origin_slot": 0,
3018 "target_id": 82,
3019 "target_slot": 0,
3020 "type": "IMAGE"
3021 },
3022 {
3023 "id": 6,
3024 "origin_id": 11,
3025 "origin_slot": 0,
3026 "target_id": 7,
3027 "target_slot": 0,
3028 "type": "IMAGE"
3029 },
3030 {
3031 "id": 7,
3032 "origin_id": 83,
3033 "origin_slot": 0,
3034 "target_id": 8,
3035 "target_slot": 1,
3036 "type": "INT"
3037 },
3038 {
3039 "id": 8,
3040 "origin_id": 16,
3041 "origin_slot": 0,
3042 "target_id": 8,
3043 "target_slot": 2,
3044 "type": "INT"
3045 },
3046 {
3047 "id": 9,
3048 "origin_id": 83,
3049 "origin_slot": 0,
3050 "target_id": 84,
3051 "target_slot": 1,
3052 "type": "INT"
3053 },
3054 {
3055 "id": 10,
3056 "origin_id": 16,
3057 "origin_slot": 0,
3058 "target_id": 84,
3059 "target_slot": 2,
3060 "type": "INT"
3061 },
3062 {
3063 "id": 11,
3064 "origin_id": 86,
3065 "origin_slot": 0,
3066 "target_id": 84,
3067 "target_slot": 3,
3068 "type": "INT"
3069 },
3070 {
3071 "id": 15,
3072 "origin_id": 83,
3073 "origin_slot": 0,
3074 "target_id": 11,
3075 "target_slot": 1,
3076 "type": "INT"
3077 },
3078 {
3079 "id": 16,
3080 "origin_id": 16,
3081 "origin_slot": 0,
3082 "target_id": 11,
3083 "target_slot": 2,
3084 "type": "INT"
3085 },
3086 {
3087 "id": 17,
3088 "origin_id": 86,
3089 "origin_slot": 0,
3090 "target_id": 11,
3091 "target_slot": 3,
3092 "type": "INT"
3093 },
3094 {
3095 "id": 33,
3096 "origin_id": 87,
3097 "origin_slot": 0,
3098 "target_id": 11,
3099 "target_slot": 4,
3100 "type": "INT"
3101 },
3102 {
3103 "id": 25,
3104 "origin_id": 17,
3105 "origin_slot": 1,
3106 "target_id": 16,
3107 "target_slot": 0,
3108 "type": "INT,FLOAT"
3109 },
3110 {
3111 "id": 26,
3112 "origin_id": 88,
3113 "origin_slot": 0,
3114 "target_id": 16,
3115 "target_slot": 1,
3116 "type": "INT,FLOAT"
3117 },
3118 {
3119 "id": 12,
3120 "origin_id": 83,
3121 "origin_slot": 0,
3122 "target_id": 85,
3123 "target_slot": 1,
3124 "type": "INT"
3125 },
3126 {
3127 "id": 13,
3128 "origin_id": 16,
3129 "origin_slot": 0,
3130 "target_id": 85,
3131 "target_slot": 2,
3132 "type": "INT"
3133 },
3134 {
3135 "id": 34,
3136 "origin_id": 87,
3137 "origin_slot": 0,
3138 "target_id": 85,
3139 "target_slot": 4,
3140 "type": "INT"
3141 },
3142 {
3143 "id": 21,
3144 "origin_id": 83,
3145 "origin_slot": 0,
3146 "target_id": 86,
3147 "target_slot": 0,
3148 "type": "INT,FLOAT"
3149 },
3150 {
3151 "id": 22,
3152 "origin_id": 88,
3153 "origin_slot": 0,
3154 "target_id": 86,
3155 "target_slot": 1,
3156 "type": "INT,FLOAT"
3157 },
3158 {
3159 "id": 19,
3160 "origin_id": 16,
3161 "origin_slot": 0,
3162 "target_id": 87,
3163 "target_slot": 0,
3164 "type": "INT,FLOAT"
3165 },
3166 {
3167 "id": 20,
3168 "origin_id": 88,
3169 "origin_slot": 0,
3170 "target_id": 87,
3171 "target_slot": 1,
3172 "type": "INT,FLOAT"
3173 },
3174 {
3175 "id": 23,
3176 "origin_id": 17,
3177 "origin_slot": 0,
3178 "target_id": 83,
3179 "target_slot": 0,
3180 "type": "INT,FLOAT"
3181 },
3182 {
3183 "id": 24,
3184 "origin_id": 88,
3185 "origin_slot": 0,
3186 "target_id": 83,
3187 "target_slot": 1,
3188 "type": "INT,FLOAT"
3189 },
3190 {
3191 "id": 5,
3192 "origin_id": 85,
3193 "origin_slot": 0,
3194 "target_id": 6,
3195 "target_slot": 0,
3196 "type": "IMAGE"
3197 },
3198 {
3199 "id": 29,
3200 "origin_id": -10,
3201 "origin_slot": 0,
3202 "target_id": 8,
3203 "target_slot": 0,
3204 "type": "IMAGE"
3205 },
3206 {
3207 "id": 30,
3208 "origin_id": -10,
3209 "origin_slot": 0,
3210 "target_id": 84,
3211 "target_slot": 0,
3212 "type": "IMAGE"
3213 },
3214 {
3215 "id": 36,
3216 "origin_id": -10,
3217 "origin_slot": 0,
3218 "target_id": 11,
3219 "target_slot": 0,
3220 "type": "IMAGE"
3221 },
3222 {
3223 "id": 35,
3224 "origin_id": -10,
3225 "origin_slot": 0,
3226 "target_id": 85,
3227 "target_slot": 0,
3228 "type": "IMAGE"
3229 },
3230 {
3231 "id": 27,
3232 "origin_id": -10,
3233 "origin_slot": 0,
3234 "target_id": 17,
3235 "target_slot": 0,
3236 "type": "IMAGE"
3237 },
3238 {
3239 "id": 28,
3240 "origin_id": -10,
3241 "origin_slot": 1,
3242 "target_id": 88,
3243 "target_slot": 0,
3244 "type": "INT,FLOAT"
3245 },
3246 {
3247 "id": 37,
3248 "origin_id": 8,
3249 "origin_slot": 0,
3250 "target_id": -20,
3251 "target_slot": 0,
3252 "type": "IMAGE"
3253 },
3254 {
3255 "id": 38,
3256 "origin_id": 84,
3257 "origin_slot": 0,
3258 "target_id": -20,
3259 "target_slot": 1,
3260 "type": "IMAGE"
3261 },
3262 {
3263 "id": 39,
3264 "origin_id": 85,
3265 "origin_slot": 0,
3266 "target_id": -20,
3267 "target_slot": 2,
3268 "type": "IMAGE"
3269 },
3270 {
3271 "id": 40,
3272 "origin_id": 11,
3273 "origin_slot": 0,
3274 "target_id": -20,
3275 "target_slot": 3,
3276 "type": "IMAGE"
3277 },
3278 {
3279 "id": 46,
3280 "origin_id": 19,
3281 "origin_slot": 0,
3282 "target_id": 20,
3283 "target_slot": 0,
3284 "type": "IMAGE"
3285 },
3286 {
3287 "id": 49,
3288 "origin_id": 20,
3289 "origin_slot": 0,
3290 "target_id": -20,
3291 "target_slot": 4,
3292 "type": "IMAGE"
3293 },
3294 {
3295 "id": 50,
3296 "origin_id": 20,
3297 "origin_slot": 0,
3298 "target_id": 21,
3299 "target_slot": 0,
3300 "type": "IMAGE"
3301 },
3302 {
3303 "id": 51,
3304 "origin_id": 17,
3305 "origin_slot": 1,
3306 "target_id": 22,
3307 "target_slot": 0,
3308 "type": "INT,FLOAT"
3309 },
3310 {
3311 "id": 53,
3312 "origin_id": 17,
3313 "origin_slot": 0,
3314 "target_id": 23,
3315 "target_slot": 0,
3316 "type": "INT,FLOAT"
3317 },
3318 {
3319 "id": 55,
3320 "origin_id": 22,
3321 "origin_slot": 0,
3322 "target_id": 20,
3323 "target_slot": 3,
3324 "type": "INT"
3325 },
3326 {
3327 "id": 56,
3328 "origin_id": 23,
3329 "origin_slot": 0,
3330 "target_id": 20,
3331 "target_slot": 2,
3332 "type": "INT"
3333 },
3334 {
3335 "id": 57,
3336 "origin_id": 88,
3337 "origin_slot": 0,
3338 "target_id": 24,
3339 "target_slot": 1,
3340 "type": "INT,FLOAT"
3341 },
3342 {
3343 "id": 58,
3344 "origin_id": 24,
3345 "origin_slot": 0,
3346 "target_id": 8,
3347 "target_slot": 3,
3348 "type": "INT"
3349 },
3350 {
3351 "id": 59,
3352 "origin_id": 24,
3353 "origin_slot": 0,
3354 "target_id": 85,
3355 "target_slot": 3,
3356 "type": "INT"
3357 },
3358 {
3359 "id": 60,
3360 "origin_id": 24,
3361 "origin_slot": 0,
3362 "target_id": 8,
3363 "target_slot": 4,
3364 "type": "INT"
3365 },
3366 {
3367 "id": 72,
3368 "origin_id": 8,
3369 "origin_slot": 0,
3370 "target_id": 19,
3371 "target_slot": 0,
3372 "type": "IMAGE"
3373 },
3374 {
3375 "id": 73,
3376 "origin_id": 84,
3377 "origin_slot": 0,
3378 "target_id": 19,
3379 "target_slot": 1,
3380 "type": "IMAGE"
3381 },
3382 {
3383 "id": 74,
3384 "origin_id": 85,
3385 "origin_slot": 0,
3386 "target_id": 19,
3387 "target_slot": 2,
3388 "type": "IMAGE"
3389 },
3390 {
3391 "id": 75,
3392 "origin_id": 11,
3393 "origin_slot": 0,
3394 "target_id": 19,
3395 "target_slot": 3,
3396 "type": "IMAGE"
3397 }
3398 ],
3399 "extra": {
3400 "workflowRendererVersion": "LG"
3401 }
3402 },
3403 {
3404 "id": "7a951a01-c7c7-4f0b-83d2-c2781ad6175b",
3405 "version": 1,
3406 "state": {
3407 "lastGroupId": 0,
3408 "lastNodeId": 100,
3409 "lastLinkId": 133,
3410 "lastRerouteId": 0
3411 },
3412 "revision": 0,
3413 "config": [],
3414 "name": "Batch Images",
3415 "inputNode": {
3416 "id": -10,
3417 "bounding": [
3418 660,
3419 300,
3420 136.224609375,
3421 88
3422 ]
3423 },
3424 "outputNode": {
3425 "id": -20,
3426 "bounding": [
3427 1351.4088092363284,
3428 297.6179266898436,
3429 128,
3430 68
3431 ]
3432 },
3433 "inputs": [
3434 {
3435 "id": "bc8c15e3-969a-4321-9518-84a5cdf64836",
3436 "name": "image",
3437 "type": "IMAGE",
3438 "linkIds": [
3439 10,
3440 131
3441 ],
3442 "localized_name": "image",
3443 "label": "image_selected",
3444 "pos": [
3445 772.224609375,
3446 324
3447 ]
3448 },
3449 {
3450 "id": "6288f9fa-a2ef-4285-a1b3-a35c52d4087f",
3451 "name": "image_1",
3452 "type": "IMAGE",
3453 "linkIds": [
3454 11
3455 ],
3456 "localized_name": "image_1",
3457 "label": "image_product",
3458 "pos": [
3459 772.224609375,
3460 344
3461 ]
3462 }
3463 ],
3464 "outputs": [
3465 {
3466 "id": "7f588e1c-0a55-4023-930f-ec99d2f311df",
3467 "name": "IMAGE",
3468 "type": "IMAGE",
3469 "linkIds": [
3470 133
3471 ],
3472 "localized_name": "IMAGE",
3473 "pos": [
3474 1375.4088092363284,
3475 321.6179266898436
3476 ]
3477 }
3478 ],
3479 "widgets": [],
3480 "nodes": [
3481 {
3482 "id": 89,
3483 "type": "GetImageSize",
3484 "pos": [
3485 770,
3486 510
3487 ],
3488 "size": [
3489 225,
3490 120
3491 ],
3492 "flags": {
3493 "collapsed": false
3494 },
3495 "order": 0,
3496 "mode": 0,
3497 "inputs": [
3498 {
3499 "localized_name": "image",
3500 "name": "image",
3501 "type": "IMAGE",
3502 "link": 10
3503 }
3504 ],
3505 "outputs": [
3506 {
3507 "localized_name": "width",
3508 "name": "width",
3509 "type": "INT",
3510 "links": [
3511 12
3512 ]
3513 },
3514 {
3515 "localized_name": "height",
3516 "name": "height",
3517 "type": "INT",
3518 "links": [
3519 13
3520 ]
3521 },
3522 {
3523 "localized_name": "batch_size",
3524 "name": "batch_size",
3525 "type": "INT",
3526 "links": null
3527 }
3528 ],
3529 "properties": {
3530 "Node name for S&R": "GetImageSize",
3531 "cnr_id": "comfy-core",
3532 "ver": "0.3.76"
3533 },
3534 "widgets_values": []
3535 },
3536 {
3537 "id": 90,
3538 "type": "ResizeAndPadImage",
3539 "pos": [
3540 1100,
3541 480
3542 ],
3543 "size": [
3544 225,
3545 164
3546 ],
3547 "flags": {
3548 "collapsed": false
3549 },
3550 "order": 1,
3551 "mode": 0,
3552 "inputs": [
3553 {
3554 "localized_name": "image",
3555 "name": "image",
3556 "type": "IMAGE",
3557 "link": 11
3558 },
3559 {
3560 "localized_name": "target_width",
3561 "name": "target_width",
3562 "type": "INT",
3563 "widget": {
3564 "name": "target_width"
3565 },
3566 "link": 12
3567 },
3568 {
3569 "localized_name": "target_height",
3570 "name": "target_height",
3571 "type": "INT",
3572 "widget": {
3573 "name": "target_height"
3574 },
3575 "link": 13
3576 }
3577 ],
3578 "outputs": [
3579 {
3580 "localized_name": "IMAGE",
3581 "name": "IMAGE",
3582 "type": "IMAGE",
3583 "links": [
3584 132
3585 ]
3586 }
3587 ],
3588 "properties": {
3589 "Node name for S&R": "ResizeAndPadImage",
3590 "cnr_id": "comfy-core",
3591 "ver": "0.3.76"
3592 },
3593 "widgets_values": [
3594 512,
3595 512,
3596 "white",
3597 "area"
3598 ]
3599 },
3600 {
3601 "id": 100,
3602 "type": "BatchImagesNode",
3603 "pos": [
3604 1095.9430862974864,
3605 286.4882271318643
3606 ],
3607 "size": [
3608 225,
3609 120
3610 ],
3611 "flags": [],
3612 "order": 2,
3613 "mode": 0,
3614 "inputs": [
3615 {
3616 "label": "image0",
3617 "localized_name": "images.image0",
3618 "name": "images.image0",
3619 "type": "IMAGE",
3620 "link": 131
3621 },
3622 {
3623 "label": "image1",
3624 "localized_name": "images.image1",
3625 "name": "images.image1",
3626 "shape": 7,
3627 "type": "IMAGE",
3628 "link": 132
3629 },
3630 {
3631 "label": "image2",
3632 "localized_name": "images.image2",
3633 "name": "images.image2",
3634 "shape": 7,
3635 "type": "IMAGE",
3636 "link": null
3637 }
3638 ],
3639 "outputs": [
3640 {
3641 "localized_name": "IMAGE",
3642 "name": "IMAGE",
3643 "type": "IMAGE",
3644 "links": [
3645 133
3646 ]
3647 }
3648 ],
3649 "properties": {
3650 "Node name for S&R": "BatchImagesNode"
3651 },
3652 "widgets_values": []
3653 }
3654 ],
3655 "groups": [],
3656 "links": [
3657 {
3658 "id": 12,
3659 "origin_id": 89,
3660 "origin_slot": 0,
3661 "target_id": 90,
3662 "target_slot": 1,
3663 "type": "INT"
3664 },
3665 {
3666 "id": 13,
3667 "origin_id": 89,
3668 "origin_slot": 1,
3669 "target_id": 90,
3670 "target_slot": 2,
3671 "type": "INT"
3672 },
3673 {
3674 "id": 10,
3675 "origin_id": -10,
3676 "origin_slot": 0,
3677 "target_id": 89,
3678 "target_slot": 0,
3679 "type": "IMAGE"
3680 },
3681 {
3682 "id": 11,
3683 "origin_id": -10,
3684 "origin_slot": 1,
3685 "target_id": 90,
3686 "target_slot": 0,
3687 "type": "IMAGE"
3688 },
3689 {
3690 "id": 131,
3691 "origin_id": -10,
3692 "origin_slot": 0,
3693 "target_id": 100,
3694 "target_slot": 0,
3695 "type": "IMAGE"
3696 },
3697 {
3698 "id": 132,
3699 "origin_id": 90,
3700 "origin_slot": 0,
3701 "target_id": 100,
3702 "target_slot": 1,
3703 "type": "IMAGE"
3704 },
3705 {
3706 "id": 133,
3707 "origin_id": 100,
3708 "origin_slot": 0,
3709 "target_id": -20,
3710 "target_slot": 0,
3711 "type": "IMAGE"
3712 }
3713 ],
3714 "extra": {
3715 "workflowRendererVersion": "LG"
3716 }
3717 },
3718 {
3719 "id": "38467b91-f6e9-4f17-a18a-44e81ac5de93",
3720 "version": 1,
3721 "state": {
3722 "lastGroupId": 0,
3723 "lastNodeId": 100,
3724 "lastLinkId": 133,
3725 "lastRerouteId": 0
3726 },
3727 "revision": 0,
3728 "config": [],
3729 "name": "Select Image Number #",
3730 "inputNode": {
3731 "id": -10,
3732 "bounding": [
3733 5600,
3734 -419,
3735 120,
3736 60
3737 ]
3738 },
3739 "outputNode": {
3740 "id": -20,
3741 "bounding": [
3742 6090,
3743 -419,
3744 120,
3745 60
3746 ]
3747 },
3748 "inputs": [
3749 {
3750 "id": "5803ab09-9b03-424f-bf3d-ea74ffb514ca",
3751 "name": "image",
3752 "type": "IMAGE",
3753 "linkIds": [
3754 102
3755 ],
3756 "localized_name": "image",
3757 "pos": [
3758 55,
3759 20
3760 ]
3761 }
3762 ],
3763 "outputs": [
3764 {
3765 "id": "661b98da-dcb7-4095-b76d-5ad89d10653f",
3766 "name": "IMAGE",
3767 "type": "IMAGE",
3768 "linkIds": [
3769 103
3770 ],
3771 "localized_name": "IMAGE",
3772 "pos": [
3773 20,
3774 20
3775 ]
3776 }
3777 ],
3778 "widgets": [],
3779 "nodes": [
3780 {
3781 "id": 73,
3782 "type": "SimpleMath+",
3783 "pos": [
3784 5820,
3785 -410
3786 ],
3787 "size": [
3788 210,
3789 80
3790 ],
3791 "flags": {
3792 "collapsed": false
3793 },
3794 "order": 1,
3795 "mode": 0,
3796 "inputs": [
3797 {
3798 "localized_name": "a",
3799 "name": "a",
3800 "shape": 7,
3801 "type": "INT,FLOAT",
3802 "link": 101
3803 },
3804 {
3805 "localized_name": "b",
3806 "name": "b",
3807 "shape": 7,
3808 "type": "INT,FLOAT",
3809 "link": null
3810 }
3811 ],
3812 "outputs": [
3813 {
3814 "localized_name": "INT",
3815 "name": "INT",
3816 "type": "INT",
3817 "links": [
3818 100
3819 ]
3820 },
3821 {
3822 "localized_name": "FLOAT",
3823 "name": "FLOAT",
3824 "type": "FLOAT",
3825 "links": null
3826 }
3827 ],
3828 "title": "Image # as index",
3829 "properties": {
3830 "Node name for S&R": "SimpleMath+",
3831 "cnr_id": "comfyui_essentials",
3832 "ver": "1.1.0"
3833 },
3834 "widgets_values": [
3835 "a - 1"
3836 ]
3837 },
3838 {
3839 "id": 74,
3840 "type": "ImageFromBatch",
3841 "pos": [
3842 5820,
3843 -290
3844 ],
3845 "size": [
3846 210,
3847 90
3848 ],
3849 "flags": {
3850 "collapsed": false
3851 },
3852 "order": 2,
3853 "mode": 0,
3854 "inputs": [
3855 {
3856 "localized_name": "image",
3857 "name": "image",
3858 "type": "IMAGE",
3859 "link": 102
3860 },
3861 {
3862 "localized_name": "batch_index",
3863 "name": "batch_index",
3864 "type": "INT",
3865 "widget": {
3866 "name": "batch_index"
3867 },
3868 "link": 100
3869 }
3870 ],
3871 "outputs": [
3872 {
3873 "localized_name": "IMAGE",
3874 "name": "IMAGE",
3875 "type": "IMAGE",
3876 "links": [
3877 103
3878 ]
3879 }
3880 ],
3881 "properties": {
3882 "Node name for S&R": "ImageFromBatch",
3883 "cnr_id": "comfy-core",
3884 "ver": "0.3.76"
3885 },
3886 "widgets_values": [
3887 0,
3888 1
3889 ]
3890 },
3891 {
3892 "id": 69,
3893 "type": "PrimitiveInt",
3894 "pos": [
3895 5780,
3896 -540
3897 ],
3898 "size": [
3899 250,
3900 90
3901 ],
3902 "flags": {
3903 "collapsed": false
3904 },
3905 "order": 0,
3906 "mode": 0,
3907 "inputs": [],
3908 "outputs": [
3909 {
3910 "localized_name": "INT",
3911 "name": "INT",
3912 "type": "INT",
3913 "links": [
3914 101
3915 ]
3916 }
3917 ],
3918 "title": "Select Image Number",
3919 "properties": {
3920 "Node name for S&R": "PrimitiveInt",
3921 "cnr_id": "comfy-core",
3922 "ver": "0.3.76"
3923 },
3924 "widgets_values": [
3925 1,
3926 "fixed"
3927 ],
3928 "color": "#232",
3929 "bgcolor": "#353"
3930 }
3931 ],
3932 "groups": [],
3933 "links": [
3934 {
3935 "id": 101,
3936 "origin_id": 69,
3937 "origin_slot": 0,
3938 "target_id": 73,
3939 "target_slot": 0,
3940 "type": "INT"
3941 },
3942 {
3943 "id": 100,
3944 "origin_id": 73,
3945 "origin_slot": 0,
3946 "target_id": 74,
3947 "target_slot": 1,
3948 "type": "INT"
3949 },
3950 {
3951 "id": 102,
3952 "origin_id": -10,
3953 "origin_slot": 0,
3954 "target_id": 74,
3955 "target_slot": 0,
3956 "type": "IMAGE"
3957 },
3958 {
3959 "id": 103,
3960 "origin_id": 74,
3961 "origin_slot": 0,
3962 "target_id": -20,
3963 "target_slot": 0,
3964 "type": "IMAGE"
3965 }
3966 ],
3967 "extra": {
3968 "workflowRendererVersion": "LG"
3969 }
3970 }
3971 ]
3972 },
3973 "config": [],
3974 "extra": {
3975 "ds": {
3976 "scale": 0.21315789473684266,
3977 "offset": [
3978 1606.855082815368,
3979 2233.2539438784306
3980 ]
3981 },
3982 "frontendVersion": "1.45.15",
3983 "workflowRendererVersion": "LG",
3984 "VHS_latentpreview": false,
3985 "VHS_latentpreviewrate": 0,
3986 "VHS_MetadataImage": true,
3987 "VHS_KeepIntermediate": true
3988 },
3989 "version": 0.4
3990}