ComfyPilotComfyPilot
工作流 / 图像工具 / 图像扩图: FLUX.2 Klein 9B
图像扩图: FLUX.2 Klein 9B

图像扩图: FLUX.2 Klein 9B

Image Outpainting: FLUX.2 Klein 9B

使用FLUX.2 Klein 9B模型智能扩展和展开图像内容。输入图像以生成无缝扩图和扩展构图。

图像工具 24 个节点 1 个输入 221 次使用 ComfyUI ≥ 0.9.2 Doc_workBox 35 KB

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

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

需要的权重

这个工作流引用了 3 个权重文件,其中 3 个能在本站模型库里找到。

flux-2-klein-9b.safetensors 在模型库查看
flux2-vae.safetensors 在模型库查看
qwen_3_8b.safetensors 在模型库查看

节点构成

ReferenceLatent × 2
ImageScaleToTotalPixels × 2
SamplerCustomAdvanced × 1
GetImageSize × 1
ConditioningZeroOut × 1
VAEEncode × 1
UNETLoader × 1
SaveImage × 1
CLIPLoader × 1
VAELoader × 1
DrawMaskOnImage × 1
RandomNoise × 1
CFGGuider × 1
KSamplerSelect × 1
Flux2Scheduler × 1
EmptyFlux2LatentImage × 1

官方标注的模型

FLUX.2 Klein

工作流 JSON

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

