ComfyPilotComfyPilot
工作流 / 视频工具 / 画幅扩展: Kling O3
画幅扩展: Kling O3

画幅扩展: Kling O3

Aspect Ratio Extend: Kling O3

将任何视频扩展到自定义宽高比。将垂直视频转换为水平格式,反之亦然。包含易于使用的应用程序模式。

视频工具 9 个节点 1 个输入 70 次使用 ComfyUI ≥ 0.16.0 shane 33 KB

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

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

节点构成

GetVideoComponents × 1
LoadVideo × 1
Video Slice × 1
7594b5c0-2b90-4aeb-846b-e3eb8fa89f33 × 1
CreateVideo × 1
KlingOmniProEditVideoNode × 1
SaveVideo × 1
Note × 1
JWImageResizeByShorterSide × 1

官方标注的模型

Kling O3

工作流 JSON

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

1{
2 "id": "00000000-0000-0000-0000-000000000000",
3 "revision": 0,
4 "last_node_id": 304,
5 "last_link_id": 641,
6 "nodes": [
7 {
8 "id": 248,
9 "type": "GetVideoComponents",
10 "pos": [
11 1829.9999084472656,
12 509.99999618530273
13 ],
14 "size": [
15 230,
16 120
17 ],
18 "flags": {
19 "collapsed": false
20 },
21 "order": 3,
22 "mode": 0,
23 "inputs": [
24 {
25 "name": "video",
26 "type": "VIDEO",
27 "link": 493
28 }
29 ],
30 "outputs": [
31 {
32 "name": "images",
33 "type": "IMAGE",
34 "links": [
35 634
36 ]
37 },
38 {
39 "name": "audio",
40 "type": "AUDIO",
41 "links": [
42 611
43 ]
44 },
45 {
46 "name": "fps",
47 "type": "FLOAT",
48 "links": [
49 612
50 ]
51 }
52 ],
53 "properties": {
54 "Node name for S&R": "GetVideoComponents",
55 "cnr_id": "comfy-core",
56 "ver": "0.18.1",
57 "widget_ue_connectable": []
58 },
59 "widgets_values": []
60 },
61 {
62 "id": 247,
63 "type": "LoadVideo",
64 "pos": [
65 850.0000133514404,
66 499.9999828338623
67 ],
68 "size": [
69 640,
70 490
71 ],
72 "flags": [],
73 "order": 0,
74 "mode": 0,
75 "inputs": [],
76 "outputs": [
77 {
78 "name": "VIDEO",
79 "type": "VIDEO",
80 "links": [
81 501
82 ]
83 }
84 ],
85 "properties": {
86 "Node name for S&R": "LoadVideo",
87 "cnr_id": "comfy-core",
88 "ver": "0.12.3",
89 "widget_ue_connectable": []
90 },
91 "widgets_values": [
92 "animated_man_framing.mp4",
93 "image"
94 ]
95 },
96 {
97 "id": 254,
98 "type": "Video Slice",
99 "pos": [
100 1539.9998931884766,
101 509.99999618530273
102 ],
103 "size": [
104 270,
105 170
106 ],
107 "flags": [],
108 "order": 2,
109 "mode": 0,
110 "inputs": [
111 {
112 "name": "video",
113 "type": "VIDEO",
114 "link": 501
115 }
116 ],
117 "outputs": [
118 {
119 "name": "VIDEO",
120 "type": "VIDEO",
121 "links": [
122 493
123 ]
124 }
125 ],
126 "properties": {
127 "Node name for S&R": "Video Slice",
128 "cnr_id": "comfy-core",
129 "ver": "0.18.1",
130 "widget_ue_connectable": []
131 },
132 "widgets_values": [
133 0,
134 0,
135 false
136 ]
137 },
138 {
139 "id": 252,
140 "type": "7594b5c0-2b90-4aeb-846b-e3eb8fa89f33",
141 "pos": [
142 2490.000045776367,
143 640.000020980835
144 ],
145 "size": [
146 400,
147 150
148 ],
149 "flags": [],
150 "order": 5,
151 "mode": 0,
152 "inputs": [
153 {
154 "name": "image",
155 "type": "IMAGE",
156 "link": 639
157 }
158 ],
159 "outputs": [
160 {
161 "name": "IMAGE",
162 "type": "IMAGE",
163 "links": [
164 494
165 ]
166 },
167 {
168 "name": "MASK",
169 "type": "MASK",
170 "links": []
171 }
172 ],
173 "properties": {
174 "proxyWidgets": [
175 [
176 "233",
177 "$$canvas-image-preview"
178 ],
179 [
180 "232",
181 "$$canvas-image-preview"
182 ],
183 [
184 "234",
185 "$$canvas-image-preview"
186 ],
187 [
188 "285",
189 "aspect_ratio"
190 ]
191 ],
192 "cnr_id": "comfy-core",
193 "ver": "0.18.1",
194 "widget_ue_connectable": []
195 },
196 "widgets_values": []
197 },
198 {
199 "id": 249,
200 "type": "CreateVideo",
201 "pos": [
202 2920.000099182129,
203 509.99999618530273
204 ],
205 "size": [
206 230,
207 130
208 ],
209 "flags": [],
210 "order": 6,
211 "mode": 0,
212 "inputs": [
213 {
214 "name": "images",
215 "type": "IMAGE",
216 "link": 494
217 },
218 {
219 "name": "audio",
220 "shape": 7,
221 "type": "AUDIO",
222 "link": 611
223 },
224 {
225 "name": "fps",
226 "type": "FLOAT",
227 "widget": {
228 "name": "fps"
229 },
230 "link": 612
231 }
232 ],
233 "outputs": [
234 {
235 "name": "VIDEO",
236 "type": "VIDEO",
237 "links": [
238 491
239 ]
240 }
241 ],
242 "properties": {
243 "Node name for S&R": "CreateVideo",
244 "cnr_id": "comfy-core",
245 "ver": "0.18.1",
246 "widget_ue_connectable": []
247 },
248 "widgets_values": [
249 30
250 ]
251 },
252 {
253 "id": 245,
254 "type": "KlingOmniProEditVideoNode",
255 "pos": [
256 3250.0001678466797,
257 499.9999828338623
258 ],
259 "size": [
260 430,
261 360
262 ],
263 "flags": [],
264 "order": 7,
265 "mode": 0,
266 "inputs": [
267 {
268 "name": "video",
269 "type": "VIDEO",
270 "link": 491
271 },
272 {
273 "name": "reference_images",
274 "shape": 7,
275 "type": "IMAGE",
276 "link": null
277 }
278 ],
279 "outputs": [
280 {
281 "name": "VIDEO",
282 "type": "VIDEO",
283 "links": [
284 640
285 ]
286 }
287 ],
288 "properties": {
289 "Node name for S&R": "KlingOmniProEditVideoNode",
290 "cnr_id": "comfy-core",
291 "ver": "0.12.3",
292 "widget_ue_connectable": []
293 },
294 "widgets_values": [
295 "kling-v3-omni",
296 "remove and outpaint the white borders of the video",
297 true,
298 "1080p",
299 1652002455,
300 "randomize"
301 ],
302 "color": "#432",
303 "bgcolor": "#653"
304 },
305 {
306 "id": 270,
307 "type": "SaveVideo",
308 "pos": [
309 3750.0000915527344,
310 439.9999771118164
311 ],
312 "size": [
313 590,
314 1230
315 ],
316 "flags": {
317 "collapsed": false
318 },
319 "order": 8,
320 "mode": 0,
321 "inputs": [
322 {
323 "name": "video",
324 "type": "VIDEO",
325 "link": 640
326 }
327 ],
328 "outputs": [],
329 "properties": {
330 "Node name for S&R": "SaveVideo",
331 "cnr_id": "comfy-core",
332 "ver": "0.12.3",
333 "widget_ue_connectable": []
334 },
335 "widgets_values": [
336 "video/9x16",
337 "auto",
338 "auto"
339 ]
340 },
341 {
342 "id": 295,
343 "type": "Note",
344 "pos": [
345 2119.9999237060547,
346 1029.9999465942383
347 ],
348 "size": [
349 580,
350 230
351 ],
352 "flags": [],
353 "order": 1,
354 "mode": 0,
355 "inputs": [],
356 "outputs": [],
357 "properties": [],
358 "widgets_values": [
359 "Adjust the offsets to reframe the video vertically or horizontally before extension\n\nThis workflow is only designed for horizontal to vertical and vice versa. If you want to adjust the aspect ratio only slightly or to 1x1 square format, Kling Video Edit node is not recommended."
360 ],
361 "color": "#222",
362 "bgcolor": "#000"
363 },
364 {
365 "id": 302,
366 "type": "JWImageResizeByShorterSide",
367 "pos": [
368 2140.000099182129,
369 640.000020980835
370 ],
371 "size": [
372 300,
373 140
374 ],
375 "flags": [],
376 "order": 4,
377 "mode": 0,
378 "inputs": [
379 {
380 "name": "image",
381 "type": "IMAGE",
382 "link": 634
383 }
384 ],
385 "outputs": [
386 {
387 "name": "IMAGE",
388 "type": "IMAGE",
389 "links": [
390 639
391 ]
392 }
393 ],
394 "properties": {
395 "Node name for S&R": "JWImageResizeByShorterSide"
396 },
397 "widgets_values": [
398 1080,
399 "bicubic"
400 ]
401 }
402 ],
403 "links": [
404 [
405 491,
406 249,
407 0,
408 245,
409 0,
410 "VIDEO"
411 ],
412 [
413 493,
414 254,
415 0,
416 248,
417 0,
418 "VIDEO"
419 ],
420 [
421 494,
422 252,
423 0,
424 249,
425 0,
426 "IMAGE"
427 ],
428 [
429 501,
430 247,
431 0,
432 254,
433 0,
434 "VIDEO"
435 ],
436 [
437 611,
438 248,
439 1,
440 249,
441 1,
442 "AUDIO"
443 ],
444 [
445 612,
446 248,
447 2,
448 249,
449 2,
450 "FLOAT"
451 ],
452 [
453 634,
454 248,
455 0,
456 302,
457 0,
458 "IMAGE"
459 ],
460 [
461 639,
462 302,
463 0,
464 252,
465 0,
466 "IMAGE"
467 ],
468 [
469 640,
470 245,
471 0,
472 270,
473 0,
474 "VIDEO"
475 ]
476 ],
477 "groups": [
478 {
479 "id": 5,
480 "title": "Video Resize and Extend",
481 "bounding": [
482 2120,
483 410,
484 1060,
485 560
486 ],
487 "color": "#3f789e",
488 "font_size": 24,
489 "flags": []
490 },
491 {
492 "id": 6,
493 "title": "Input Video",
494 "bounding": [
495 830,
496 420,
497 690,
498 620
499 ],
500 "color": "#8A8",
501 "font_size": 24,
502 "flags": []
503 },
504 {
505 "id": 7,
506 "title": "Video Outpaint",
507 "bounding": [
508 3210,
509 410,
510 500,
511 560
512 ],
513 "color": "#3f789e",
514 "font_size": 24,
515 "flags": []
516 }
517 ],
518 "definitions": {
519 "subgraphs": [
520 {
521 "id": "7594b5c0-2b90-4aeb-846b-e3eb8fa89f33",
522 "version": 1,
523 "state": {
524 "lastGroupId": 8,
525 "lastNodeId": 304,
526 "lastLinkId": 641,
527 "lastRerouteId": 2
528 },
529 "revision": 0,
530 "config": [],
531 "name": "Video Extend",
532 "inputNode": {
533 "id": -10,
534 "bounding": [
535 -2390,
536 610,
537 120,
538 60
539 ]
540 },
541 "outputNode": {
542 "id": -20,
543 "bounding": [
544 110.99131176844274,
545 366.6738400794415,
546 120,
547 80
548 ]
549 },
550 "inputs": [
551 {
552 "id": "190e929c-5f4a-4ae7-8294-b948fcc0806d",
553 "name": "image",
554 "type": "IMAGE",
555 "linkIds": [
556 429,
557 430
558 ],
559 "localized_name": "image",
560 "pos": [
561 -2290,
562 630
563 ]
564 }
565 ],
566 "outputs": [
567 {
568 "id": "df58d266-37ca-4c0a-a9bb-db0887941c34",
569 "name": "IMAGE",
570 "type": "IMAGE",
571 "linkIds": [
572 275,
573 275
574 ],
575 "localized_name": "IMAGE",
576 "pos": [
577 130.99131176844276,
578 386.6738400794415
579 ]
580 },
581 {
582 "id": "844db080-9f93-4ca2-ab10-bb75acec9f2c",
583 "name": "MASK",
584 "type": "MASK",
585 "linkIds": [
586 533
587 ],
588 "pos": [
589 130.99131176844276,
590 406.6738400794415
591 ]
592 }
593 ],
594 "widgets": [],
595 "nodes": [
596 {
597 "id": 229,
598 "type": "LayerUtility: ColorImage V2",
599 "pos": [
600 -1260,
601 20
602 ],
603 "size": [
604 330,
605 210
606 ],
607 "flags": [],
608 "order": 10,
609 "mode": 0,
610 "inputs": [
611 {
612 "localized_name": "size_as",
613 "name": "size_as",
614 "shape": 7,
615 "type": "*",
616 "link": null
617 },
618 {
619 "localized_name": "custom_width",
620 "name": "custom_width",
621 "type": "INT",
622 "widget": {
623 "name": "custom_width"
624 },
625 "link": 460
626 },
627 {
628 "localized_name": "custom_height",
629 "name": "custom_height",
630 "type": "INT",
631 "widget": {
632 "name": "custom_height"
633 },
634 "link": 461
635 }
636 ],
637 "outputs": [
638 {
639 "localized_name": "image",
640 "name": "image",
641 "type": "IMAGE",
642 "links": [
643 447,
644 448
645 ]
646 }
647 ],
648 "properties": {
649 "Node name for S&R": "LayerUtility: ColorImage V2",
650 "cnr_id": "comfyui_layerstyle",
651 "ver": "1.0.90",
652 "widget_ue_connectable": []
653 },
654 "widgets_values": [
655 "custom",
656 512,
657 512,
658 "#ffffff"
659 ],
660 "color": "rgba(38, 73, 116, 0.7)"
661 },
662 {
663 "id": 230,
664 "type": "LayerUtility: ColorImage V2",
665 "pos": [
666 -1260,
667 270
668 ],
669 "size": [
670 330,
671 210
672 ],
673 "flags": [],
674 "order": 2,
675 "mode": 0,
676 "inputs": [
677 {
678 "localized_name": "size_as",
679 "name": "size_as",
680 "shape": 7,
681 "type": "*",
682 "link": null
683 },
684 {
685 "localized_name": "custom_width",
686 "name": "custom_width",
687 "type": "INT",
688 "widget": {
689 "name": "custom_width"
690 },
691 "link": 607
692 },
693 {
694 "localized_name": "custom_height",
695 "name": "custom_height",
696 "type": "INT",
697 "widget": {
698 "name": "custom_height"
699 },
700 "link": 609
701 }
702 ],
703 "outputs": [
704 {
705 "localized_name": "image",
706 "name": "image",
707 "type": "IMAGE",
708 "links": [
709 451
710 ]
711 }
712 ],
713 "properties": {
714 "Node name for S&R": "LayerUtility: ColorImage V2",
715 "cnr_id": "comfyui_layerstyle",
716 "ver": "1.0.90",
717 "widget_ue_connectable": []
718 },
719 "widgets_values": [
720 "custom",
721 512,
722 512,
723 "#000000"
724 ],
725 "color": "rgba(38, 73, 116, 0.7)"
726 },
727 {
728 "id": 233,
729 "type": "PreviewImage",
730 "pos": [
731 240,
732 0
733 ],
734 "size": [
735 380,
736 420
737 ],
738 "flags": [],
739 "order": 12,
740 "mode": 4,
741 "inputs": [
742 {
743 "localized_name": "images",
744 "name": "images",
745 "type": "IMAGE",
746 "link": 462
747 }
748 ],
749 "outputs": [],
750 "properties": {
751 "Node name for S&R": "PreviewImage",
752 "cnr_id": "comfy-core",
753 "ver": "0.18.1",
754 "widget_ue_connectable": []
755 },
756 "widgets_values": []
757 },
758 {
759 "id": 232,
760 "type": "PreviewImage",
761 "pos": [
762 250,
763 520
764 ],
765 "size": [
766 380,
767 420
768 ],
769 "flags": [],
770 "order": 11,
771 "mode": 4,
772 "inputs": [
773 {
774 "localized_name": "images",
775 "name": "images",
776 "type": "IMAGE",
777 "link": 459
778 }
779 ],
780 "outputs": [],
781 "properties": {
782 "Node name for S&R": "PreviewImage",
783 "cnr_id": "comfy-core",
784 "ver": "0.18.1",
785 "widget_ue_connectable": []
786 },
787 "widgets_values": []
788 },
789 {
790 "id": 163,
791 "type": "Get Image Size",
792 "pos": [
793 -1590,
794 70
795 ],
796 "size": [
797 230,
798 100
799 ],
800 "flags": [],
801 "order": 8,
802 "mode": 0,
803 "inputs": [
804 {
805 "localized_name": "image",
806 "name": "image",
807 "type": "IMAGE",
808 "link": 429
809 }
810 ],
811 "outputs": [
812 {
813 "localized_name": "width",
814 "name": "width",
815 "type": "INT",
816 "slot_index": 0,
817 "links": [
818 460
819 ]
820 },
821 {
822 "localized_name": "height",
823 "name": "height",
824 "type": "INT",
825 "slot_index": 1,
826 "links": [
827 461
828 ]
829 }
830 ],
831 "properties": {
832 "Node name for S&R": "Get Image Size",
833 "cnr_id": "masquerade-nodes-comfyui",
834 "ver": "432cb4d146a391b387a0cd25ace824328b5b61cf",
835 "enableTabs": false,
836 "hasSecondTab": false,
837 "secondTabOffset": 80,
838 "secondTabText": "Send Back",
839 "secondTabWidth": 65,
840 "tabWidth": 65,
841 "tabXOffset": 10,
842 "widget_ue_connectable": []
843 },
844 "widgets_values": []
845 },
846 {
847 "id": 234,
848 "type": "PreviewImage",
849 "pos": [
850 -810,
851 780
852 ],
853 "size": [
854 380,
855 420
856 ],
857 "flags": [],
858 "order": 4,
859 "mode": 4,
860 "inputs": [
861 {
862 "localized_name": "images",
863 "name": "images",
864 "type": "IMAGE",
865 "link": 466
866 }
867 ],
868 "outputs": [],
869 "properties": {
870 "Node name for S&R": "PreviewImage",
871 "cnr_id": "comfy-core",
872 "ver": "0.18.1",
873 "widget_ue_connectable": []
874 },
875 "widgets_values": []
876 },
877 {
878 "id": 162,
879 "type": "ImageRemoveAlpha+",
880 "pos": [
881 -350,
882 530
883 ],
884 "size": [
885 300,
886 80
887 ],
888 "flags": [],
889 "order": 7,
890 "mode": 0,
891 "inputs": [
892 {
893 "localized_name": "image",
894 "name": "image",
895 "type": "IMAGE",
896 "link": 263
897 }
898 ],
899 "outputs": [
900 {
901 "localized_name": "IMAGE",
902 "name": "IMAGE",
903 "type": "IMAGE",
904 "slot_index": 0,
905 "links": [
906 275,
907 459
908 ]
909 }
910 ],
911 "properties": {
912 "Node name for S&R": "ImageRemoveAlpha+",
913 "cnr_id": "comfyui_essentials",
914 "ver": "1.1.0",
915 "enableTabs": false,
916 "hasSecondTab": false,
917 "secondTabOffset": 80,
918 "secondTabText": "Send Back",
919 "secondTabWidth": 65,
920 "tabWidth": 65,
921 "tabXOffset": 10,
922 "widget_ue_connectable": []
923 },
924 "widgets_values": []
925 },
926 {
927 "id": 153,
928 "type": "ImageToMask",
929 "pos": [
930 -810,
931 280
932 ],
933 "size": [
934 350,
935 110
936 ],
937 "flags": [],
938 "order": 6,
939 "mode": 0,
940 "inputs": [
941 {
942 "localized_name": "image",
943 "name": "image",
944 "type": "IMAGE",
945 "link": 249
946 }
947 ],
948 "outputs": [
949 {
950 "localized_name": "MASK",
951 "name": "MASK",
952 "type": "MASK",
953 "slot_index": 0,
954 "links": [
955 533
956 ]
957 }
958 ],
959 "properties": {
960 "Node name for S&R": "ImageToMask",
961 "cnr_id": "comfy-core",
962 "ver": "0.3.39",
963 "enableTabs": false,
964 "hasSecondTab": false,
965 "secondTabOffset": 80,
966 "secondTabText": "Send Back",
967 "secondTabWidth": 65,
968 "tabWidth": 65,
969 "tabXOffset": 10,
970 "widget_ue_connectable": []
971 },
972 "widgets_values": [
973 "red"
974 ]
975 },
976 {
977 "id": 152,
978 "type": "Paste By Mask",
979 "pos": [
980 -820,
981 10
982 ],
983 "size": [
984 350,
985 180
986 ],
987 "flags": [],
988 "order": 5,
989 "mode": 0,
990 "inputs": [
991 {
992 "localized_name": "image_base",
993 "name": "image_base",
994 "type": "IMAGE",
995 "link": 451
996 },
997 {
998 "localized_name": "image_to_paste",
999 "name": "image_to_paste",
1000 "type": "IMAGE",
1001 "link": 447
1002 },
1003 {
1004 "localized_name": "mask",
1005 "name": "mask",
1006 "type": "IMAGE",
1007 "link": 448
1008 },
1009 {
1010 "localized_name": "mask_mapping_optional",
1011 "name": "mask_mapping_optional",
1012 "shape": 7,
1013 "type": "MASK_MAPPING",
1014 "link": null
1015 }
1016 ],
1017 "outputs": [
1018 {
1019 "localized_name": "IMAGE",
1020 "name": "IMAGE",
1021 "type": "IMAGE",
1022 "slot_index": 0,
1023 "links": [
1024 249,
1025 267,
1026 462
1027 ]
1028 }
1029 ],
1030 "properties": {
1031 "Node name for S&R": "Paste By Mask",
1032 "cnr_id": "masquerade-nodes-comfyui",
1033 "ver": "432cb4d146a391b387a0cd25ace824328b5b61cf",
1034 "enableTabs": false,
1035 "hasSecondTab": false,
1036 "secondTabOffset": 80,
1037 "secondTabText": "Send Back",
1038 "secondTabWidth": 65,
1039 "tabWidth": 65,
1040 "tabXOffset": 10,
1041 "widget_ue_connectable": []
1042 },
1043 "widgets_values": [
1044 "keep_ratio_fit"
1045 ]
1046 },
1047 {
1048 "id": 165,
1049 "type": "Paste By Mask",
1050 "pos": [
1051 -810,
1052 530
1053 ],
1054 "size": [
1055 350,
1056 180
1057 ],
1058 "flags": [],
1059 "order": 9,
1060 "mode": 0,
1061 "inputs": [
1062 {
1063 "localized_name": "image_base",
1064 "name": "image_base",
1065 "type": "IMAGE",
1066 "link": 454
1067 },
1068 {
1069 "localized_name": "image_to_paste",
1070 "name": "image_to_paste",
1071 "type": "IMAGE",
1072 "link": 430
1073 },
1074 {
1075 "localized_name": "mask",
1076 "name": "mask",
1077 "type": "IMAGE",
1078 "link": 267
1079 },
1080 {
1081 "localized_name": "mask_mapping_optional",
1082 "name": "mask_mapping_optional",
1083 "shape": 7,
1084 "type": "MASK_MAPPING",
1085 "link": null
1086 }
1087 ],
1088 "outputs": [
1089 {
1090 "localized_name": "IMAGE",
1091 "name": "IMAGE",
1092 "type": "IMAGE",
1093 "slot_index": 0,
1094 "links": [
1095 263
1096 ]
1097 }
1098 ],
1099 "properties": {
1100 "Node name for S&R": "Paste By Mask",
1101 "cnr_id": "masquerade-nodes-comfyui",
1102 "ver": "432cb4d146a391b387a0cd25ace824328b5b61cf",
1103 "enableTabs": false,
1104 "hasSecondTab": false,
1105 "secondTabOffset": 80,
1106 "secondTabText": "Send Back",
1107 "secondTabWidth": 65,
1108 "tabWidth": 65,
1109 "tabXOffset": 10,
1110 "widget_ue_connectable": []
1111 },
1112 "widgets_values": [
1113 "keep_ratio_fit"
1114 ]
1115 },
1116 {
1117 "id": 231,
1118 "type": "LayerUtility: ColorImage V2",
1119 "pos": [
1120 -1250,
1121 530
1122 ],
1123 "size": [
1124 330,
1125 210
1126 ],
1127 "flags": [],
1128 "order": 3,
1129 "mode": 0,
1130 "inputs": [
1131 {
1132 "localized_name": "size_as",
1133 "name": "size_as",
1134 "shape": 7,
1135 "type": "*",
1136 "link": null
1137 },
1138 {
1139 "localized_name": "custom_width",
1140 "name": "custom_width",
1141 "type": "INT",
1142 "widget": {
1143 "name": "custom_width"
1144 },
1145 "link": 608
1146 },
1147 {
1148 "localized_name": "custom_height",
1149 "name": "custom_height",
1150 "type": "INT",
1151 "widget": {
1152 "name": "custom_height"
1153 },
1154 "link": 610
1155 }
1156 ],
1157 "outputs": [
1158 {
1159 "localized_name": "image",
1160 "name": "image",
1161 "type": "IMAGE",
1162 "links": [
1163 454,
1164 466
1165 ]
1166 }
1167 ],
1168 "properties": {
1169 "Node name for S&R": "LayerUtility: ColorImage V2",
1170 "cnr_id": "comfyui_layerstyle",
1171 "ver": "1.0.90",
1172 "widget_ue_connectable": []
1173 },
1174 "widgets_values": [
1175 "custom",
1176 512,
1177 512,
1178 "#ffffff"
1179 ],
1180 "color": "rgba(38, 73, 116, 0.7)"
1181 },
1182 {
1183 "id": 228,
1184 "type": "MarkdownNote",
1185 "pos": [
1186 -1580,
1187 530
1188 ],
1189 "size": [
1190 260,
1191 200
1192 ],
1193 "flags": [],
1194 "order": 0,
1195 "mode": 0,
1196 "inputs": [],
1197 "outputs": [],
1198 "title": "Change Fill Color",
1199 "properties": {
1200 "widget_ue_connectable": []
1201 },
1202 "widgets_values": [
1203 "## Tips\n\n- If your image doesn't have enough contrast to the empty area, change the background color here 👉"
1204 ],
1205 "color": "#222",
1206 "bgcolor": "#000"
1207 },
1208 {
1209 "id": 285,
1210 "type": "ResolutionSelector",
1211 "pos": [
1212 -1590,
1213 250
1214 ],
1215 "size": [
1216 270,
1217 170
1218 ],
1219 "flags": [],
1220 "order": 1,
1221 "mode": 0,
1222 "inputs": [],
1223 "outputs": [
1224 {
1225 "localized_name": "width",
1226 "name": "width",
1227 "type": "INT",
1228 "links": [
1229 607,
1230 608
1231 ]
1232 },
1233 {
1234 "localized_name": "height",
1235 "name": "height",
1236 "type": "INT",
1237 "links": [
1238 609,
1239 610
1240 ]
1241 }
1242 ],
1243 "properties": {
1244 "Node name for S&R": "ResolutionSelector",
1245 "cnr_id": "comfy-core",
1246 "ver": "0.18.1",
1247 "widget_ue_connectable": []
1248 },
1249 "widgets_values": [
1250 "9:16 (Portrait Widescreen)",
1251 2
1252 ]
1253 }
1254 ],
1255 "groups": [
1256 {
1257 "id": 4,
1258 "title": "autoExtend",
1259 "bounding": [
1260 -1620,
1261 -60,
1262 1670,
1263 1310
1264 ],
1265 "color": "#3f789e",
1266 "font_size": 22,
1267 "flags": []
1268 }
1269 ],
1270 "links": [
1271 {
1272 "id": 249,
1273 "origin_id": 152,
1274 "origin_slot": 0,
1275 "target_id": 153,
1276 "target_slot": 0,
1277 "type": "IMAGE"
1278 },
1279 {
1280 "id": 267,
1281 "origin_id": 152,
1282 "origin_slot": 0,
1283 "target_id": 165,
1284 "target_slot": 2,
1285 "type": "IMAGE"
1286 },
1287 {
1288 "id": 263,
1289 "origin_id": 165,
1290 "origin_slot": 0,
1291 "target_id": 162,
1292 "target_slot": 0,
1293 "type": "IMAGE"
1294 },
1295 {
1296 "id": 429,
1297 "origin_id": -10,
1298 "origin_slot": 0,
1299 "target_id": 163,
1300 "target_slot": 0,
1301 "type": "IMAGE"
1302 },
1303 {
1304 "id": 430,
1305 "origin_id": -10,
1306 "origin_slot": 0,
1307 "target_id": 165,
1308 "target_slot": 1,
1309 "type": "IMAGE"
1310 },
1311 {
1312 "id": 275,
1313 "origin_id": 162,
1314 "origin_slot": 0,
1315 "target_id": -20,
1316 "target_slot": 0,
1317 "type": "IMAGE"
1318 },
1319 {
1320 "id": 447,
1321 "origin_id": 229,
1322 "origin_slot": 0,
1323 "target_id": 152,
1324 "target_slot": 1,
1325 "type": "IMAGE"
1326 },
1327 {
1328 "id": 448,
1329 "origin_id": 229,
1330 "origin_slot": 0,
1331 "target_id": 152,
1332 "target_slot": 2,
1333 "type": "IMAGE"
1334 },
1335 {
1336 "id": 451,
1337 "origin_id": 230,
1338 "origin_slot": 0,
1339 "target_id": 152,
1340 "target_slot": 0,
1341 "type": "IMAGE"
1342 },
1343 {
1344 "id": 454,
1345 "origin_id": 231,
1346 "origin_slot": 0,
1347 "target_id": 165,
1348 "target_slot": 0,
1349 "type": "IMAGE"
1350 },
1351 {
1352 "id": 459,
1353 "origin_id": 162,
1354 "origin_slot": 0,
1355 "target_id": 232,
1356 "target_slot": 0,
1357 "type": "IMAGE"
1358 },
1359 {
1360 "id": 460,
1361 "origin_id": 163,
1362 "origin_slot": 0,
1363 "target_id": 229,
1364 "target_slot": 1,
1365 "type": "INT"
1366 },
1367 {
1368 "id": 461,
1369 "origin_id": 163,
1370 "origin_slot": 1,
1371 "target_id": 229,
1372 "target_slot": 2,
1373 "type": "INT"
1374 },
1375 {
1376 "id": 462,
1377 "origin_id": 152,
1378 "origin_slot": 0,
1379 "target_id": 233,
1380 "target_slot": 0,
1381 "type": "IMAGE"
1382 },
1383 {
1384 "id": 466,
1385 "origin_id": 231,
1386 "origin_slot": 0,
1387 "target_id": 234,
1388 "target_slot": 0,
1389 "type": "IMAGE"
1390 },
1391 {
1392 "id": 533,
1393 "origin_id": 153,
1394 "origin_slot": 0,
1395 "target_id": -20,
1396 "target_slot": 1,
1397 "type": "MASK"
1398 },
1399 {
1400 "id": 607,
1401 "origin_id": 285,
1402 "origin_slot": 0,
1403 "target_id": 230,
1404 "target_slot": 1,
1405 "type": "INT"
1406 },
1407 {
1408 "id": 608,
1409 "origin_id": 285,
1410 "origin_slot": 0,
1411 "target_id": 231,
1412 "target_slot": 1,
1413 "type": "INT"
1414 },
1415 {
1416 "id": 609,
1417 "origin_id": 285,
1418 "origin_slot": 1,
1419 "target_id": 230,
1420 "target_slot": 2,
1421 "type": "INT"
1422 },
1423 {
1424 "id": 610,
1425 "origin_id": 285,
1426 "origin_slot": 1,
1427 "target_id": 231,
1428 "target_slot": 2,
1429 "type": "INT"
1430 }
1431 ],
1432 "extra": {
1433 "workflowRendererVersion": "Vue-corrected"
1434 }
1435 }
1436 ]
1437 },
1438 "config": [],
1439 "extra": {
1440 "frontendVersion": "1.41.13",
1441 "linearData": {
1442 "inputs": [
1443 [
1444 "247",
1445 "file"
1446 ],
1447 [
1448 254,
1449 "start_time"
1450 ],
1451 [
1452 254,
1453 "duration"
1454 ],
1455 [
1456 "285",
1457 "aspect_ratio"
1458 ],
1459 [
1460 245,
1461 "resolution"
1462 ]
1463 ],
1464 "outputs": [
1465 "270"
1466 ]
1467 },
1468 "VHS_KeepIntermediate": true,
1469 "VHS_MetadataImage": true,
1470 "VHS_latentpreview": false,
1471 "VHS_latentpreviewrate": 0,
1472 "linearMode": false,
1473 "links_added_by_ue": [],
1474 "ue_links": [],
1475 "ds": {
1476 "scale": 0.20512820512820512,
1477 "offset": [
1478 1163.83447265625,
1479 879.85498046875
1480 ]
1481 }
1482 },
1483 "version": 0.4
1484}