ComfyPilotComfyPilot
工作流 / 角色与时尚 / 自拍 + 文本提示词到工作室摄影涂鸦
自拍 + 文本提示词到工作室摄影涂鸦

自拍 + 文本提示词到工作室摄影涂鸦

Selfie + Text Prompt to Studio Photoshoot Doodle

上传一张自拍照并在提示词中描述你的着装。生成4张带有趣味涂鸦插画的时尚编辑照片。选择要放大的图像并添加面部详情。

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

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

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

节点构成

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