1{
2 "id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e",
3 "revision": 0,
4 "last_node_id": 307,
5 "last_link_id": 538,
6 "nodes": [
7 {
8 "id": 133,
9 "type": "SamplerCustomAdvanced",
10 "pos": [
11 2330.0000197511044,
12 3099.999812382521
13 ],
14 "size": [
15 254.828125,
16 420
17 ],
18 "flags": [],
19 "order": 19,
20 "mode": 0,
21 "inputs": [
22 {
23 "label": "noise",
24 "name": "noise",
25 "type": "NOISE",
26 "link": 232
27 },
28 {
29 "label": "guider",
30 "name": "guider",
31 "type": "GUIDER",
32 "link": 233
33 },
34 {
35 "label": "sampler",
36 "name": "sampler",
37 "type": "SAMPLER",
38 "link": 234
39 },
40 {
41 "label": "sigmas",
42 "name": "sigmas",
43 "type": "SIGMAS",
44 "link": 235
45 },
46 {
47 "label": "latent_image",
48 "name": "latent_image",
49 "type": "LATENT",
50 "link": 236
51 }
52 ],
53 "outputs": [
54 {
55 "label": "output",
56 "name": "output",
57 "type": "LATENT",
58 "links": [
59 244
60 ]
61 },
62 {
63 "label": "denoised_output",
64 "name": "denoised_output",
65 "type": "LATENT",
66 "links": []
67 }
68 ],
69 "properties": {
70 "Node name for S&R": "SamplerCustomAdvanced",
71 "cnr_id": "comfy-core",
72 "ver": "0.8.2",
73 "enableTabs": false,
74 "hasSecondTab": false,
75 "secondTabOffset": 80,
76 "secondTabText": "Send Back",
77 "secondTabWidth": 65,
78 "tabWidth": 65,
79 "tabXOffset": 10,
80 "widget_ue_connectable": []
81 },
82 "widgets_values": []
83 },
84 {
85 "id": 143,
86 "type": "GetImageSize",
87 "pos": [
88 1300,
89 3770
90 ],
91 "size": [
92 225,
93 8
94 ],
95 "flags": {
96 "collapsed": true
97 },
98 "order": 12,
99 "mode": 0,
100 "inputs": [
101 {
102 "label": "image",
103 "name": "image",
104 "type": "IMAGE",
105 "link": 283
106 }
107 ],
108 "outputs": [
109 {
110 "label": "width",
111 "name": "width",
112 "type": "INT",
113 "links": [
114 240,
115 242
116 ]
117 },
118 {
119 "label": "height",
120 "name": "height",
121 "type": "INT",
122 "links": [
123 241,
124 243
125 ]
126 },
127 {
128 "label": "batch_size",
129 "name": "batch_size",
130 "type": "INT",
131 "links": []
132 }
133 ],
134 "properties": {
135 "Node name for S&R": "GetImageSize",
136 "cnr_id": "comfy-core",
137 "ver": "0.8.2",
138 "enableTabs": false,
139 "hasSecondTab": false,
140 "secondTabOffset": 80,
141 "secondTabText": "Send Back",
142 "secondTabWidth": 65,
143 "tabWidth": 65,
144 "tabXOffset": 10,
145 "widget_ue_connectable": []
146 },
147 "widgets_values": []
148 },
149 {
150 "id": 144,
151 "type": "ConditioningZeroOut",
152 "pos": [
153 1310,
154 3630
155 ],
156 "size": [
157 225,
158 8
159 ],
160 "flags": {
161 "collapsed": true
162 },
163 "order": 8,
164 "mode": 0,
165 "inputs": [
166 {
167 "label": "conditioning",
168 "name": "conditioning",
169 "type": "CONDITIONING",
170 "link": 250
171 }
172 ],
173 "outputs": [
174 {
175 "label": "CONDITIONING",
176 "name": "CONDITIONING",
177 "type": "CONDITIONING",
178 "links": [
179 258
180 ]
181 }
182 ],
183 "properties": {
184 "Node name for S&R": "ConditioningZeroOut",
185 "cnr_id": "comfy-core",
186 "ver": "0.9.1",
187 "enableTabs": false,
188 "hasSecondTab": false,
189 "secondTabOffset": 80,
190 "secondTabText": "Send Back",
191 "secondTabWidth": 65,
192 "tabWidth": 65,
193 "tabXOffset": 10,
194 "widget_ue_connectable": []
195 },
196 "widgets_values": []
197 },
198 {
199 "id": 145,
200 "type": "VAEEncode",
201 "pos": [
202 1300,
203 3890
204 ],
205 "size": [
206 225,
207 8
208 ],
209 "flags": {
210 "collapsed": true
211 },
212 "order": 13,
213 "mode": 0,
214 "inputs": [
215 {
216 "label": "pixels",
217 "name": "pixels",
218 "type": "IMAGE",
219 "link": 284
220 },
221 {
222 "label": "vae",
223 "name": "vae",
224 "type": "VAE",
225 "link": 252
226 }
227 ],
228 "outputs": [
229 {
230 "label": "LATENT",
231 "name": "LATENT",
232 "type": "LATENT",
233 "links": [
234 257,
235 259
236 ]
237 }
238 ],
239 "properties": {
240 "Node name for S&R": "VAEEncode",
241 "widget_ue_connectable": []
242 },
243 "widgets_values": []
244 },
245 {
246 "id": 148,
247 "type": "ReferenceLatent",
248 "pos": [
249 1600,
250 3670
251 ],
252 "size": [
253 225,
254 8
255 ],
256 "flags": {
257 "collapsed": true
258 },
259 "order": 16,
260 "mode": 0,
261 "inputs": [
262 {
263 "label": "conditioning",
264 "name": "conditioning",
265 "type": "CONDITIONING",
266 "link": 256
267 },
268 {
269 "label": "latent",
270 "name": "latent",
271 "shape": 7,
272 "type": "LATENT",
273 "link": 257
274 }
275 ],
276 "outputs": [
277 {
278 "label": "CONDITIONING",
279 "name": "CONDITIONING",
280 "type": "CONDITIONING",
281 "links": [
282 276
283 ]
284 }
285 ],
286 "properties": {
287 "Node name for S&R": "ReferenceLatent",
288 "widget_ue_connectable": []
289 },
290 "widgets_values": []
291 },
292 {
293 "id": 149,
294 "type": "ReferenceLatent",
295 "pos": [
296 1610,
297 3810
298 ],
299 "size": [
300 225,
301 8
302 ],
303 "flags": {
304 "collapsed": true
305 },
306 "order": 17,
307 "mode": 0,
308 "inputs": [
309 {
310 "label": "conditioning",
311 "name": "conditioning",
312 "type": "CONDITIONING",
313 "link": 258
314 },
315 {
316 "label": "latent",
317 "name": "latent",
318 "shape": 7,
319 "type": "LATENT",
320 "link": 259
321 }
322 ],
323 "outputs": [
324 {
325 "label": "CONDITIONING",
326 "name": "CONDITIONING",
327 "type": "CONDITIONING",
328 "links": [
329 277
330 ]
331 }
332 ],
333 "properties": {
334 "Node name for S&R": "ReferenceLatent",
335 "widget_ue_connectable": []
336 },
337 "widgets_values": []
338 },
339 {
340 "id": 158,
341 "type": "UNETLoader",
342 "pos": [
343 790.0000780093396,
344 3079.9997432809714
345 ],
346 "size": [
347 437.3125,
348 142.65625
349 ],
350 "flags": [],
351 "order": 0,
352 "mode": 0,
353 "inputs": [
354 {
355 "label": "unet_name",
356 "name": "unet_name",
357 "type": "COMBO",
358 "widget": {
359 "name": "unet_name"
360 }
361 },
362 {
363 "label": "weight_dtype",
364 "name": "weight_dtype",
365 "type": "COMBO",
366 "widget": {
367 "name": "weight_dtype"
368 }
369 }
370 ],
371 "outputs": [
372 {
373 "label": "MODEL",
374 "name": "MODEL",
375 "type": "MODEL",
376 "links": [
377 237
378 ]
379 }
380 ],
381 "properties": {
382 "Node name for S&R": "UNETLoader",
383 "cnr_id": "comfy-core",
384 "ver": "0.8.2",
385 "enableTabs": false,
386 "hasSecondTab": false,
387 "secondTabOffset": 80,
388 "secondTabText": "Send Back",
389 "secondTabWidth": 65,
390 "tabWidth": 65,
391 "tabXOffset": 10,
392 "widget_ue_connectable": [],
393 "models": [
394 {
395 "name": "flux-2-klein-9b.safetensors",
396 "url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/resolve/main/flux-2-klein-9b.safetensors",
397 "directory": "diffusion_models"
398 }
399 ]
400 },
401 "widgets_values": [
402 "flux-2-klein-9b.safetensors",
403 "default"
404 ]
405 },
406 {
407 "id": 142,
408 "type": "SaveImage",
409 "pos": [
410 3760,
411 3080
412 ],
413 "size": [
414 1080,
415 910
416 ],
417 "flags": [],
418 "order": 22,
419 "mode": 0,
420 "inputs": [
421 {
422 "label": "images",
423 "name": "images",
424 "type": "IMAGE",
425 "link": 290
426 },
427 {
428 "label": "filename_prefix",
429 "name": "filename_prefix",
430 "type": "STRING",
431 "widget": {
432 "name": "filename_prefix"
433 }
434 }
435 ],
436 "outputs": [
437 {
438 "label": "image_urls",
439 "name": "image_urls",
440 "type": "STRING"
441 }
442 ],
443 "properties": {
444 "Node name for S&R": "SaveImage",
445 "cnr_id": "comfy-core",
446 "ver": "0.8.2",
447 "enableTabs": false,
448 "hasSecondTab": false,
449 "secondTabOffset": 80,
450 "secondTabText": "Send Back",
451 "secondTabWidth": 65,
452 "tabWidth": 65,
453 "tabXOffset": 10,
454 "widget_ue_connectable": []
455 },
456 "widgets_values": [
457 "Flux2-Klein"
458 ]
459 },
460 {
461 "id": 134,
462 "type": "CLIPLoader",
463 "pos": [
464 790.0000780093396,
465 3299.9998447354596
466 ],
467 "size": [
468 437.3125,
469 142.65625
470 ],
471 "flags": [],
472 "order": 1,
473 "mode": 0,
474 "inputs": [
475 {
476 "label": "clip_name",
477 "name": "clip_name",
478 "type": "COMBO",
479 "widget": {
480 "name": "clip_name"
481 }
482 },
483 {
484 "label": "type",
485 "name": "type",
486 "type": "COMBO",
487 "widget": {
488 "name": "type"
489 }
490 },
491 {
492 "label": "device",
493 "name": "device",
494 "shape": 7,
495 "type": "COMBO",
496 "widget": {
497 "name": "device"
498 }
499 }
500 ],
501 "outputs": [
502 {
503 "label": "CLIP",
504 "name": "CLIP",
505 "type": "CLIP",
506 "links": [
507 272
508 ]
509 }
510 ],
511 "properties": {
512 "Node name for S&R": "CLIPLoader",
513 "cnr_id": "comfy-core",
514 "ver": "0.8.2",
515 "models": [
516 {
517 "name": "qwen_3_8b.safetensors",
518 "url": "https://huggingface.co/Comfy-Org/vae-text-encorder-for-flux-klein-9b/resolve/main/split_files/text_encoders/qwen_3_8b.safetensors",
519 "directory": "text_encoders"
520 }
521 ],
522 "enableTabs": false,
523 "hasSecondTab": false,
524 "secondTabOffset": 80,
525 "secondTabText": "Send Back",
526 "secondTabWidth": 65,
527 "tabWidth": 65,
528 "tabXOffset": 10,
529 "widget_ue_connectable": []
530 },
531 "widgets_values": [
532 "qwen_3_8b.safetensors",
533 "flux2",
534 "default"
535 ]
536 },
537 {
538 "id": 161,
539 "type": "VAELoader",
540 "pos": [
541 790.0000780093396,
542 3579.9997143862242
543 ],
544 "size": [
545 437.3125,
546 108
547 ],
548 "flags": [],
549 "order": 2,
550 "mode": 0,
551 "inputs": [
552 {
553 "label": "vae_name",
554 "name": "vae_name",
555 "type": "COMBO",
556 "widget": {
557 "name": "vae_name"
558 }
559 }
560 ],
561 "outputs": [
562 {
563 "label": "VAE",
564 "name": "VAE",
565 "type": "VAE",
566 "links": [
567 245,
568 252
569 ]
570 }
571 ],
572 "properties": {
573 "Node name for S&R": "VAELoader",
574 "cnr_id": "comfy-core",
575 "ver": "0.8.2",
576 "models": [
577 {
578 "name": "flux2-vae.safetensors",
579 "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
580 "directory": "vae"
581 }
582 ],
583 "enableTabs": false,
584 "hasSecondTab": false,
585 "secondTabOffset": 80,
586 "secondTabText": "Send Back",
587 "secondTabWidth": 65,
588 "tabWidth": 65,
589 "tabXOffset": 10,
590 "widget_ue_connectable": []
591 },
592 "widgets_values": [
593 "flux2-vae.safetensors"
594 ]
595 },
596 {
597 "id": 147,
598 "type": "ImageScaleToTotalPixels",
599 "pos": [
600 380.0000885297811,
601 3079.9997432809714
602 ],
603 "size": [
604 340,
605 138.65625
606 ],
607 "flags": [],
608 "order": 7,
609 "mode": 0,
610 "inputs": [
611 {
612 "label": "image",
613 "name": "image",
614 "type": "IMAGE",
615 "link": 255
616 },
617 {
618 "label": "upscale_method",
619 "name": "upscale_method",
620 "type": "COMBO",
621 "widget": {
622 "name": "upscale_method"
623 }
624 },
625 {
626 "label": "megapixels",
627 "name": "megapixels",
628 "type": "FLOAT",
629 "widget": {
630 "name": "megapixels"
631 }
632 },
633 {
634 "label": "resolution_steps",
635 "name": "resolution_steps",
636 "type": "INT",
637 "widget": {
638 "name": "resolution_steps"
639 }
640 }
641 ],
642 "outputs": [
643 {
644 "label": "IMAGE",
645 "name": "IMAGE",
646 "type": "IMAGE",
647 "links": [
648 281
649 ]
650 }
651 ],
652 "properties": {
653 "Node name for S&R": "ImageScaleToTotalPixels",
654 "cnr_id": "comfy-core",
655 "ver": "0.8.2",
656 "enableTabs": false,
657 "hasSecondTab": false,
658 "secondTabOffset": 80,
659 "secondTabText": "Send Back",
660 "secondTabWidth": 65,
661 "tabWidth": 65,
662 "tabXOffset": 10,
663 "widget_ue_connectable": []
664 },
665 "widgets_values": [
666 "nearest-exact",
667 1.5000000000000002,
668 1
669 ]
670 },
671 {
672 "id": 165,
673 "type": "ImageScaleToTotalPixels",
674 "pos": [
675 380.0000885297811,
676 3829.9999194930374
677 ],
678 "size": [
679 340,
680 138.65625
681 ],
682 "flags": [],
683 "order": 11,
684 "mode": 0,
685 "inputs": [
686 {
687 "label": "image",
688 "name": "image",
689 "type": "IMAGE",
690 "link": 287
691 },
692 {
693 "label": "upscale_method",
694 "name": "upscale_method",
695 "type": "COMBO",
696 "widget": {
697 "name": "upscale_method"
698 }
699 },
700 {
701 "label": "megapixels",
702 "name": "megapixels",
703 "type": "FLOAT",
704 "widget": {
705 "name": "megapixels"
706 }
707 },
708 {
709 "label": "resolution_steps",
710 "name": "resolution_steps",
711 "type": "INT",
712 "widget": {
713 "name": "resolution_steps"
714 }
715 }
716 ],
717 "outputs": [
718 {
719 "label": "IMAGE",
720 "name": "IMAGE",
721 "type": "IMAGE",
722 "links": [
723 283,
724 284,
725 537
726 ]
727 }
728 ],
729 "properties": {
730 "Node name for S&R": "ImageScaleToTotalPixels",
731 "cnr_id": "comfy-core",
732 "ver": "0.8.2",
733 "enableTabs": false,
734 "hasSecondTab": false,
735 "secondTabOffset": 80,
736 "secondTabText": "Send Back",
737 "secondTabWidth": 65,
738 "tabWidth": 65,
739 "tabXOffset": 10,
740 "widget_ue_connectable": []
741 },
742 "widgets_values": [
743 "nearest-exact",
744 1.0000000000000002,
745 1
746 ]
747 },
748 {
749 "id": 166,
750 "type": "DrawMaskOnImage",
751 "pos": [
752 380.0000885297811,
753 3609.999818038549
754 ],
755 "size": [
756 340,
757 170
758 ],
759 "flags": [],
760 "order": 10,
761 "mode": 0,
762 "inputs": [
763 {
764 "label": "image",
765 "name": "image",
766 "type": "IMAGE",
767 "link": 286
768 },
769 {
770 "label": "mask",
771 "name": "mask",
772 "type": "MASK",
773 "link": 288
774 },
775 {
776 "label": "color",
777 "name": "color",
778 "type": "STRING",
779 "widget": {
780 "name": "color"
781 }
782 },
783 {
784 "label": "device",
785 "name": "device",
786 "shape": 7,
787 "type": "COMBO",
788 "widget": {
789 "name": "device"
790 }
791 }
792 ],
793 "outputs": [
794 {
795 "label": "images",
796 "name": "images",
797 "type": "IMAGE",
798 "links": [
799 287
800 ]
801 }
802 ],
803 "properties": {
804 "Node name for S&R": "DrawMaskOnImage",
805 "widget_ue_connectable": []
806 },
807 "widgets_values": [
808 "0, 255, 0",
809 "cpu"
810 ]
811 },
812 {
813 "id": 135,
814 "type": "RandomNoise",
815 "pos": [
816 1939.9999895960023,
817 3099.999812382521
818 ],
819 "size": [
820 324,
821 104
822 ],
823 "flags": [],
824 "order": 3,
825 "mode": 0,
826 "inputs": [
827 {
828 "label": "noise_seed",
829 "name": "noise_seed",
830 "type": "INT",
831 "widget": {
832 "name": "noise_seed"
833 }
834 }
835 ],
836 "outputs": [
837 {
838 "label": "NOISE",
839 "name": "NOISE",
840 "type": "NOISE",
841 "links": [
842 232
843 ]
844 }
845 ],
846 "properties": {
847 "Node name for S&R": "RandomNoise",
848 "cnr_id": "comfy-core",
849 "ver": "0.8.2",
850 "enableTabs": false,
851 "hasSecondTab": false,
852 "secondTabOffset": 80,
853 "secondTabText": "Send Back",
854 "secondTabWidth": 65,
855 "tabWidth": 65,
856 "tabXOffset": 10,
857 "widget_ue_connectable": []
858 },
859 "widgets_values": [
860 754163315896983,
861 "randomize"
862 ]
863 },
864 {
865 "id": 136,
866 "type": "CFGGuider",
867 "pos": [
868 1939.9999895960023,
869 3249.999891535772
870 ],
871 "size": [
872 324,
873 152
874 ],
875 "flags": [],
876 "order": 18,
877 "mode": 0,
878 "inputs": [
879 {
880 "label": "model",
881 "name": "model",
882 "type": "MODEL",
883 "link": 237
884 },
885 {
886 "label": "positive",
887 "name": "positive",
888 "type": "CONDITIONING",
889 "link": 276
890 },
891 {
892 "label": "negative",
893 "name": "negative",
894 "type": "CONDITIONING",
895 "link": 277
896 },
897 {
898 "label": "cfg",
899 "name": "cfg",
900 "type": "FLOAT",
901 "widget": {
902 "name": "cfg"
903 }
904 }
905 ],
906 "outputs": [
907 {
908 "label": "GUIDER",
909 "name": "GUIDER",
910 "type": "GUIDER",
911 "links": [
912 233
913 ]
914 }
915 ],
916 "properties": {
917 "Node name for S&R": "CFGGuider",
918 "cnr_id": "comfy-core",
919 "ver": "0.8.2",
920 "enableTabs": false,
921 "hasSecondTab": false,
922 "secondTabOffset": 80,
923 "secondTabText": "Send Back",
924 "secondTabWidth": 65,
925 "tabWidth": 65,
926 "tabXOffset": 10,
927 "widget_ue_connectable": []
928 },
929 "widgets_values": [
930 1
931 ]
932 },
933 {
934 "id": 137,
935 "type": "KSamplerSelect",
936 "pos": [
937 1939.9999895960023,
938 3459.9997388852985
939 ],
940 "size": [
941 324,
942 106.65625
943 ],
944 "flags": [],
945 "order": 4,
946 "mode": 0,
947 "inputs": [
948 {
949 "label": "sampler_name",
950 "name": "sampler_name",
951 "type": "COMBO",
952 "widget": {
953 "name": "sampler_name"
954 }
955 }
956 ],
957 "outputs": [
958 {
959 "label": "SAMPLER",
960 "name": "SAMPLER",
961 "type": "SAMPLER",
962 "links": [
963 234
964 ]
965 }
966 ],
967 "properties": {
968 "Node name for S&R": "KSamplerSelect",
969 "cnr_id": "comfy-core",
970 "ver": "0.8.2",
971 "enableTabs": false,
972 "hasSecondTab": false,
973 "secondTabOffset": 80,
974 "secondTabText": "Send Back",
975 "secondTabWidth": 65,
976 "tabWidth": 65,
977 "tabXOffset": 10,
978 "widget_ue_connectable": []
979 },
980 "widgets_values": [
981 "euler"
982 ]
983 },
984 {
985 "id": 138,
986 "type": "Flux2Scheduler",
987 "pos": [
988 1939.9999895960023,
989 3629.999887140099
990 ],
991 "size": [
992 330,
993 168
994 ],
995 "flags": [],
996 "order": 14,
997 "mode": 0,
998 "inputs": [
999 {
1000 "label": "steps",
1001 "name": "steps",
1002 "type": "INT",
1003 "widget": {
1004 "name": "steps"
1005 }
1006 },
1007 {
1008 "label": "width",
1009 "name": "width",
1010 "type": "INT",
1011 "widget": {
1012 "name": "width"
1013 },
1014 "link": 240
1015 },
1016 {
1017 "label": "height",
1018 "name": "height",
1019 "type": "INT",
1020 "widget": {
1021 "name": "height"
1022 },
1023 "link": 241
1024 }
1025 ],
1026 "outputs": [
1027 {
1028 "label": "SIGMAS",
1029 "name": "SIGMAS",
1030 "type": "SIGMAS",
1031 "links": [
1032 235
1033 ]
1034 }
1035 ],
1036 "properties": {
1037 "Node name for S&R": "Flux2Scheduler",
1038 "cnr_id": "comfy-core",
1039 "ver": "0.8.2",
1040 "enableTabs": false,
1041 "hasSecondTab": false,
1042 "secondTabOffset": 80,
1043 "secondTabText": "Send Back",
1044 "secondTabWidth": 65,
1045 "tabWidth": 65,
1046 "tabXOffset": 10,
1047 "widget_ue_connectable": {
1048 "height": true,
1049 "width": true
1050 }
1051 },
1052 "widgets_values": [
1053 4,
1054 1024,
1055 1024
1056 ]
1057 },
1058 {
1059 "id": 139,
1060 "type": "EmptyFlux2LatentImage",
1061 "pos": [
1062 1939.9999895960023,
1063 3859.9998035911754
1064 ],
1065 "size": [
1066 320,
1067 168
1068 ],
1069 "flags": [],
1070 "order": 15,
1071 "mode": 0,
1072 "inputs": [
1073 {
1074 "label": "width",
1075 "name": "width",
1076 "type": "INT",
1077 "widget": {
1078 "name": "width"
1079 },
1080 "link": 242
1081 },
1082 {
1083 "label": "height",
1084 "name": "height",
1085 "type": "INT",
1086 "widget": {
1087 "name": "height"
1088 },
1089 "link": 243
1090 },
1091 {
1092 "label": "batch_size",
1093 "name": "batch_size",
1094 "type": "INT",
1095 "widget": {
1096 "name": "batch_size"
1097 }
1098 }
1099 ],
1100 "outputs": [
1101 {
1102 "label": "LATENT",
1103 "name": "LATENT",
1104 "type": "LATENT",
1105 "links": [
1106 236
1107 ]
1108 }
1109 ],
1110 "properties": {
1111 "Node name for S&R": "EmptyFlux2LatentImage",
1112 "cnr_id": "comfy-core",
1113 "ver": "0.8.2",
1114 "enableTabs": false,
1115 "hasSecondTab": false,
1116 "secondTabOffset": 80,
1117 "secondTabText": "Send Back",
1118 "secondTabWidth": 65,
1119 "tabWidth": 65,
1120 "tabXOffset": 10,
1121 "widget_ue_connectable": {
1122 "height": true,
1123 "width": true
1124 }
1125 },
1126 "widgets_values": [
1127 1024,
1128 1024,
1129 1
1130 ]
1131 },
1132 {
1133 "id": 167,
1134 "type": "ColorMatch",
1135 "pos": [
1136 2330.0000197511044,
1137 3679.9998403397867
1138 ],
1139 "size": [
1140 260,
1141 190.65625
1142 ],
1143 "flags": [],
1144 "order": 21,
1145 "mode": 0,
1146 "inputs": [
1147 {
1148 "label": "image_ref",
1149 "name": "image_ref",
1150 "type": "IMAGE",
1151 "link": 292
1152 },
1153 {
1154 "label": "image_target",
1155 "name": "image_target",
1156 "type": "IMAGE",
1157 "link": 291
1158 },
1159 {
1160 "label": "method",
1161 "name": "method",
1162 "type": "COMBO",
1163 "widget": {
1164 "name": "method"
1165 }
1166 },
1167 {
1168 "label": "strength",
1169 "name": "strength",
1170 "shape": 7,
1171 "type": "FLOAT",
1172 "widget": {
1173 "name": "strength"
1174 }
1175 },
1176 {
1177 "label": "multithread",
1178 "name": "multithread",
1179 "shape": 7,
1180 "type": "BOOLEAN",
1181 "widget": {
1182 "name": "multithread"
1183 }
1184 }
1185 ],
1186 "outputs": [
1187 {
1188 "label": "image",
1189 "name": "image",
1190 "type": "IMAGE",
1191 "links": [
1192 290,
1193 538
1194 ]
1195 }
1196 ],
1197 "properties": {
1198 "Node name for S&R": "ColorMatch",
1199 "widget_ue_connectable": []
1200 },
1201 "widgets_values": [
1202 "mkl",
1203 1,
1204 true
1205 ]
1206 },
1207 {
1208 "id": 140,
1209 "type": "VAEDecode",
1210 "pos": [
1211 2350.0000888526542,
1212 3579.9997143862242
1213 ],
1214 "size": [
1215 225,
1216 8
1217 ],
1218 "flags": {
1219 "collapsed": true
1220 },
1221 "order": 20,
1222 "mode": 0,
1223 "inputs": [
1224 {
1225 "label": "samples",
1226 "name": "samples",
1227 "type": "LATENT",
1228 "link": 244
1229 },
1230 {
1231 "label": "vae",
1232 "name": "vae",
1233 "type": "VAE",
1234 "link": 245
1235 }
1236 ],
1237 "outputs": [
1238 {
1239 "label": "IMAGE",
1240 "name": "IMAGE",
1241 "type": "IMAGE",
1242 "slot_index": 0,
1243 "links": [
1244 291
1245 ]
1246 }
1247 ],
1248 "properties": {
1249 "Node name for S&R": "VAEDecode",
1250 "cnr_id": "comfy-core",
1251 "ver": "0.8.2",
1252 "enableTabs": false,
1253 "hasSecondTab": false,
1254 "secondTabOffset": 80,
1255 "secondTabText": "Send Back",
1256 "secondTabWidth": 65,
1257 "tabWidth": 65,
1258 "tabXOffset": 10,
1259 "widget_ue_connectable": []
1260 },
1261 "widgets_values": []
1262 },
1263 {
1264 "id": 159,
1265 "type": "LoadImage",
1266 "pos": [
1267 -249.99989262717213,
1268 3079.9997432809714
1269 ],
1270 "size": [
1271 573.90625,
1272 805.578125
1273 ],
1274 "flags": [],
1275 "order": 5,
1276 "mode": 0,
1277 "inputs": [
1278 {
1279 "label": "image",
1280 "name": "image",
1281 "type": "COMBO",
1282 "widget": {
1283 "name": "image"
1284 }
1285 },
1286 {
1287 "label": "upload",
1288 "name": "upload",
1289 "type": "IMAGEUPLOAD",
1290 "widget": {
1291 "name": "upload"
1292 }
1293 }
1294 ],
1295 "outputs": [
1296 {
1297 "label": "IMAGE",
1298 "name": "IMAGE",
1299 "type": "IMAGE",
1300 "links": [
1301 255,
1302 292
1303 ]
1304 },
1305 {
1306 "label": "MASK",
1307 "name": "MASK",
1308 "type": "MASK"
1309 }
1310 ],
1311 "properties": {
1312 "Node name for S&R": "LoadImage",
1313 "cnr_id": "comfy-core",
1314 "ver": "0.8.2",
1315 "enableTabs": false,
1316 "hasSecondTab": false,
1317 "secondTabOffset": 80,
1318 "secondTabText": "Send Back",
1319 "secondTabWidth": 65,
1320 "tabWidth": 65,
1321 "tabXOffset": 10,
1322 "widget_ue_connectable": []
1323 },
1324 "widgets_values": [
1325 "red_panda.png",
1326 "image"
1327 ]
1328 },
1329 {
1330 "id": 164,
1331 "type": "ImagePadForOutpaint",
1332 "pos": [
1333 380.0000885297811,
1334 3299.9998447354596
1335 ],
1336 "size": [
1337 340,
1338 224
1339 ],
1340 "flags": [],
1341 "order": 9,
1342 "mode": 0,
1343 "inputs": [
1344 {
1345 "label": "image",
1346 "name": "image",
1347 "type": "IMAGE",
1348 "link": 281
1349 },
1350 {
1351 "label": "left",
1352 "name": "left",
1353 "type": "INT",
1354 "widget": {
1355 "name": "left"
1356 }
1357 },
1358 {
1359 "label": "top",
1360 "name": "top",
1361 "type": "INT",
1362 "widget": {
1363 "name": "top"
1364 }
1365 },
1366 {
1367 "label": "right",
1368 "name": "right",
1369 "type": "INT",
1370 "widget": {
1371 "name": "right"
1372 }
1373 },
1374 {
1375 "label": "bottom",
1376 "name": "bottom",
1377 "type": "INT",
1378 "widget": {
1379 "name": "bottom"
1380 }
1381 },
1382 {
1383 "label": "feathering",
1384 "name": "feathering",
1385 "type": "INT",
1386 "widget": {
1387 "name": "feathering"
1388 }
1389 }
1390 ],
1391 "outputs": [
1392 {
1393 "label": "IMAGE",
1394 "name": "IMAGE",
1395 "type": "IMAGE",
1396 "links": [
1397 286
1398 ]
1399 },
1400 {
1401 "label": "MASK",
1402 "name": "MASK",
1403 "type": "MASK",
1404 "links": [
1405 288
1406 ]
1407 }
1408 ],
1409 "properties": {
1410 "Node name for S&R": "ImagePadForOutpaint",
1411 "widget_ue_connectable": []
1412 },
1413 "widgets_values": [
1414 0,
1415 800,
1416 0,
1417 800,
1418 40
1419 ]
1420 },
1421 {
1422 "id": 157,
1423 "type": "CLIPTextEncode",
1424 "pos": [
1425 1302.6930255448,
1426 3088.3867132205855
1427 ],
1428 "size": [
1429 540,
1430 396
1431 ],
1432 "flags": [],
1433 "order": 6,
1434 "mode": 0,
1435 "inputs": [
1436 {
1437 "label": "clip",
1438 "name": "clip",
1439 "type": "CLIP",
1440 "link": 272
1441 },
1442 {
1443 "label": "text",
1444 "name": "text",
1445 "type": "STRING",
1446 "widget": {
1447 "name": "text"
1448 }
1449 }
1450 ],
1451 "outputs": [
1452 {
1453 "label": "CONDITIONING",
1454 "name": "CONDITIONING",
1455 "type": "CONDITIONING",
1456 "slot_index": 0,
1457 "links": [
1458 250,
1459 256
1460 ]
1461 }
1462 ],
1463 "title": "CLIP Text Encode (Positive Prompt)",
1464 "properties": {
1465 "Node name for S&R": "CLIPTextEncode",
1466 "cnr_id": "comfy-core",
1467 "ver": "0.8.2",
1468 "enableTabs": false,
1469 "hasSecondTab": false,
1470 "secondTabOffset": 80,
1471 "secondTabText": "Send Back",
1472 "secondTabWidth": 65,
1473 "tabWidth": 65,
1474 "tabXOffset": 10,
1475 "widget_ue_connectable": []
1476 },
1477 "widgets_values": [
1478 "remove the green part"
1479 ],
1480 "color": "#232",
1481 "bgcolor": "#353"
1482 },
1483 {
1484 "id": 303,
1485 "type": "ImageCompare",
1486 "pos": [
1487 2850,
1488 3080
1489 ],
1490 "size": [
1491 580,
1492 936
1493 ],
1494 "flags": [],
1495 "order": 23,
1496 "mode": 0,
1497 "inputs": [
1498 {
1499 "name": "image_a",
1500 "shape": 7,
1501 "type": "IMAGE",
1502 "link": 537
1503 },
1504 {
1505 "name": "image_b",
1506 "shape": 7,
1507 "type": "IMAGE",
1508 "link": 538
1509 }
1510 ],
1511 "outputs": [],
1512 "properties": {
1513 "Node name for S&R": "ImageCompare"
1514 },
1515 "widgets_values": []
1516 }
1517 ],
1518 "links": [
1519 [
1520 232,
1521 135,
1522 0,
1523 133,
1524 0,
1525 "NOISE"
1526 ],
1527 [
1528 233,
1529 136,
1530 0,
1531 133,
1532 1,
1533 "GUIDER"
1534 ],
1535 [
1536 234,
1537 137,
1538 0,
1539 133,
1540 2,
1541 "SAMPLER"
1542 ],
1543 [
1544 235,
1545 138,
1546 0,
1547 133,
1548 3,
1549 "SIGMAS"
1550 ],
1551 [
1552 236,
1553 139,
1554 0,
1555 133,
1556 4,
1557 "LATENT"
1558 ],
1559 [
1560 237,
1561 158,
1562 0,
1563 136,
1564 0,
1565 "MODEL"
1566 ],
1567 [
1568 240,
1569 143,
1570 0,
1571 138,
1572 1,
1573 "INT"
1574 ],
1575 [
1576 241,
1577 143,
1578 1,
1579 138,
1580 2,
1581 "INT"
1582 ],
1583 [
1584 242,
1585 143,
1586 0,
1587 139,
1588 0,
1589 "INT"
1590 ],
1591 [
1592 243,
1593 143,
1594 1,
1595 139,
1596 1,
1597 "INT"
1598 ],
1599 [
1600 244,
1601 133,
1602 0,
1603 140,
1604 0,
1605 "LATENT"
1606 ],
1607 [
1608 245,
1609 161,
1610 0,
1611 140,
1612 1,
1613 "VAE"
1614 ],
1615 [
1616 250,
1617 157,
1618 0,
1619 144,
1620 0,
1621 "CONDITIONING"
1622 ],
1623 [
1624 252,
1625 161,
1626 0,
1627 145,
1628 1,
1629 "VAE"
1630 ],
1631 [
1632 255,
1633 159,
1634 0,
1635 147,
1636 0,
1637 "IMAGE"
1638 ],
1639 [
1640 256,
1641 157,
1642 0,
1643 148,
1644 0,
1645 "CONDITIONING"
1646 ],
1647 [
1648 257,
1649 145,
1650 0,
1651 148,
1652 1,
1653 "LATENT"
1654 ],
1655 [
1656 258,
1657 144,
1658 0,
1659 149,
1660 0,
1661 "CONDITIONING"
1662 ],
1663 [
1664 259,
1665 145,
1666 0,
1667 149,
1668 1,
1669 "LATENT"
1670 ],
1671 [
1672 272,
1673 134,
1674 0,
1675 157,
1676 0,
1677 "CLIP"
1678 ],
1679 [
1680 276,
1681 148,
1682 0,
1683 136,
1684 1,
1685 "CONDITIONING"
1686 ],
1687 [
1688 277,
1689 149,
1690 0,
1691 136,
1692 2,
1693 "CONDITIONING"
1694 ],
1695 [
1696 281,
1697 147,
1698 0,
1699 164,
1700 0,
1701 "IMAGE"
1702 ],
1703 [
1704 283,
1705 165,
1706 0,
1707 143,
1708 0,
1709 "IMAGE"
1710 ],
1711 [
1712 284,
1713 165,
1714 0,
1715 145,
1716 0,
1717 "IMAGE"
1718 ],
1719 [
1720 286,
1721 164,
1722 0,
1723 166,
1724 0,
1725 "IMAGE"
1726 ],
1727 [
1728 287,
1729 166,
1730 0,
1731 165,
1732 0,
1733 "IMAGE"
1734 ],
1735 [
1736 288,
1737 164,
1738 1,
1739 166,
1740 1,
1741 "MASK"
1742 ],
1743 [
1744 290,
1745 167,
1746 0,
1747 142,
1748 0,
1749 "IMAGE"
1750 ],
1751 [
1752 291,
1753 140,
1754 0,
1755 167,
1756 1,
1757 "IMAGE"
1758 ],
1759 [
1760 292,
1761 159,
1762 0,
1763 167,
1764 0,
1765 "IMAGE"
1766 ],
1767 [
1768 537,
1769 165,
1770 0,
1771 303,
1772 0,
1773 "IMAGE"
1774 ],
1775 [
1776 538,
1777 167,
1778 0,
1779 303,
1780 1,
1781 "IMAGE"
1782 ]
1783 ],
1784 "groups": [
1785 {
1786 "id": 9,
1787 "title": "Models",
1788 "bounding": [
1789 770,
1790 2990,
1791 470,
1792 780
1793 ],
1794 "color": "#3f789e",
1795 "font_size": 24,
1796 "flags": []
1797 },
1798 {
1799 "id": 10,
1800 "title": "Prompt",
1801 "bounding": [
1802 1260,
1803 2990,
1804 620,
1805 1060
1806 ],
1807 "color": "#3f789e",
1808 "font_size": 24,
1809 "flags": []
1810 },
1811 {
1812 "id": 11,
1813 "title": "Sampler",
1814 "bounding": [
1815 1910,
1816 2990,
1817 700,
1818 1060
1819 ],
1820 "color": "#3f789e",
1821 "font_size": 24,
1822 "flags": []
1823 },
1824 {
1825 "id": 12,
1826 "title": "Compare",
1827 "bounding": [
1828 2640,
1829 2990,
1830 1060,
1831 1060
1832 ],
1833 "color": "#3f789e",
1834 "font_size": 24,
1835 "flags": []
1836 },
1837 {
1838 "id": 13,
1839 "title": "Result",
1840 "bounding": [
1841 3730,
1842 2990,
1843 1150,
1844 1060
1845 ],
1846 "color": "#3f789e",
1847 "font_size": 24,
1848 "flags": []
1849 },
1850 {
1851 "id": 14,
1852 "title": "Upload Image",
1853 "bounding": [
1854 -280,
1855 2990,
1856 620,
1857 1060
1858 ],
1859 "color": "#3f789e",
1860 "font_size": 24,
1861 "flags": []
1862 },
1863 {
1864 "id": 15,
1865 "title": "Pad Image",
1866 "bounding": [
1867 360,
1868 2990,
1869 390,
1870 1060
1871 ],
1872 "color": "#3f789e",
1873 "font_size": 24,
1874 "flags": []
1875 }
1876 ],
1877 "config": [],
1878 "extra": {
1879 "ds": {
1880 "scale": 0.6727499949325728,
1881 "offset": [
1882 976.5597301305025,
1883 -2616.7698572773293
1884 ]
1885 },
1886 "frontendVersion": "1.41.13",
1887 "workflowRendererVersion": "Vue",
1888 "0246.VERSION": [
1889 0,
1890 0,
1891 4
1892 ],
1893 "VHS_KeepIntermediate": true,
1894 "VHS_MetadataImage": true,
1895 "VHS_latentpreview": false,
1896 "VHS_latentpreviewrate": 0,
1897 "links_added_by_ue": [],
1898 "ue_links": []
1899 },
1900 "version": 0.4
1901}