ComfyPilotComfyPilot
工作流 / 角色与时尚 / 角色+服饰 (OOTD) 平铺到棚拍
角色+服饰 (OOTD) 平铺到棚拍

角色+服饰 (OOTD) 平铺到棚拍

Character + Clothing (OOTD) Flat Lay to Studio Photoshoot

上传一张角色图片和一张服装平铺图片。生成4张角色穿着该服装的时尚编辑照片。选择要放大并添加详情的那张图片。

角色与时尚 27 个节点 2 个输入 64 次使用 ComfyUI ≥ 0.15.0 hellorob 65 KB

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

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

节点构成

Reroute × 7
SaveImage × 6
LoadImage × 2
ImageBatch × 2
GeminiImage2Node × 2
GetImageSize × 1
ResizeAndPadImage × 1
Note × 1
PreviewImage × 1
PrimitiveInt × 1
438291c7-4d80-4015-bd42-f21a45b4a67b × 1
PrimitiveStringMultiline × 1
ImageFromBatch × 1

官方标注的模型

Google Gemini ImageNano Banana ProGoogleGemini3 Pro Image Preview

工作流 JSON

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

1{
2 "id": "d1d51388-600c-48c7-aa25-4cdbf3514476",
3 "revision": 0,
4 "last_node_id": 41,
5 "last_link_id": 51,
6 "nodes": [
7 {
8 "id": 13,
9 "type": "SaveImage",
10 "pos": [
11 2150,
12 60
13 ],
14 "size": [
15 530,
16 410
17 ],
18 "flags": {
19 "collapsed": false
20 },
21 "order": 19,
22 "mode": 0,
23 "inputs": [
24 {
25 "name": "images",
26 "type": "IMAGE",
27 "link": 30
28 }
29 ],
30 "outputs": [],
31 "properties": {
32 "cnr_id": "comfy-core",
33 "ver": "0.3.76",
34 "Node name for S&R": "SaveImage"
35 },
36 "widgets_values": [
37 "ComfyUI-image_2"
38 ]
39 },
40 {
41 "id": 15,
42 "type": "SaveImage",
43 "pos": [
44 2150,
45 540
46 ],
47 "size": [
48 523.9950110631057,
49 406.7070655219094
50 ],
51 "flags": [],
52 "order": 21,
53 "mode": 0,
54 "inputs": [
55 {
56 "name": "images",
57 "type": "IMAGE",
58 "link": 34
59 }
60 ],
61 "outputs": [],
62 "properties": {
63 "cnr_id": "comfy-core",
64 "ver": "0.3.76",
65 "Node name for S&R": "SaveImage"
66 },
67 "widgets_values": [
68 "ComfyUI-image_4"
69 ]
70 },
71 {
72 "id": 28,
73 "type": "Reroute",
74 "pos": [
75 1490,
76 -100
77 ],
78 "size": [
79 75,
80 26
81 ],
82 "flags": [],
83 "order": 13,
84 "mode": 0,
85 "inputs": [
86 {
87 "name": "",
88 "type": "*",
89 "link": 27
90 }
91 ],
92 "outputs": [
93 {
94 "name": "",
95 "type": "IMAGE",
96 "links": [
97 28
98 ]
99 }
100 ],
101 "properties": {
102 "showOutputText": false,
103 "horizontal": false
104 }
105 },
106 {
107 "id": 29,
108 "type": "Reroute",
109 "pos": [
110 2040,
111 -80
112 ],
113 "size": [
114 75,
115 26
116 ],
117 "flags": [],
118 "order": 14,
119 "mode": 0,
120 "inputs": [
121 {
122 "name": "",
123 "type": "*",
124 "link": 29
125 }
126 ],
127 "outputs": [
128 {
129 "name": "",
130 "type": "IMAGE",
131 "links": [
132 30
133 ]
134 }
135 ],
136 "properties": {
137 "showOutputText": false,
138 "horizontal": false
139 }
140 },
141 {
142 "id": 30,
143 "type": "Reroute",
144 "pos": [
145 1490,
146 -60
147 ],
148 "size": [
149 75,
150 26
151 ],
152 "flags": [],
153 "order": 15,
154 "mode": 0,
155 "inputs": [
156 {
157 "name": "",
158 "type": "*",
159 "link": 31
160 }
161 ],
162 "outputs": [
163 {
164 "name": "",
165 "type": "IMAGE",
166 "links": [
167 32
168 ]
169 }
170 ],
171 "properties": {
172 "showOutputText": false,
173 "horizontal": false
174 }
175 },
176 {
177 "id": 31,
178 "type": "Reroute",
179 "pos": [
180 2040,
181 -40
182 ],
183 "size": [
184 75,
185 26
186 ],
187 "flags": [],
188 "order": 16,
189 "mode": 0,
190 "inputs": [
191 {
192 "name": "",
193 "type": "*",
194 "link": 33
195 }
196 ],
197 "outputs": [
198 {
199 "name": "",
200 "type": "IMAGE",
201 "links": [
202 34
203 ]
204 }
205 ],
206 "properties": {
207 "showOutputText": false,
208 "horizontal": false
209 }
210 },
211 {
212 "id": 32,
213 "type": "Reroute",
214 "pos": [
215 2600,
216 -20
217 ],
218 "size": [
219 75,
220 26
221 ],
222 "flags": [],
223 "order": 17,
224 "mode": 0,
225 "inputs": [
226 {
227 "name": "",
228 "type": "*",
229 "link": 35
230 }
231 ],
232 "outputs": [
233 {
234 "name": "",
235 "type": "IMAGE",
236 "links": [
237 36
238 ]
239 }
240 ],
241 "properties": {
242 "showOutputText": false,
243 "horizontal": false
244 }
245 },
246 {
247 "id": 34,
248 "type": "Reroute",
249 "pos": [
250 2600,
251 -180
252 ],
253 "size": [
254 75,
255 26
256 ],
257 "flags": [],
258 "order": 12,
259 "mode": 0,
260 "inputs": [
261 {
262 "name": "",
263 "type": "*",
264 "link": 38
265 }
266 ],
267 "outputs": [
268 {
269 "name": "",
270 "type": "IMAGE",
271 "links": [
272 39
273 ]
274 }
275 ],
276 "properties": {
277 "showOutputText": false,
278 "horizontal": false
279 }
280 },
281 {
282 "id": 1,
283 "type": "LoadImage",
284 "pos": [
285 -640,
286 60
287 ],
288 "size": [
289 430,
290 610
291 ],
292 "flags": [],
293 "order": 0,
294 "mode": 0,
295 "inputs": [],
296 "outputs": [
297 {
298 "name": "IMAGE",
299 "type": "IMAGE",
300 "links": [
301 40,
302 41
303 ]
304 },
305 {
306 "name": "MASK",
307 "type": "MASK",
308 "links": null
309 }
310 ],
311 "title": "Load Subject Image",
312 "properties": {
313 "cnr_id": "comfy-core",
314 "ver": "0.3.76",
315 "Node name for S&R": "LoadImage"
316 },
317 "widgets_values": [
318 "subject.png",
319 "image"
320 ],
321 "color": "#232",
322 "bgcolor": "#353"
323 },
324 {
325 "id": 35,
326 "type": "LoadImage",
327 "pos": [
328 -640,
329 720
330 ],
331 "size": [
332 430,
333 610
334 ],
335 "flags": [],
336 "order": 1,
337 "mode": 0,
338 "inputs": [],
339 "outputs": [
340 {
341 "name": "IMAGE",
342 "type": "IMAGE",
343 "links": [
344 44
345 ]
346 },
347 {
348 "name": "MASK",
349 "type": "MASK",
350 "links": null
351 }
352 ],
353 "title": "Load Outfit Image",
354 "properties": {
355 "cnr_id": "comfy-core",
356 "ver": "0.3.76",
357 "Node name for S&R": "LoadImage"
358 },
359 "widgets_values": [
360 "outfit.png",
361 "image"
362 ],
363 "color": "#232",
364 "bgcolor": "#353"
365 },
366 {
367 "id": 38,
368 "type": "GetImageSize",
369 "pos": [
370 190,
371 110
372 ],
373 "size": [
374 160,
375 66
376 ],
377 "flags": {
378 "collapsed": true
379 },
380 "order": 5,
381 "mode": 0,
382 "inputs": [
383 {
384 "name": "image",
385 "type": "IMAGE",
386 "link": 41
387 }
388 ],
389 "outputs": [
390 {
391 "name": "width",
392 "type": "INT",
393 "links": [
394 42
395 ]
396 },
397 {
398 "name": "height",
399 "type": "INT",
400 "links": [
401 43
402 ]
403 },
404 {
405 "name": "batch_size",
406 "type": "INT",
407 "links": null
408 }
409 ],
410 "properties": {
411 "cnr_id": "comfy-core",
412 "ver": "0.3.76",
413 "Node name for S&R": "GetImageSize"
414 },
415 "widgets_values": []
416 },
417 {
418 "id": 37,
419 "type": "ResizeAndPadImage",
420 "pos": [
421 190,
422 160
423 ],
424 "size": [
425 210,
426 130
427 ],
428 "flags": {
429 "collapsed": true
430 },
431 "order": 6,
432 "mode": 0,
433 "inputs": [
434 {
435 "name": "image",
436 "type": "IMAGE",
437 "link": 44
438 },
439 {
440 "name": "target_width",
441 "type": "INT",
442 "widget": {
443 "name": "target_width"
444 },
445 "link": 42
446 },
447 {
448 "name": "target_height",
449 "type": "INT",
450 "widget": {
451 "name": "target_height"
452 },
453 "link": 43
454 }
455 ],
456 "outputs": [
457 {
458 "name": "IMAGE",
459 "type": "IMAGE",
460 "links": [
461 45
462 ]
463 }
464 ],
465 "properties": {
466 "cnr_id": "comfy-core",
467 "ver": "0.3.76",
468 "Node name for S&R": "ResizeAndPadImage"
469 },
470 "widgets_values": [
471 512,
472 512,
473 "white",
474 "area"
475 ]
476 },
477 {
478 "id": 12,
479 "type": "SaveImage",
480 "pos": [
481 1590,
482 60
483 ],
484 "size": [
485 525.2872545862597,
486 407.68430538233827
487 ],
488 "flags": [],
489 "order": 18,
490 "mode": 0,
491 "inputs": [
492 {
493 "name": "images",
494 "type": "IMAGE",
495 "link": 28
496 }
497 ],
498 "outputs": [],
499 "properties": {
500 "cnr_id": "comfy-core",
501 "ver": "0.3.76",
502 "Node name for S&R": "SaveImage"
503 },
504 "widgets_values": [
505 "ComfyUI-image_1"
506 ]
507 },
508 {
509 "id": 21,
510 "type": "Note",
511 "pos": [
512 2740,
513 -90
514 ],
515 "size": [
516 230,
517 88
518 ],
519 "flags": [],
520 "order": 2,
521 "mode": 0,
522 "inputs": [],
523 "outputs": [],
524 "properties": [],
525 "widgets_values": [
526 "Change batch_index to select which image you want to outpaint.\n\n(first image is index 0)"
527 ],
528 "color": "#222",
529 "bgcolor": "#000"
530 },
531 {
532 "id": 33,
533 "type": "Reroute",
534 "pos": [
535 440,
536 -180
537 ],
538 "size": [
539 75,
540 26
541 ],
542 "flags": [],
543 "order": 9,
544 "mode": 0,
545 "inputs": [
546 {
547 "name": "",
548 "type": "*",
549 "link": 50
550 }
551 ],
552 "outputs": [
553 {
554 "name": "",
555 "type": "IMAGE",
556 "links": [
557 38
558 ]
559 }
560 ],
561 "properties": {
562 "showOutputText": false,
563 "horizontal": false
564 }
565 },
566 {
567 "id": 36,
568 "type": "ImageBatch",
569 "pos": [
570 190,
571 60
572 ],
573 "size": [
574 150,
575 46
576 ],
577 "flags": {
578 "collapsed": true
579 },
580 "order": 7,
581 "mode": 0,
582 "inputs": [
583 {
584 "name": "image1",
585 "type": "IMAGE",
586 "link": 40
587 },
588 {
589 "name": "image2",
590 "type": "IMAGE",
591 "link": 45
592 }
593 ],
594 "outputs": [
595 {
596 "name": "IMAGE",
597 "type": "IMAGE",
598 "links": [
599 46,
600 50
601 ]
602 }
603 ],
604 "properties": {
605 "cnr_id": "comfy-core",
606 "ver": "0.3.76",
607 "Node name for S&R": "ImageBatch"
608 },
609 "widgets_values": []
610 },
611 {
612 "id": 20,
613 "type": "ImageBatch",
614 "pos": [
615 3120,
616 60
617 ],
618 "size": [
619 150,
620 50
621 ],
622 "flags": {
623 "collapsed": false
624 },
625 "order": 23,
626 "mode": 0,
627 "inputs": [
628 {
629 "name": "image1",
630 "type": "IMAGE",
631 "link": 21
632 },
633 {
634 "name": "image2",
635 "type": "IMAGE",
636 "link": 39
637 }
638 ],
639 "outputs": [
640 {
641 "name": "IMAGE",
642 "type": "IMAGE",
643 "links": [
644 23
645 ]
646 }
647 ],
648 "properties": {
649 "cnr_id": "comfy-core",
650 "ver": "0.3.76",
651 "Node name for S&R": "ImageBatch"
652 },
653 "widgets_values": []
654 },
655 {
656 "id": 27,
657 "type": "PreviewImage",
658 "pos": [
659 2740,
660 190
661 ],
662 "size": [
663 530,
664 410
665 ],
666 "flags": [],
667 "order": 24,
668 "mode": 0,
669 "inputs": [
670 {
671 "name": "images",
672 "type": "IMAGE",
673 "link": 26
674 }
675 ],
676 "outputs": [],
677 "title": "Preview Selected Image",
678 "properties": {
679 "cnr_id": "comfy-core",
680 "ver": "0.3.76",
681 "Node name for S&R": "PreviewImage"
682 },
683 "widgets_values": []
684 },
685 {
686 "id": 8,
687 "type": "SaveImage",
688 "pos": [
689 900,
690 60
691 ],
692 "size": [
693 470,
694 740
695 ],
696 "flags": [],
697 "order": 10,
698 "mode": 0,
699 "inputs": [
700 {
701 "name": "images",
702 "type": "IMAGE",
703 "link": 7
704 }
705 ],
706 "outputs": [],
707 "title": "Save Stitched Image",
708 "properties": {
709 "cnr_id": "comfy-core",
710 "ver": "0.3.76",
711 "Node name for S&R": "SaveImage"
712 },
713 "widgets_values": [
714 "ComfyUI-image_stitched"
715 ]
716 },
717 {
718 "id": 25,
719 "type": "GeminiImage2Node",
720 "pos": [
721 3330,
722 60
723 ],
724 "size": [
725 420,
726 540
727 ],
728 "flags": [],
729 "order": 25,
730 "mode": 0,
731 "inputs": [
732 {
733 "name": "images",
734 "shape": 7,
735 "type": "IMAGE",
736 "link": 23
737 },
738 {
739 "name": "files",
740 "shape": 7,
741 "type": "GEMINI_INPUT_FILES",
742 "link": null
743 }
744 ],
745 "outputs": [
746 {
747 "name": "IMAGE",
748 "type": "IMAGE",
749 "links": [
750 24
751 ]
752 },
753 {
754 "name": "STRING",
755 "type": "STRING",
756 "links": null
757 }
758 ],
759 "properties": {
760 "cnr_id": "comfy-core",
761 "ver": "0.3.76",
762 "Node name for S&R": "GeminiImage2Node"
763 },
764 "widgets_values": [
765 "Upscale image 1 while maintaining pose and composition, add subtle details. Use the face from image 2 to add back facial consistency and ensure the outfit details match the clothes and accessories from image 3.",
766 "gemini-3-pro-image-preview",
767 12345,
768 "fixed",
769 "auto",
770 "4K",
771 "IMAGE+TEXT",
772 "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."
773 ],
774 "color": "#432",
775 "bgcolor": "#653"
776 },
777 {
778 "id": 10,
779 "type": "PrimitiveInt",
780 "pos": [
781 900,
782 -100
783 ],
784 "size": [
785 250,
786 82
787 ],
788 "flags": {
789 "collapsed": false
790 },
791 "order": 3,
792 "mode": 0,
793 "inputs": [],
794 "outputs": [
795 {
796 "name": "INT",
797 "type": "INT",
798 "links": [
799 9
800 ]
801 }
802 ],
803 "title": "Crop Inset Grid Images",
804 "properties": {
805 "cnr_id": "comfy-core",
806 "ver": "0.3.76",
807 "Node name for S&R": "PrimitiveInt"
808 },
809 "widgets_values": [
810 0,
811 "fixed"
812 ],
813 "color": "#232",
814 "bgcolor": "#353"
815 },
816 {
817 "id": 14,
818 "type": "SaveImage",
819 "pos": [
820 1590,
821 540
822 ],
823 "size": [
824 525.2751663907767,
825 405.0613457616762
826 ],
827 "flags": [],
828 "order": 20,
829 "mode": 0,
830 "inputs": [
831 {
832 "name": "images",
833 "type": "IMAGE",
834 "link": 32
835 }
836 ],
837 "outputs": [],
838 "properties": {
839 "cnr_id": "comfy-core",
840 "ver": "0.3.76",
841 "Node name for S&R": "SaveImage"
842 },
843 "widgets_values": [
844 "ComfyUI-image_3"
845 ]
846 },
847 {
848 "id": 11,
849 "type": "438291c7-4d80-4015-bd42-f21a45b4a67b",
850 "pos": [
851 1190,
852 -100
853 ],
854 "size": [
855 183.064453125,
856 110
857 ],
858 "flags": {
859 "collapsed": false
860 },
861 "order": 11,
862 "mode": 0,
863 "inputs": [
864 {
865 "name": "image",
866 "type": "IMAGE",
867 "link": 49
868 },
869 {
870 "label": "crop_inset",
871 "name": "a",
872 "type": "INT,FLOAT",
873 "link": 9
874 }
875 ],
876 "outputs": [
877 {
878 "label": "IMAGE_1",
879 "name": "IMAGE",
880 "type": "IMAGE",
881 "links": [
882 27
883 ]
884 },
885 {
886 "label": "IMAGE_2",
887 "name": "IMAGE_1",
888 "type": "IMAGE",
889 "links": [
890 29
891 ]
892 },
893 {
894 "label": "IMAGE_3",
895 "name": "IMAGE_2",
896 "type": "IMAGE",
897 "links": [
898 31
899 ]
900 },
901 {
902 "label": "IMAGE_4",
903 "name": "IMAGE_3",
904 "type": "IMAGE",
905 "links": [
906 33
907 ]
908 },
909 {
910 "name": "images",
911 "type": "IMAGE",
912 "links": [
913 35
914 ]
915 }
916 ],
917 "properties": {
918 "proxyWidgets": [],
919 "cnr_id": "comfy-core",
920 "ver": "0.3.76"
921 },
922 "widgets_values": []
923 },
924 {
925 "id": 5,
926 "type": "PrimitiveStringMultiline",
927 "pos": [
928 -180,
929 60
930 ],
931 "size": [
932 330,
933 400
934 ],
935 "flags": {
936 "collapsed": false
937 },
938 "order": 4,
939 "mode": 0,
940 "inputs": [],
941 "outputs": [
942 {
943 "name": "STRING",
944 "type": "STRING",
945 "links": [
946 47
947 ]
948 }
949 ],
950 "title": "Prompt",
951 "properties": {
952 "cnr_id": "comfy-core",
953 "ver": "0.3.76",
954 "Node name for S&R": "PrimitiveStringMultiline"
955 },
956 "widgets_values": [
957 "A 2x2 (2 rows, 2 cols) grid of high fashion photoshoot images of the model wearing the outfit from image 2, each grid image should show the a full body shot of the subject in slightly different poses. Ensure that all outfit clothes/accessories are present in each grid image.\n\nDO NOT generate the grid with any visible borders or gutters.\n\nThe setting is a studio environment with a white studio background. Ensure that each grid image has the same lighting conditions. \n\nThe image is shot on fuji velvia film on a 55mm prime lens, the light is concentrated on the subject."
958 ],
959 "color": "#232",
960 "bgcolor": "#353"
961 },
962 {
963 "id": 23,
964 "type": "ImageFromBatch",
965 "pos": [
966 2740,
967 60
968 ],
969 "size": [
970 230,
971 82
972 ],
973 "flags": {
974 "collapsed": false
975 },
976 "order": 22,
977 "mode": 0,
978 "inputs": [
979 {
980 "name": "image",
981 "type": "IMAGE",
982 "link": 36
983 }
984 ],
985 "outputs": [
986 {
987 "name": "IMAGE",
988 "type": "IMAGE",
989 "links": [
990 21,
991 26
992 ]
993 }
994 ],
995 "title": "Select Image to Upscale",
996 "properties": {
997 "cnr_id": "comfy-core",
998 "ver": "0.3.52",
999 "Node name for S&R": "ImageFromBatch"
1000 },
1001 "widgets_values": [
1002 3,
1003 1
1004 ],
1005 "color": "#232",
1006 "bgcolor": "#353"
1007 },
1008 {
1009 "id": 26,
1010 "type": "SaveImage",
1011 "pos": [
1012 3790,
1013 60
1014 ],
1015 "size": [
1016 470,
1017 740
1018 ],
1019 "flags": [],
1020 "order": 26,
1021 "mode": 0,
1022 "inputs": [
1023 {
1024 "name": "images",
1025 "type": "IMAGE",
1026 "link": 24
1027 }
1028 ],
1029 "outputs": [],
1030 "title": "Save Upscaled Image",
1031 "properties": {
1032 "cnr_id": "comfy-core",
1033 "ver": "0.3.76",
1034 "Node name for S&R": "SaveImage"
1035 },
1036 "widgets_values": [
1037 "ComfyUI-image_upscaled"
1038 ]
1039 },
1040 {
1041 "id": 9,
1042 "type": "GeminiImage2Node",
1043 "pos": [
1044 440,
1045 60
1046 ],
1047 "size": [
1048 420,
1049 740
1050 ],
1051 "flags": [],
1052 "order": 8,
1053 "mode": 0,
1054 "inputs": [
1055 {
1056 "name": "images",
1057 "shape": 7,
1058 "type": "IMAGE",
1059 "link": 46
1060 },
1061 {
1062 "name": "files",
1063 "shape": 7,
1064 "type": "GEMINI_INPUT_FILES",
1065 "link": null
1066 },
1067 {
1068 "name": "prompt",
1069 "type": "STRING",
1070 "widget": {
1071 "name": "prompt"
1072 },
1073 "link": 47
1074 }
1075 ],
1076 "outputs": [
1077 {
1078 "name": "IMAGE",
1079 "type": "IMAGE",
1080 "links": [
1081 7,
1082 49
1083 ]
1084 },
1085 {
1086 "name": "STRING",
1087 "type": "STRING",
1088 "links": null
1089 }
1090 ],
1091 "properties": {
1092 "cnr_id": "comfy-core",
1093 "ver": "0.3.76",
1094 "Node name for S&R": "GeminiImage2Node"
1095 },
1096 "widgets_values": [
1097 "",
1098 "gemini-3-pro-image-preview",
1099 12345,
1100 "fixed",
1101 "auto",
1102 "4K",
1103 "IMAGE+TEXT",
1104 "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."
1105 ],
1106 "color": "#432",
1107 "bgcolor": "#653"
1108 }
1109 ],
1110 "links": [
1111 [
1112 7,
1113 9,
1114 0,
1115 8,
1116 0,
1117 "IMAGE"
1118 ],
1119 [
1120 9,
1121 10,
1122 0,
1123 11,
1124 1,
1125 "INT,FLOAT"
1126 ],
1127 [
1128 21,
1129 23,
1130 0,
1131 20,
1132 0,
1133 "IMAGE"
1134 ],
1135 [
1136 23,
1137 20,
1138 0,
1139 25,
1140 0,
1141 "IMAGE"
1142 ],
1143 [
1144 24,
1145 25,
1146 0,
1147 26,
1148 0,
1149 "IMAGE"
1150 ],
1151 [
1152 26,
1153 23,
1154 0,
1155 27,
1156 0,
1157 "IMAGE"
1158 ],
1159 [
1160 27,
1161 11,
1162 0,
1163 28,
1164 0,
1165 "*"
1166 ],
1167 [
1168 28,
1169 28,
1170 0,
1171 12,
1172 0,
1173 "IMAGE"
1174 ],
1175 [
1176 29,
1177 11,
1178 1,
1179 29,
1180 0,
1181 "*"
1182 ],
1183 [
1184 30,
1185 29,
1186 0,
1187 13,
1188 0,
1189 "IMAGE"
1190 ],
1191 [
1192 31,
1193 11,
1194 2,
1195 30,
1196 0,
1197 "*"
1198 ],
1199 [
1200 32,
1201 30,
1202 0,
1203 14,
1204 0,
1205 "IMAGE"
1206 ],
1207 [
1208 33,
1209 11,
1210 3,
1211 31,
1212 0,
1213 "*"
1214 ],
1215 [
1216 34,
1217 31,
1218 0,
1219 15,
1220 0,
1221 "IMAGE"
1222 ],
1223 [
1224 35,
1225 11,
1226 4,
1227 32,
1228 0,
1229 "*"
1230 ],
1231 [
1232 36,
1233 32,
1234 0,
1235 23,
1236 0,
1237 "IMAGE"
1238 ],
1239 [
1240 38,
1241 33,
1242 0,
1243 34,
1244 0,
1245 "*"
1246 ],
1247 [
1248 39,
1249 34,
1250 0,
1251 20,
1252 1,
1253 "IMAGE"
1254 ],
1255 [
1256 40,
1257 1,
1258 0,
1259 36,
1260 0,
1261 "IMAGE"
1262 ],
1263 [
1264 41,
1265 1,
1266 0,
1267 38,
1268 0,
1269 "IMAGE"
1270 ],
1271 [
1272 42,
1273 38,
1274 0,
1275 37,
1276 1,
1277 "INT"
1278 ],
1279 [
1280 43,
1281 38,
1282 1,
1283 37,
1284 2,
1285 "INT"
1286 ],
1287 [
1288 44,
1289 35,
1290 0,
1291 37,
1292 0,
1293 "IMAGE"
1294 ],
1295 [
1296 45,
1297 37,
1298 0,
1299 36,
1300 1,
1301 "IMAGE"
1302 ],
1303 [
1304 46,
1305 36,
1306 0,
1307 9,
1308 0,
1309 "IMAGE"
1310 ],
1311 [
1312 47,
1313 5,
1314 0,
1315 9,
1316 2,
1317 "STRING"
1318 ],
1319 [
1320 49,
1321 9,
1322 0,
1323 11,
1324 0,
1325 "IMAGE"
1326 ],
1327 [
1328 50,
1329 36,
1330 0,
1331 33,
1332 0,
1333 "*"
1334 ]
1335 ],
1336 "groups": [],
1337 "definitions": {
1338 "subgraphs": [
1339 {
1340 "id": "438291c7-4d80-4015-bd42-f21a45b4a67b",
1341 "version": 1,
1342 "state": {
1343 "lastGroupId": 0,
1344 "lastNodeId": 27,
1345 "lastLinkId": 75,
1346 "lastRerouteId": 0
1347 },
1348 "revision": 0,
1349 "config": [],
1350 "name": "Crop Images",
1351 "inputNode": {
1352 "id": -10,
1353 "bounding": [
1354 848.920446566751,
1355 416.02058889632974,
1356 120,
1357 80
1358 ]
1359 },
1360 "outputNode": {
1361 "id": -20,
1362 "bounding": [
1363 2722.1975730627237,
1364 436.02058889632974,
1365 120,
1366 140
1367 ]
1368 },
1369 "inputs": [
1370 {
1371 "id": "eb15a6da-be18-49ea-81f2-dba4711d5c28",
1372 "name": "image",
1373 "type": "IMAGE",
1374 "linkIds": [
1375 29,
1376 30,
1377 36,
1378 35,
1379 27
1380 ],
1381 "localized_name": "image",
1382 "pos": [
1383 948.920446566751,
1384 436.02058889632974
1385 ]
1386 },
1387 {
1388 "id": "72145059-2ba2-42ec-8379-8412482057af",
1389 "name": "a",
1390 "type": "INT,FLOAT",
1391 "linkIds": [
1392 28
1393 ],
1394 "localized_name": "a",
1395 "label": "crop_inset",
1396 "shape": 7,
1397 "pos": [
1398 948.920446566751,
1399 456.02058889632974
1400 ]
1401 }
1402 ],
1403 "outputs": [
1404 {
1405 "id": "8ec6c1d4-c30e-4d27-9afc-d53cb8950a80",
1406 "name": "IMAGE",
1407 "type": "IMAGE",
1408 "linkIds": [
1409 37
1410 ],
1411 "label": "IMAGE_1",
1412 "pos": [
1413 2742.1975730627237,
1414 456.02058889632974
1415 ]
1416 },
1417 {
1418 "id": "b5bfbdce-26ef-489c-8851-c100001380a0",
1419 "name": "IMAGE_1",
1420 "type": "IMAGE",
1421 "linkIds": [
1422 38
1423 ],
1424 "label": "IMAGE_2",
1425 "pos": [
1426 2742.1975730627237,
1427 476.02058889632974
1428 ]
1429 },
1430 {
1431 "id": "ae6073b1-db37-4141-88fa-6cf4ba5dce26",
1432 "name": "IMAGE_2",
1433 "type": "IMAGE",
1434 "linkIds": [
1435 39
1436 ],
1437 "label": "IMAGE_3",
1438 "pos": [
1439 2742.1975730627237,
1440 496.02058889632974
1441 ]
1442 },
1443 {
1444 "id": "404edd1c-fa1b-4e9f-bb64-a05a8b3ddcee",
1445 "name": "IMAGE_3",
1446 "type": "IMAGE",
1447 "linkIds": [
1448 40
1449 ],
1450 "label": "IMAGE_4",
1451 "pos": [
1452 2742.1975730627237,
1453 516.0205888963297
1454 ]
1455 },
1456 {
1457 "id": "0543b553-e71f-4c30-afa3-855738c77bee",
1458 "name": "images",
1459 "type": "IMAGE",
1460 "linkIds": [
1461 49
1462 ],
1463 "pos": [
1464 2742.1975730627237,
1465 536.0205888963297
1466 ]
1467 }
1468 ],
1469 "widgets": [],
1470 "nodes": [
1471 {
1472 "id": 4,
1473 "type": "PreviewImage",
1474 "pos": [
1475 2010,
1476 400
1477 ],
1478 "size": [
1479 140,
1480 276
1481 ],
1482 "flags": [],
1483 "order": 0,
1484 "mode": 0,
1485 "inputs": [
1486 {
1487 "localized_name": "images",
1488 "name": "images",
1489 "type": "IMAGE",
1490 "link": 3
1491 }
1492 ],
1493 "outputs": [],
1494 "properties": {
1495 "cnr_id": "comfy-core",
1496 "ver": "0.3.76",
1497 "Node name for S&R": "PreviewImage"
1498 },
1499 "widgets_values": []
1500 },
1501 {
1502 "id": 5,
1503 "type": "PreviewImage",
1504 "pos": [
1505 2430,
1506 400
1507 ],
1508 "size": [
1509 140,
1510 246
1511 ],
1512 "flags": [],
1513 "order": 1,
1514 "mode": 0,
1515 "inputs": [
1516 {
1517 "localized_name": "images",
1518 "name": "images",
1519 "type": "IMAGE",
1520 "link": 4
1521 }
1522 ],
1523 "outputs": [],
1524 "properties": {
1525 "cnr_id": "comfy-core",
1526 "ver": "0.3.76",
1527 "Node name for S&R": "PreviewImage"
1528 },
1529 "widgets_values": []
1530 },
1531 {
1532 "id": 7,
1533 "type": "PreviewImage",
1534 "pos": [
1535 2430,
1536 990
1537 ],
1538 "size": [
1539 140,
1540 246.0000000000001
1541 ],
1542 "flags": [],
1543 "order": 3,
1544 "mode": 0,
1545 "inputs": [
1546 {
1547 "localized_name": "images",
1548 "name": "images",
1549 "type": "IMAGE",
1550 "link": 6
1551 }
1552 ],
1553 "outputs": [],
1554 "properties": {
1555 "cnr_id": "comfy-core",
1556 "ver": "0.3.76",
1557 "Node name for S&R": "PreviewImage"
1558 },
1559 "widgets_values": []
1560 },
1561 {
1562 "id": 16,
1563 "type": "SimpleMath+",
1564 "pos": [
1565 1292.7872437939868,
1566 -9.460406849023723
1567 ],
1568 "size": [
1569 270,
1570 78
1571 ],
1572 "flags": [],
1573 "order": 12,
1574 "mode": 0,
1575 "inputs": [
1576 {
1577 "localized_name": "a",
1578 "name": "a",
1579 "shape": 7,
1580 "type": "INT,FLOAT",
1581 "link": 25
1582 },
1583 {
1584 "localized_name": "b",
1585 "name": "b",
1586 "shape": 7,
1587 "type": "INT,FLOAT",
1588 "link": 26
1589 }
1590 ],
1591 "outputs": [
1592 {
1593 "localized_name": "INT",
1594 "name": "INT",
1595 "type": "INT",
1596 "links": [
1597 8,
1598 10,
1599 13,
1600 16,
1601 19
1602 ]
1603 },
1604 {
1605 "localized_name": "FLOAT",
1606 "name": "FLOAT",
1607 "type": "FLOAT",
1608 "links": null
1609 }
1610 ],
1611 "title": "HEIGHT",
1612 "properties": {
1613 "cnr_id": "comfyui_essentials",
1614 "ver": "1.1.0",
1615 "Node name for S&R": "SimpleMath+"
1616 },
1617 "widgets_values": [
1618 "(a-2*b) / 2"
1619 ],
1620 "color": "#233",
1621 "bgcolor": "#355"
1622 },
1623 {
1624 "id": 6,
1625 "type": "PreviewImage",
1626 "pos": [
1627 2010,
1628 990
1629 ],
1630 "size": [
1631 140,
1632 246.0000000000001
1633 ],
1634 "flags": [],
1635 "order": 2,
1636 "mode": 0,
1637 "inputs": [
1638 {
1639 "localized_name": "images",
1640 "name": "images",
1641 "type": "IMAGE",
1642 "link": 5
1643 }
1644 ],
1645 "outputs": [],
1646 "properties": {
1647 "cnr_id": "comfy-core",
1648 "ver": "0.3.76",
1649 "Node name for S&R": "PreviewImage"
1650 },
1651 "widgets_values": []
1652 },
1653 {
1654 "id": 15,
1655 "type": "SimpleMath+",
1656 "pos": [
1657 1292.1975730627237,
1658 -151.97941110367026
1659 ],
1660 "size": [
1661 270,
1662 78
1663 ],
1664 "flags": [],
1665 "order": 11,
1666 "mode": 0,
1667 "inputs": [
1668 {
1669 "localized_name": "a",
1670 "name": "a",
1671 "shape": 7,
1672 "type": "INT,FLOAT",
1673 "link": 23
1674 },
1675 {
1676 "localized_name": "b",
1677 "name": "b",
1678 "shape": 7,
1679 "type": "INT,FLOAT",
1680 "link": 24
1681 }
1682 ],
1683 "outputs": [
1684 {
1685 "localized_name": "INT",
1686 "name": "INT",
1687 "type": "INT",
1688 "links": [
1689 7,
1690 9,
1691 12,
1692 15,
1693 21
1694 ]
1695 },
1696 {
1697 "localized_name": "FLOAT",
1698 "name": "FLOAT",
1699 "type": "FLOAT",
1700 "links": null
1701 }
1702 ],
1703 "title": "WIDTH",
1704 "properties": {
1705 "cnr_id": "comfyui_essentials",
1706 "ver": "1.1.0",
1707 "Node name for S&R": "SimpleMath+"
1708 },
1709 "widgets_values": [
1710 "(a-2*b) / 2"
1711 ],
1712 "color": "#233",
1713 "bgcolor": "#355"
1714 },
1715 {
1716 "id": 17,
1717 "type": "GetImageSize",
1718 "pos": [
1719 1028.920446566751,
1720 -151.97941110367026
1721 ],
1722 "size": [
1723 170,
1724 70
1725 ],
1726 "flags": {
1727 "collapsed": false
1728 },
1729 "order": 13,
1730 "mode": 0,
1731 "inputs": [
1732 {
1733 "localized_name": "image",
1734 "name": "image",
1735 "type": "IMAGE",
1736 "link": 27
1737 }
1738 ],
1739 "outputs": [
1740 {
1741 "localized_name": "width",
1742 "name": "width",
1743 "type": "INT",
1744 "links": [
1745 23,
1746 53
1747 ]
1748 },
1749 {
1750 "localized_name": "height",
1751 "name": "height",
1752 "type": "INT",
1753 "links": [
1754 25,
1755 51
1756 ]
1757 },
1758 {
1759 "localized_name": "batch_size",
1760 "name": "batch_size",
1761 "type": "INT",
1762 "links": null
1763 }
1764 ],
1765 "properties": {
1766 "cnr_id": "comfy-core",
1767 "ver": "0.3.71",
1768 "Node name for S&R": "GetImageSize"
1769 },
1770 "widgets_values": []
1771 },
1772 {
1773 "id": 21,
1774 "type": "PreviewImage",
1775 "pos": [
1776 3680,
1777 400
1778 ],
1779 "size": [
1780 140,
1781 246
1782 ],
1783 "flags": [],
1784 "order": 16,
1785 "mode": 0,
1786 "inputs": [
1787 {
1788 "localized_name": "images",
1789 "name": "images",
1790 "type": "IMAGE",
1791 "link": 50
1792 }
1793 ],
1794 "outputs": [],
1795 "properties": {
1796 "cnr_id": "comfy-core",
1797 "ver": "0.3.76",
1798 "Node name for S&R": "PreviewImage"
1799 },
1800 "widgets_values": []
1801 },
1802 {
1803 "id": 23,
1804 "type": "SimpleMath+",
1805 "pos": [
1806 3260,
1807 40
1808 ],
1809 "size": [
1810 270,
1811 78
1812 ],
1813 "flags": [],
1814 "order": 18,
1815 "mode": 0,
1816 "inputs": [
1817 {
1818 "localized_name": "a",
1819 "name": "a",
1820 "shape": 7,
1821 "type": "INT,FLOAT",
1822 "link": 53
1823 },
1824 {
1825 "localized_name": "b",
1826 "name": "b",
1827 "shape": 7,
1828 "type": "INT,FLOAT",
1829 "link": null
1830 }
1831 ],
1832 "outputs": [
1833 {
1834 "localized_name": "INT",
1835 "name": "INT",
1836 "type": "INT",
1837 "links": [
1838 56
1839 ]
1840 },
1841 {
1842 "localized_name": "FLOAT",
1843 "name": "FLOAT",
1844 "type": "FLOAT",
1845 "links": null
1846 }
1847 ],
1848 "title": "WIDTH / 2",
1849 "properties": {
1850 "cnr_id": "comfyui_essentials",
1851 "ver": "1.1.0",
1852 "Node name for S&R": "SimpleMath+"
1853 },
1854 "widgets_values": [
1855 "(a) / 2"
1856 ],
1857 "color": "#233",
1858 "bgcolor": "#355"
1859 },
1860 {
1861 "id": 22,
1862 "type": "SimpleMath+",
1863 "pos": [
1864 3260,
1865 180
1866 ],
1867 "size": [
1868 270,
1869 108
1870 ],
1871 "flags": [],
1872 "order": 17,
1873 "mode": 0,
1874 "inputs": [
1875 {
1876 "localized_name": "a",
1877 "name": "a",
1878 "shape": 7,
1879 "type": "INT,FLOAT",
1880 "link": 51
1881 },
1882 {
1883 "localized_name": "b",
1884 "name": "b",
1885 "shape": 7,
1886 "type": "INT,FLOAT",
1887 "link": null
1888 }
1889 ],
1890 "outputs": [
1891 {
1892 "localized_name": "INT",
1893 "name": "INT",
1894 "type": "INT",
1895 "links": [
1896 55
1897 ]
1898 },
1899 {
1900 "localized_name": "FLOAT",
1901 "name": "FLOAT",
1902 "type": "FLOAT",
1903 "links": null
1904 }
1905 ],
1906 "title": "HEIGHT / 2",
1907 "properties": {
1908 "cnr_id": "comfyui_essentials",
1909 "ver": "1.1.0",
1910 "Node name for S&R": "SimpleMath+"
1911 },
1912 "widgets_values": [
1913 "(a) / 2"
1914 ],
1915 "color": "#233",
1916 "bgcolor": "#355"
1917 },
1918 {
1919 "id": 20,
1920 "type": "ImageResizeKJv2",
1921 "pos": [
1922 3260,
1923 390
1924 ],
1925 "size": [
1926 270,
1927 286
1928 ],
1929 "flags": [],
1930 "order": 15,
1931 "mode": 0,
1932 "inputs": [
1933 {
1934 "localized_name": "image",
1935 "name": "image",
1936 "type": "IMAGE",
1937 "link": 46
1938 },
1939 {
1940 "localized_name": "mask",
1941 "name": "mask",
1942 "shape": 7,
1943 "type": "MASK",
1944 "link": null
1945 },
1946 {
1947 "localized_name": "width",
1948 "name": "width",
1949 "type": "INT",
1950 "widget": {
1951 "name": "width"
1952 },
1953 "link": 56
1954 },
1955 {
1956 "localized_name": "height",
1957 "name": "height",
1958 "type": "INT",
1959 "widget": {
1960 "name": "height"
1961 },
1962 "link": 55
1963 }
1964 ],
1965 "outputs": [
1966 {
1967 "localized_name": "IMAGE",
1968 "name": "IMAGE",
1969 "type": "IMAGE",
1970 "links": [
1971 49,
1972 50
1973 ]
1974 },
1975 {
1976 "localized_name": "width",
1977 "name": "width",
1978 "type": "INT",
1979 "links": null
1980 },
1981 {
1982 "localized_name": "height",
1983 "name": "height",
1984 "type": "INT",
1985 "links": null
1986 },
1987 {
1988 "localized_name": "mask",
1989 "name": "mask",
1990 "type": "MASK",
1991 "links": null
1992 }
1993 ],
1994 "title": "Resize Images",
1995 "properties": {
1996 "cnr_id": "comfyui-kjnodes",
1997 "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
1998 "Node name for S&R": "ImageResizeKJv2"
1999 },
2000 "widgets_values": [
2001 512,
2002 512,
2003 "nearest-exact",
2004 "stretch",
2005 "0, 0, 0",
2006 "center",
2007 2,
2008 "cpu"
2009 ]
2010 },
2011 {
2012 "id": 8,
2013 "type": "ImageCrop",
2014 "pos": [
2015 2010,
2016 220
2017 ],
2018 "size": [
2019 210,
2020 130
2021 ],
2022 "flags": [],
2023 "order": 4,
2024 "mode": 0,
2025 "inputs": [
2026 {
2027 "localized_name": "image",
2028 "name": "image",
2029 "type": "IMAGE",
2030 "link": 29
2031 },
2032 {
2033 "localized_name": "width",
2034 "name": "width",
2035 "type": "INT",
2036 "widget": {
2037 "name": "width"
2038 },
2039 "link": 7
2040 },
2041 {
2042 "localized_name": "height",
2043 "name": "height",
2044 "type": "INT",
2045 "widget": {
2046 "name": "height"
2047 },
2048 "link": 8
2049 },
2050 {
2051 "localized_name": "x",
2052 "name": "x",
2053 "type": "INT",
2054 "widget": {
2055 "name": "x"
2056 },
2057 "link": 58
2058 },
2059 {
2060 "localized_name": "y",
2061 "name": "y",
2062 "type": "INT",
2063 "widget": {
2064 "name": "y"
2065 },
2066 "link": 60
2067 }
2068 ],
2069 "outputs": [
2070 {
2071 "localized_name": "IMAGE",
2072 "name": "IMAGE",
2073 "type": "IMAGE",
2074 "slot_index": 0,
2075 "links": [
2076 3,
2077 37,
2078 72
2079 ]
2080 }
2081 ],
2082 "title": "1",
2083 "properties": {
2084 "cnr_id": "comfy-core",
2085 "ver": "0.3.26",
2086 "Node name for S&R": "ImageCrop"
2087 },
2088 "widgets_values": [
2089 1,
2090 1,
2091 0,
2092 0
2093 ]
2094 },
2095 {
2096 "id": 19,
2097 "type": "ImageBatchMulti",
2098 "pos": [
2099 2880,
2100 230
2101 ],
2102 "size": [
2103 270,
2104 162
2105 ],
2106 "flags": [],
2107 "order": 14,
2108 "mode": 0,
2109 "inputs": [
2110 {
2111 "localized_name": "image_1",
2112 "name": "image_1",
2113 "type": "IMAGE",
2114 "link": 72
2115 },
2116 {
2117 "localized_name": "image_2",
2118 "name": "image_2",
2119 "shape": 7,
2120 "type": "IMAGE",
2121 "link": 73
2122 },
2123 {
2124 "name": "image_3",
2125 "shape": 7,
2126 "type": "IMAGE",
2127 "link": 74
2128 },
2129 {
2130 "name": "image_4",
2131 "shape": 7,
2132 "type": "IMAGE",
2133 "link": 75
2134 }
2135 ],
2136 "outputs": [
2137 {
2138 "localized_name": "images",
2139 "name": "images",
2140 "type": "IMAGE",
2141 "links": [
2142 46
2143 ]
2144 }
2145 ],
2146 "properties": {
2147 "cnr_id": "comfyui-kjnodes",
2148 "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
2149 "Node name for S&R": "ImageBatchMulti"
2150 },
2151 "widgets_values": [
2152 4,
2153 null
2154 ]
2155 },
2156 {
2157 "id": 9,
2158 "type": "ImageCrop",
2159 "pos": [
2160 2430,
2161 220
2162 ],
2163 "size": [
2164 210,
2165 130
2166 ],
2167 "flags": [],
2168 "order": 5,
2169 "mode": 0,
2170 "inputs": [
2171 {
2172 "localized_name": "image",
2173 "name": "image",
2174 "type": "IMAGE",
2175 "link": 30
2176 },
2177 {
2178 "localized_name": "width",
2179 "name": "width",
2180 "type": "INT",
2181 "widget": {
2182 "name": "width"
2183 },
2184 "link": 9
2185 },
2186 {
2187 "localized_name": "height",
2188 "name": "height",
2189 "type": "INT",
2190 "widget": {
2191 "name": "height"
2192 },
2193 "link": 10
2194 },
2195 {
2196 "localized_name": "x",
2197 "name": "x",
2198 "type": "INT",
2199 "widget": {
2200 "name": "x"
2201 },
2202 "link": 11
2203 }
2204 ],
2205 "outputs": [
2206 {
2207 "localized_name": "IMAGE",
2208 "name": "IMAGE",
2209 "type": "IMAGE",
2210 "slot_index": 0,
2211 "links": [
2212 4,
2213 38,
2214 73
2215 ]
2216 }
2217 ],
2218 "title": "2",
2219 "properties": {
2220 "cnr_id": "comfy-core",
2221 "ver": "0.3.26",
2222 "Node name for S&R": "ImageCrop"
2223 },
2224 "widgets_values": [
2225 1,
2226 1,
2227 0,
2228 0
2229 ]
2230 },
2231 {
2232 "id": 10,
2233 "type": "ImageCrop",
2234 "pos": [
2235 2010,
2236 800
2237 ],
2238 "size": [
2239 210,
2240 130
2241 ],
2242 "flags": [],
2243 "order": 6,
2244 "mode": 0,
2245 "inputs": [
2246 {
2247 "localized_name": "image",
2248 "name": "image",
2249 "type": "IMAGE",
2250 "link": 35
2251 },
2252 {
2253 "localized_name": "width",
2254 "name": "width",
2255 "type": "INT",
2256 "widget": {
2257 "name": "width"
2258 },
2259 "link": 12
2260 },
2261 {
2262 "localized_name": "height",
2263 "name": "height",
2264 "type": "INT",
2265 "widget": {
2266 "name": "height"
2267 },
2268 "link": 13
2269 },
2270 {
2271 "localized_name": "x",
2272 "name": "x",
2273 "type": "INT",
2274 "widget": {
2275 "name": "x"
2276 },
2277 "link": 59
2278 },
2279 {
2280 "localized_name": "y",
2281 "name": "y",
2282 "type": "INT",
2283 "widget": {
2284 "name": "y"
2285 },
2286 "link": 34
2287 }
2288 ],
2289 "outputs": [
2290 {
2291 "localized_name": "IMAGE",
2292 "name": "IMAGE",
2293 "type": "IMAGE",
2294 "slot_index": 0,
2295 "links": [
2296 5,
2297 39,
2298 74
2299 ]
2300 }
2301 ],
2302 "title": "3",
2303 "properties": {
2304 "cnr_id": "comfy-core",
2305 "ver": "0.3.26",
2306 "Node name for S&R": "ImageCrop"
2307 },
2308 "widgets_values": [
2309 1,
2310 1,
2311 0,
2312 0
2313 ]
2314 },
2315 {
2316 "id": 11,
2317 "type": "ImageCrop",
2318 "pos": [
2319 2430,
2320 800
2321 ],
2322 "size": [
2323 210,
2324 130
2325 ],
2326 "flags": [],
2327 "order": 7,
2328 "mode": 0,
2329 "inputs": [
2330 {
2331 "localized_name": "image",
2332 "name": "image",
2333 "type": "IMAGE",
2334 "link": 36
2335 },
2336 {
2337 "localized_name": "width",
2338 "name": "width",
2339 "type": "INT",
2340 "widget": {
2341 "name": "width"
2342 },
2343 "link": 15
2344 },
2345 {
2346 "localized_name": "height",
2347 "name": "height",
2348 "type": "INT",
2349 "widget": {
2350 "name": "height"
2351 },
2352 "link": 16
2353 },
2354 {
2355 "localized_name": "x",
2356 "name": "x",
2357 "type": "INT",
2358 "widget": {
2359 "name": "x"
2360 },
2361 "link": 17
2362 },
2363 {
2364 "localized_name": "y",
2365 "name": "y",
2366 "type": "INT",
2367 "widget": {
2368 "name": "y"
2369 },
2370 "link": 33
2371 }
2372 ],
2373 "outputs": [
2374 {
2375 "localized_name": "IMAGE",
2376 "name": "IMAGE",
2377 "type": "IMAGE",
2378 "slot_index": 0,
2379 "links": [
2380 6,
2381 40,
2382 75
2383 ]
2384 }
2385 ],
2386 "title": "4",
2387 "properties": {
2388 "cnr_id": "comfy-core",
2389 "ver": "0.3.26",
2390 "Node name for S&R": "ImageCrop"
2391 },
2392 "widgets_values": [
2393 1,
2394 1,
2395 0,
2396 0
2397 ]
2398 },
2399 {
2400 "id": 13,
2401 "type": "SimpleMath+",
2402 "pos": [
2403 2450,
2404 -10
2405 ],
2406 "size": [
2407 210,
2408 78
2409 ],
2410 "flags": [],
2411 "order": 9,
2412 "mode": 0,
2413 "inputs": [
2414 {
2415 "localized_name": "a",
2416 "name": "a",
2417 "shape": 7,
2418 "type": "INT,FLOAT",
2419 "link": 21
2420 },
2421 {
2422 "localized_name": "b",
2423 "name": "b",
2424 "shape": 7,
2425 "type": "INT,FLOAT",
2426 "link": 22
2427 }
2428 ],
2429 "outputs": [
2430 {
2431 "localized_name": "INT",
2432 "name": "INT",
2433 "type": "INT",
2434 "links": [
2435 11,
2436 17
2437 ]
2438 },
2439 {
2440 "localized_name": "FLOAT",
2441 "name": "FLOAT",
2442 "type": "FLOAT",
2443 "links": null
2444 }
2445 ],
2446 "title": "Col 2 - X val",
2447 "properties": {
2448 "cnr_id": "comfyui_essentials",
2449 "ver": "1.1.0",
2450 "Node name for S&R": "SimpleMath+"
2451 },
2452 "widgets_values": [
2453 "a + (b/2)"
2454 ],
2455 "color": "#223",
2456 "bgcolor": "#335"
2457 },
2458 {
2459 "id": 12,
2460 "type": "SimpleMath+",
2461 "pos": [
2462 1650,
2463 800
2464 ],
2465 "size": [
2466 210,
2467 78
2468 ],
2469 "flags": [],
2470 "order": 8,
2471 "mode": 0,
2472 "inputs": [
2473 {
2474 "localized_name": "a",
2475 "name": "a",
2476 "shape": 7,
2477 "type": "INT,FLOAT",
2478 "link": 19
2479 },
2480 {
2481 "localized_name": "b",
2482 "name": "b",
2483 "shape": 7,
2484 "type": "INT,FLOAT",
2485 "link": 20
2486 }
2487 ],
2488 "outputs": [
2489 {
2490 "localized_name": "INT",
2491 "name": "INT",
2492 "type": "INT",
2493 "links": [
2494 33,
2495 34
2496 ]
2497 },
2498 {
2499 "localized_name": "FLOAT",
2500 "name": "FLOAT",
2501 "type": "FLOAT",
2502 "links": null
2503 }
2504 ],
2505 "title": "Row 2 - Y val",
2506 "properties": {
2507 "cnr_id": "comfyui_essentials",
2508 "ver": "1.1.0",
2509 "Node name for S&R": "SimpleMath+"
2510 },
2511 "widgets_values": [
2512 "a + (b/2)"
2513 ],
2514 "color": "#223",
2515 "bgcolor": "#335"
2516 },
2517 {
2518 "id": 24,
2519 "type": "SimpleMath+",
2520 "pos": [
2521 2000,
2522 -40
2523 ],
2524 "size": [
2525 210,
2526 78
2527 ],
2528 "flags": [],
2529 "order": 19,
2530 "mode": 0,
2531 "inputs": [
2532 {
2533 "localized_name": "a",
2534 "name": "a",
2535 "shape": 7,
2536 "type": "INT,FLOAT",
2537 "link": null
2538 },
2539 {
2540 "localized_name": "b",
2541 "name": "b",
2542 "shape": 7,
2543 "type": "INT,FLOAT",
2544 "link": 57
2545 }
2546 ],
2547 "outputs": [
2548 {
2549 "localized_name": "INT",
2550 "name": "INT",
2551 "type": "INT",
2552 "links": [
2553 58,
2554 59,
2555 60
2556 ]
2557 },
2558 {
2559 "localized_name": "FLOAT",
2560 "name": "FLOAT",
2561 "type": "FLOAT",
2562 "links": null
2563 }
2564 ],
2565 "title": "Col 1 - X val",
2566 "properties": {
2567 "cnr_id": "comfyui_essentials",
2568 "ver": "1.1.0",
2569 "Node name for S&R": "SimpleMath+"
2570 },
2571 "widgets_values": [
2572 "b/2"
2573 ],
2574 "color": "#223",
2575 "bgcolor": "#335"
2576 },
2577 {
2578 "id": 14,
2579 "type": "SimpleMath+",
2580 "pos": [
2581 1290,
2582 110
2583 ],
2584 "size": [
2585 270,
2586 78
2587 ],
2588 "flags": [],
2589 "order": 10,
2590 "mode": 0,
2591 "inputs": [
2592 {
2593 "localized_name": "a",
2594 "name": "a",
2595 "shape": 7,
2596 "type": "INT,FLOAT",
2597 "link": 28
2598 },
2599 {
2600 "localized_name": "b",
2601 "name": "b",
2602 "shape": 7,
2603 "type": "INT,FLOAT",
2604 "link": null
2605 }
2606 ],
2607 "outputs": [
2608 {
2609 "localized_name": "INT",
2610 "name": "INT",
2611 "type": "INT",
2612 "links": [
2613 20,
2614 22,
2615 24,
2616 26,
2617 57
2618 ]
2619 },
2620 {
2621 "localized_name": "FLOAT",
2622 "name": "FLOAT",
2623 "type": "FLOAT",
2624 "links": null
2625 }
2626 ],
2627 "title": "Crop Inset Grid Images Value",
2628 "properties": {
2629 "cnr_id": "comfyui_essentials",
2630 "ver": "1.1.0",
2631 "Node name for S&R": "SimpleMath+"
2632 },
2633 "widgets_values": [
2634 "a"
2635 ]
2636 }
2637 ],
2638 "groups": [],
2639 "links": [
2640 {
2641 "id": 3,
2642 "origin_id": 8,
2643 "origin_slot": 0,
2644 "target_id": 4,
2645 "target_slot": 0,
2646 "type": "IMAGE"
2647 },
2648 {
2649 "id": 4,
2650 "origin_id": 9,
2651 "origin_slot": 0,
2652 "target_id": 5,
2653 "target_slot": 0,
2654 "type": "IMAGE"
2655 },
2656 {
2657 "id": 6,
2658 "origin_id": 11,
2659 "origin_slot": 0,
2660 "target_id": 7,
2661 "target_slot": 0,
2662 "type": "IMAGE"
2663 },
2664 {
2665 "id": 7,
2666 "origin_id": 15,
2667 "origin_slot": 0,
2668 "target_id": 8,
2669 "target_slot": 1,
2670 "type": "INT"
2671 },
2672 {
2673 "id": 8,
2674 "origin_id": 16,
2675 "origin_slot": 0,
2676 "target_id": 8,
2677 "target_slot": 2,
2678 "type": "INT"
2679 },
2680 {
2681 "id": 9,
2682 "origin_id": 15,
2683 "origin_slot": 0,
2684 "target_id": 9,
2685 "target_slot": 1,
2686 "type": "INT"
2687 },
2688 {
2689 "id": 10,
2690 "origin_id": 16,
2691 "origin_slot": 0,
2692 "target_id": 9,
2693 "target_slot": 2,
2694 "type": "INT"
2695 },
2696 {
2697 "id": 11,
2698 "origin_id": 13,
2699 "origin_slot": 0,
2700 "target_id": 9,
2701 "target_slot": 3,
2702 "type": "INT"
2703 },
2704 {
2705 "id": 15,
2706 "origin_id": 15,
2707 "origin_slot": 0,
2708 "target_id": 11,
2709 "target_slot": 1,
2710 "type": "INT"
2711 },
2712 {
2713 "id": 16,
2714 "origin_id": 16,
2715 "origin_slot": 0,
2716 "target_id": 11,
2717 "target_slot": 2,
2718 "type": "INT"
2719 },
2720 {
2721 "id": 17,
2722 "origin_id": 13,
2723 "origin_slot": 0,
2724 "target_id": 11,
2725 "target_slot": 3,
2726 "type": "INT"
2727 },
2728 {
2729 "id": 33,
2730 "origin_id": 12,
2731 "origin_slot": 0,
2732 "target_id": 11,
2733 "target_slot": 4,
2734 "type": "INT"
2735 },
2736 {
2737 "id": 25,
2738 "origin_id": 17,
2739 "origin_slot": 1,
2740 "target_id": 16,
2741 "target_slot": 0,
2742 "type": "INT,FLOAT"
2743 },
2744 {
2745 "id": 26,
2746 "origin_id": 14,
2747 "origin_slot": 0,
2748 "target_id": 16,
2749 "target_slot": 1,
2750 "type": "INT,FLOAT"
2751 },
2752 {
2753 "id": 12,
2754 "origin_id": 15,
2755 "origin_slot": 0,
2756 "target_id": 10,
2757 "target_slot": 1,
2758 "type": "INT"
2759 },
2760 {
2761 "id": 13,
2762 "origin_id": 16,
2763 "origin_slot": 0,
2764 "target_id": 10,
2765 "target_slot": 2,
2766 "type": "INT"
2767 },
2768 {
2769 "id": 34,
2770 "origin_id": 12,
2771 "origin_slot": 0,
2772 "target_id": 10,
2773 "target_slot": 4,
2774 "type": "INT"
2775 },
2776 {
2777 "id": 21,
2778 "origin_id": 15,
2779 "origin_slot": 0,
2780 "target_id": 13,
2781 "target_slot": 0,
2782 "type": "INT,FLOAT"
2783 },
2784 {
2785 "id": 22,
2786 "origin_id": 14,
2787 "origin_slot": 0,
2788 "target_id": 13,
2789 "target_slot": 1,
2790 "type": "INT,FLOAT"
2791 },
2792 {
2793 "id": 19,
2794 "origin_id": 16,
2795 "origin_slot": 0,
2796 "target_id": 12,
2797 "target_slot": 0,
2798 "type": "INT,FLOAT"
2799 },
2800 {
2801 "id": 20,
2802 "origin_id": 14,
2803 "origin_slot": 0,
2804 "target_id": 12,
2805 "target_slot": 1,
2806 "type": "INT,FLOAT"
2807 },
2808 {
2809 "id": 23,
2810 "origin_id": 17,
2811 "origin_slot": 0,
2812 "target_id": 15,
2813 "target_slot": 0,
2814 "type": "INT,FLOAT"
2815 },
2816 {
2817 "id": 24,
2818 "origin_id": 14,
2819 "origin_slot": 0,
2820 "target_id": 15,
2821 "target_slot": 1,
2822 "type": "INT,FLOAT"
2823 },
2824 {
2825 "id": 5,
2826 "origin_id": 10,
2827 "origin_slot": 0,
2828 "target_id": 6,
2829 "target_slot": 0,
2830 "type": "IMAGE"
2831 },
2832 {
2833 "id": 29,
2834 "origin_id": -10,
2835 "origin_slot": 0,
2836 "target_id": 8,
2837 "target_slot": 0,
2838 "type": "IMAGE"
2839 },
2840 {
2841 "id": 30,
2842 "origin_id": -10,
2843 "origin_slot": 0,
2844 "target_id": 9,
2845 "target_slot": 0,
2846 "type": "IMAGE"
2847 },
2848 {
2849 "id": 36,
2850 "origin_id": -10,
2851 "origin_slot": 0,
2852 "target_id": 11,
2853 "target_slot": 0,
2854 "type": "IMAGE"
2855 },
2856 {
2857 "id": 35,
2858 "origin_id": -10,
2859 "origin_slot": 0,
2860 "target_id": 10,
2861 "target_slot": 0,
2862 "type": "IMAGE"
2863 },
2864 {
2865 "id": 27,
2866 "origin_id": -10,
2867 "origin_slot": 0,
2868 "target_id": 17,
2869 "target_slot": 0,
2870 "type": "IMAGE"
2871 },
2872 {
2873 "id": 28,
2874 "origin_id": -10,
2875 "origin_slot": 1,
2876 "target_id": 14,
2877 "target_slot": 0,
2878 "type": "INT,FLOAT"
2879 },
2880 {
2881 "id": 37,
2882 "origin_id": 8,
2883 "origin_slot": 0,
2884 "target_id": -20,
2885 "target_slot": 0,
2886 "type": "IMAGE"
2887 },
2888 {
2889 "id": 38,
2890 "origin_id": 9,
2891 "origin_slot": 0,
2892 "target_id": -20,
2893 "target_slot": 1,
2894 "type": "IMAGE"
2895 },
2896 {
2897 "id": 39,
2898 "origin_id": 10,
2899 "origin_slot": 0,
2900 "target_id": -20,
2901 "target_slot": 2,
2902 "type": "IMAGE"
2903 },
2904 {
2905 "id": 40,
2906 "origin_id": 11,
2907 "origin_slot": 0,
2908 "target_id": -20,
2909 "target_slot": 3,
2910 "type": "IMAGE"
2911 },
2912 {
2913 "id": 46,
2914 "origin_id": 19,
2915 "origin_slot": 0,
2916 "target_id": 20,
2917 "target_slot": 0,
2918 "type": "IMAGE"
2919 },
2920 {
2921 "id": 49,
2922 "origin_id": 20,
2923 "origin_slot": 0,
2924 "target_id": -20,
2925 "target_slot": 4,
2926 "type": "IMAGE"
2927 },
2928 {
2929 "id": 50,
2930 "origin_id": 20,
2931 "origin_slot": 0,
2932 "target_id": 21,
2933 "target_slot": 0,
2934 "type": "IMAGE"
2935 },
2936 {
2937 "id": 51,
2938 "origin_id": 17,
2939 "origin_slot": 1,
2940 "target_id": 22,
2941 "target_slot": 0,
2942 "type": "INT,FLOAT"
2943 },
2944 {
2945 "id": 53,
2946 "origin_id": 17,
2947 "origin_slot": 0,
2948 "target_id": 23,
2949 "target_slot": 0,
2950 "type": "INT,FLOAT"
2951 },
2952 {
2953 "id": 55,
2954 "origin_id": 22,
2955 "origin_slot": 0,
2956 "target_id": 20,
2957 "target_slot": 3,
2958 "type": "INT"
2959 },
2960 {
2961 "id": 56,
2962 "origin_id": 23,
2963 "origin_slot": 0,
2964 "target_id": 20,
2965 "target_slot": 2,
2966 "type": "INT"
2967 },
2968 {
2969 "id": 57,
2970 "origin_id": 14,
2971 "origin_slot": 0,
2972 "target_id": 24,
2973 "target_slot": 1,
2974 "type": "INT,FLOAT"
2975 },
2976 {
2977 "id": 58,
2978 "origin_id": 24,
2979 "origin_slot": 0,
2980 "target_id": 8,
2981 "target_slot": 3,
2982 "type": "INT"
2983 },
2984 {
2985 "id": 59,
2986 "origin_id": 24,
2987 "origin_slot": 0,
2988 "target_id": 10,
2989 "target_slot": 3,
2990 "type": "INT"
2991 },
2992 {
2993 "id": 60,
2994 "origin_id": 24,
2995 "origin_slot": 0,
2996 "target_id": 8,
2997 "target_slot": 4,
2998 "type": "INT"
2999 },
3000 {
3001 "id": 72,
3002 "origin_id": 8,
3003 "origin_slot": 0,
3004 "target_id": 19,
3005 "target_slot": 0,
3006 "type": "IMAGE"
3007 },
3008 {
3009 "id": 73,
3010 "origin_id": 9,
3011 "origin_slot": 0,
3012 "target_id": 19,
3013 "target_slot": 1,
3014 "type": "IMAGE"
3015 },
3016 {
3017 "id": 74,
3018 "origin_id": 10,
3019 "origin_slot": 0,
3020 "target_id": 19,
3021 "target_slot": 2,
3022 "type": "IMAGE"
3023 },
3024 {
3025 "id": 75,
3026 "origin_id": 11,
3027 "origin_slot": 0,
3028 "target_id": 19,
3029 "target_slot": 3,
3030 "type": "IMAGE"
3031 }
3032 ],
3033 "extra": {
3034 "workflowRendererVersion": "LG"
3035 }
3036 }
3037 ]
3038 },
3039 "config": [],
3040 "extra": {
3041 "ds": {
3042 "scale": 0.2304878048780488,
3043 "offset": [
3044 1470,
3045 1249.3915343915344
3046 ]
3047 },
3048 "frontendVersion": "1.35.4",
3049 "VHS_latentpreview": false,
3050 "VHS_latentpreviewrate": 0,
3051 "VHS_MetadataImage": true,
3052 "VHS_KeepIntermediate": true
3053 },
3054 "version": 0.4
3055}