ComfyPilotComfyPilot
工作流 / 图像 / OmniGen2图像编辑
OmniGen2图像编辑

OmniGen2图像编辑

OmniGen2 Image Edit

使用OmniGen2的高级图像编辑功能和文本渲染支持,通过自然语言指令编辑图像。

图像 27 个节点 1 个输入 10 次使用 ComfyUI ≥ 0.3.42 ComfyUI 26 KB

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

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

需要的权重

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

ae.safetensors 在模型库查看
omnigen2_fp16.safetensors 在模型库查看
qwen_2.5_vl_fp16.safetensors 在模型库查看

节点构成

ReferenceLatent × 4
MarkdownNote × 3
LoadImage × 2
ImageScaleToTotalPixels × 2
VAEEncode × 2
CLIPTextEncode × 2
SamplerCustomAdvanced × 1
EmptySD3LatentImage × 1
RandomNoise × 1
DualCFGGuider × 1
VAELoader × 1
CLIPLoader × 1
UNETLoader × 1
BasicScheduler × 1
KSamplerSelect × 1
GetImageSize × 1

官方标注的模型

OmniGen

工作流 JSON

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

1{
2 "id": "38d4a359-349a-444f-acc1-acba3173c650",
3 "revision": 0,
4 "last_node_id": 43,
5 "last_link_id": 73,
6 "nodes": [
7 {
8 "id": 28,
9 "type": "SamplerCustomAdvanced",
10 "pos": [
11 700,
12 100
13 ],
14 "size": [
15 202.53378295898438,
16 106
17 ],
18 "flags": [],
19 "order": 24,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "noise",
24 "type": "NOISE",
25 "link": 33
26 },
27 {
28 "name": "guider",
29 "type": "GUIDER",
30 "link": 34
31 },
32 {
33 "name": "sampler",
34 "type": "SAMPLER",
35 "link": 35
36 },
37 {
38 "name": "sigmas",
39 "type": "SIGMAS",
40 "link": 36
41 },
42 {
43 "name": "latent_image",
44 "type": "LATENT",
45 "link": 49
46 }
47 ],
48 "outputs": [
49 {
50 "name": "output",
51 "type": "LATENT",
52 "slot_index": 0,
53 "links": [
54 46
55 ]
56 },
57 {
58 "name": "denoised_output",
59 "type": "LATENT",
60 "links": null
61 }
62 ],
63 "properties": {
64 "cnr_id": "comfy-core",
65 "ver": "0.3.42",
66 "Node name for S&R": "SamplerCustomAdvanced"
67 },
68 "widgets_values": []
69 },
70 {
71 "id": 15,
72 "type": "ReferenceLatent",
73 "pos": [
74 110,
75 530
76 ],
77 "size": [
78 197.712890625,
79 46
80 ],
81 "flags": [],
82 "order": 18,
83 "mode": 0,
84 "inputs": [
85 {
86 "name": "conditioning",
87 "type": "CONDITIONING",
88 "link": 16
89 },
90 {
91 "name": "latent",
92 "shape": 7,
93 "type": "LATENT",
94 "link": 18
95 }
96 ],
97 "outputs": [
98 {
99 "name": "CONDITIONING",
100 "type": "CONDITIONING",
101 "links": [
102 68
103 ]
104 }
105 ],
106 "properties": {
107 "cnr_id": "comfy-core",
108 "ver": "0.3.42",
109 "Node name for S&R": "ReferenceLatent"
110 },
111 "widgets_values": []
112 },
113 {
114 "id": 29,
115 "type": "ReferenceLatent",
116 "pos": [
117 110,
118 690
119 ],
120 "size": [
121 197.712890625,
122 46
123 ],
124 "flags": [],
125 "order": 19,
126 "mode": 0,
127 "inputs": [
128 {
129 "name": "conditioning",
130 "type": "CONDITIONING",
131 "link": 44
132 },
133 {
134 "name": "latent",
135 "shape": 7,
136 "type": "LATENT",
137 "link": 42
138 }
139 ],
140 "outputs": [
141 {
142 "name": "CONDITIONING",
143 "type": "CONDITIONING",
144 "links": [
145 69
146 ]
147 }
148 ],
149 "properties": {
150 "cnr_id": "comfy-core",
151 "ver": "0.3.42",
152 "Node name for S&R": "ReferenceLatent"
153 },
154 "widgets_values": []
155 },
156 {
157 "id": 38,
158 "type": "ReferenceLatent",
159 "pos": [
160 120,
161 960
162 ],
163 "size": [
164 197.712890625,
165 46
166 ],
167 "flags": [],
168 "order": 21,
169 "mode": 4,
170 "inputs": [
171 {
172 "name": "conditioning",
173 "type": "CONDITIONING",
174 "link": 68
175 },
176 {
177 "name": "latent",
178 "shape": 7,
179 "type": "LATENT",
180 "link": 72
181 }
182 ],
183 "outputs": [
184 {
185 "name": "CONDITIONING",
186 "type": "CONDITIONING",
187 "links": [
188 70
189 ]
190 }
191 ],
192 "properties": {
193 "cnr_id": "comfy-core",
194 "ver": "0.3.42",
195 "Node name for S&R": "ReferenceLatent"
196 },
197 "widgets_values": []
198 },
199 {
200 "id": 39,
201 "type": "ReferenceLatent",
202 "pos": [
203 130,
204 1110
205 ],
206 "size": [
207 197.712890625,
208 46
209 ],
210 "flags": [],
211 "order": 22,
212 "mode": 4,
213 "inputs": [
214 {
215 "name": "conditioning",
216 "type": "CONDITIONING",
217 "link": 69
218 },
219 {
220 "name": "latent",
221 "shape": 7,
222 "type": "LATENT",
223 "link": 73
224 }
225 ],
226 "outputs": [
227 {
228 "name": "CONDITIONING",
229 "type": "CONDITIONING",
230 "links": [
231 71
232 ]
233 }
234 ],
235 "properties": {
236 "cnr_id": "comfy-core",
237 "ver": "0.3.42",
238 "Node name for S&R": "ReferenceLatent"
239 },
240 "widgets_values": []
241 },
242 {
243 "id": 11,
244 "type": "EmptySD3LatentImage",
245 "pos": [
246 640,
247 750
248 ],
249 "size": [
250 270,
251 106
252 ],
253 "flags": [],
254 "order": 20,
255 "mode": 0,
256 "inputs": [
257 {
258 "name": "width",
259 "type": "INT",
260 "widget": {
261 "name": "width"
262 },
263 "link": 55
264 },
265 {
266 "name": "height",
267 "type": "INT",
268 "widget": {
269 "name": "height"
270 },
271 "link": 56
272 }
273 ],
274 "outputs": [
275 {
276 "name": "LATENT",
277 "type": "LATENT",
278 "links": [
279 49
280 ]
281 }
282 ],
283 "properties": {
284 "cnr_id": "comfy-core",
285 "ver": "0.3.42",
286 "Node name for S&R": "EmptySD3LatentImage"
287 },
288 "widgets_values": [
289 1024,
290 1024,
291 1
292 ]
293 },
294 {
295 "id": 21,
296 "type": "RandomNoise",
297 "pos": [
298 360,
299 100
300 ],
301 "size": [
302 310,
303 82
304 ],
305 "flags": [],
306 "order": 0,
307 "mode": 0,
308 "inputs": [],
309 "outputs": [
310 {
311 "name": "NOISE",
312 "type": "NOISE",
313 "links": [
314 33
315 ]
316 }
317 ],
318 "properties": {
319 "cnr_id": "comfy-core",
320 "ver": "0.3.42",
321 "Node name for S&R": "RandomNoise"
322 },
323 "widgets_values": [
324 441693270797774,
325 "randomize"
326 ]
327 },
328 {
329 "id": 27,
330 "type": "DualCFGGuider",
331 "pos": [
332 360,
333 224
334 ],
335 "size": [
336 310,
337 166
338 ],
339 "flags": [],
340 "order": 23,
341 "mode": 0,
342 "inputs": [
343 {
344 "name": "model",
345 "type": "MODEL",
346 "link": 53
347 },
348 {
349 "name": "cond1",
350 "type": "CONDITIONING",
351 "link": 70
352 },
353 {
354 "name": "cond2",
355 "type": "CONDITIONING",
356 "link": 71
357 },
358 {
359 "name": "negative",
360 "type": "CONDITIONING",
361 "link": 45
362 }
363 ],
364 "outputs": [
365 {
366 "name": "GUIDER",
367 "type": "GUIDER",
368 "slot_index": 0,
369 "links": [
370 34
371 ]
372 }
373 ],
374 "properties": {
375 "cnr_id": "comfy-core",
376 "ver": "0.3.42",
377 "Node name for S&R": "DualCFGGuider"
378 },
379 "widgets_values": [
380 5,
381 2,
382 "regular"
383 ]
384 },
385 {
386 "id": 13,
387 "type": "VAELoader",
388 "pos": [
389 -520,
390 360
391 ],
392 "size": [
393 290,
394 60
395 ],
396 "flags": [],
397 "order": 1,
398 "mode": 0,
399 "inputs": [],
400 "outputs": [
401 {
402 "name": "VAE",
403 "type": "VAE",
404 "links": [
405 14,
406 15,
407 62
408 ]
409 }
410 ],
411 "properties": {
412 "cnr_id": "comfy-core",
413 "ver": "0.3.42",
414 "Node name for S&R": "VAELoader",
415 "models": [
416 {
417 "name": "ae.safetensors",
418 "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
419 "directory": "vae"
420 }
421 ]
422 },
423 "widgets_values": [
424 "ae.safetensors"
425 ]
426 },
427 {
428 "id": 10,
429 "type": "CLIPLoader",
430 "pos": [
431 -520,
432 210
433 ],
434 "size": [
435 290,
436 106
437 ],
438 "flags": [],
439 "order": 2,
440 "mode": 0,
441 "inputs": [],
442 "outputs": [
443 {
444 "name": "CLIP",
445 "type": "CLIP",
446 "links": [
447 10,
448 11
449 ]
450 }
451 ],
452 "properties": {
453 "cnr_id": "comfy-core",
454 "ver": "0.3.42",
455 "Node name for S&R": "CLIPLoader",
456 "models": [
457 {
458 "name": "qwen_2.5_vl_fp16.safetensors",
459 "url": "https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_fp16.safetensors",
460 "directory": "text_encoders"
461 }
462 ]
463 },
464 "widgets_values": [
465 "qwen_2.5_vl_fp16.safetensors",
466 "omnigen2",
467 "default"
468 ]
469 },
470 {
471 "id": 12,
472 "type": "UNETLoader",
473 "pos": [
474 -520,
475 90
476 ],
477 "size": [
478 290,
479 82
480 ],
481 "flags": [],
482 "order": 3,
483 "mode": 0,
484 "inputs": [],
485 "outputs": [
486 {
487 "name": "MODEL",
488 "type": "MODEL",
489 "links": [
490 52,
491 53
492 ]
493 }
494 ],
495 "properties": {
496 "cnr_id": "comfy-core",
497 "ver": "0.3.42",
498 "Node name for S&R": "UNETLoader",
499 "models": [
500 {
501 "name": "omnigen2_fp16.safetensors",
502 "url": "https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/omnigen2_fp16.safetensors",
503 "directory": "diffusion_models"
504 }
505 ]
506 },
507 "widgets_values": [
508 "omnigen2_fp16.safetensors",
509 "default"
510 ]
511 },
512 {
513 "id": 16,
514 "type": "LoadImage",
515 "pos": [
516 -510,
517 520
518 ],
519 "size": [
520 280,
521 314
522 ],
523 "flags": [],
524 "order": 4,
525 "mode": 0,
526 "inputs": [],
527 "outputs": [
528 {
529 "name": "IMAGE",
530 "type": "IMAGE",
531 "links": [
532 20
533 ]
534 },
535 {
536 "name": "MASK",
537 "type": "MASK",
538 "links": null
539 }
540 ],
541 "properties": {
542 "cnr_id": "comfy-core",
543 "ver": "0.3.42",
544 "Node name for S&R": "LoadImage"
545 },
546 "widgets_values": [
547 "image_omnigen2_image_edit_input_image.png",
548 "image"
549 ]
550 },
551 {
552 "id": 23,
553 "type": "BasicScheduler",
554 "pos": [
555 360,
556 432
557 ],
558 "size": [
559 210,
560 106
561 ],
562 "flags": [],
563 "order": 12,
564 "mode": 0,
565 "inputs": [
566 {
567 "name": "model",
568 "type": "MODEL",
569 "link": 52
570 }
571 ],
572 "outputs": [
573 {
574 "name": "SIGMAS",
575 "type": "SIGMAS",
576 "links": [
577 36
578 ]
579 }
580 ],
581 "properties": {
582 "cnr_id": "comfy-core",
583 "ver": "0.3.42",
584 "Node name for S&R": "BasicScheduler"
585 },
586 "widgets_values": [
587 "simple",
588 20,
589 1
590 ]
591 },
592 {
593 "id": 20,
594 "type": "KSamplerSelect",
595 "pos": [
596 360,
597 580
598 ],
599 "size": [
600 315,
601 58
602 ],
603 "flags": [],
604 "order": 5,
605 "mode": 0,
606 "inputs": [],
607 "outputs": [
608 {
609 "name": "SAMPLER",
610 "type": "SAMPLER",
611 "links": [
612 35
613 ]
614 }
615 ],
616 "properties": {
617 "cnr_id": "comfy-core",
618 "ver": "0.3.42",
619 "Node name for S&R": "KSamplerSelect"
620 },
621 "widgets_values": [
622 "euler"
623 ]
624 },
625 {
626 "id": 40,
627 "type": "MarkdownNote",
628 "pos": [
629 -890,
630 60
631 ],
632 "size": [
633 340,
634 400
635 ],
636 "flags": [],
637 "order": 6,
638 "mode": 0,
639 "inputs": [],
640 "outputs": [],
641 "title": "Model links",
642 "properties": [],
643 "widgets_values": [
644 "## Docs\n[English](https://docs.comfy.org/tutorials/image/omnigen/omnigen2) | [中文](https://docs.comfy.org/zh-CN/tutorials/image/omnigen/omnigen2)\n\n## Model links\n\n- [Hugging Face:Comfy-Org/Omnigen2_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged)\n- [ModelScope:Comfy-Org/Omnigen2_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Omnigen2_ComfyUI_repackaged)\n- [Hugging Face:Comfy-Org/Lumina_Image_2.0_Repackaged](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged)\n- [ModelScope:Comfy-Org/Lumina_Image_2.0_Repackaged](https://modelscope.cn/models/Comfy-Org/Lumina_Image_2.0_Repackaged)\n\n**diffusion model**\n\n- [omnigen2_fp16.safetensors](https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/omnigen2_fp16.safetensors) (7.39 GB)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/blob/main/split_files/vae/ae.safetensors)\n\n**text encoder**\n\n- [qwen_2.5_vl_fp16.safetensors](https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_fp16.safetensors) (6.99 GB)\n\nFile save location\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── omnigen2_fp16.safetensors\n│ ├── 📂 vae/\n│ │ └── ae.safetensor\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_fp16.safetensors\n```\n"
645 ],
646 "color": "#222",
647 "bgcolor": "#000"
648 },
649 {
650 "id": 17,
651 "type": "ImageScaleToTotalPixels",
652 "pos": [
653 -180,
654 490
655 ],
656 "size": [
657 270,
658 82
659 ],
660 "flags": [],
661 "order": 13,
662 "mode": 0,
663 "inputs": [
664 {
665 "name": "image",
666 "type": "IMAGE",
667 "link": 20
668 }
669 ],
670 "outputs": [
671 {
672 "name": "IMAGE",
673 "type": "IMAGE",
674 "links": [
675 21,
676 54
677 ]
678 }
679 ],
680 "properties": {
681 "cnr_id": "comfy-core",
682 "ver": "0.3.42",
683 "Node name for S&R": "ImageScaleToTotalPixels"
684 },
685 "widgets_values": [
686 "area",
687 1
688 ]
689 },
690 {
691 "id": 34,
692 "type": "ImageScaleToTotalPixels",
693 "pos": [
694 -180,
695 910
696 ],
697 "size": [
698 270,
699 82
700 ],
701 "flags": [],
702 "order": 14,
703 "mode": 4,
704 "inputs": [
705 {
706 "name": "image",
707 "type": "IMAGE",
708 "link": 63
709 }
710 ],
711 "outputs": [
712 {
713 "name": "IMAGE",
714 "type": "IMAGE",
715 "links": [
716 61
717 ]
718 }
719 ],
720 "properties": {
721 "cnr_id": "comfy-core",
722 "ver": "0.3.42",
723 "Node name for S&R": "ImageScaleToTotalPixels"
724 },
725 "widgets_values": [
726 "area",
727 1
728 ]
729 },
730 {
731 "id": 37,
732 "type": "VAEEncode",
733 "pos": [
734 -50,
735 1040
736 ],
737 "size": [
738 140,
739 46
740 ],
741 "flags": [],
742 "order": 17,
743 "mode": 4,
744 "inputs": [
745 {
746 "name": "pixels",
747 "type": "IMAGE",
748 "link": 61
749 },
750 {
751 "name": "vae",
752 "type": "VAE",
753 "link": 62
754 }
755 ],
756 "outputs": [
757 {
758 "name": "LATENT",
759 "type": "LATENT",
760 "links": [
761 72,
762 73
763 ]
764 }
765 ],
766 "properties": {
767 "cnr_id": "comfy-core",
768 "ver": "0.3.42",
769 "Node name for S&R": "VAEEncode"
770 },
771 "widgets_values": []
772 },
773 {
774 "id": 7,
775 "type": "CLIPTextEncode",
776 "pos": [
777 -170,
778 280
779 ],
780 "size": [
781 470,
782 130
783 ],
784 "flags": [],
785 "order": 10,
786 "mode": 0,
787 "inputs": [
788 {
789 "name": "clip",
790 "type": "CLIP",
791 "link": 10
792 }
793 ],
794 "outputs": [
795 {
796 "name": "CONDITIONING",
797 "type": "CONDITIONING",
798 "slot_index": 0,
799 "links": [
800 44,
801 45
802 ]
803 }
804 ],
805 "properties": {
806 "cnr_id": "comfy-core",
807 "ver": "0.3.42",
808 "Node name for S&R": "CLIPTextEncode"
809 },
810 "widgets_values": [
811 "deformed, blurry, over saturation, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra_limb, ugly, poorly drawn hands, fused fingers, messy drawing, broken legs censor, censored, censor_bar"
812 ],
813 "color": "#223",
814 "bgcolor": "#335"
815 },
816 {
817 "id": 6,
818 "type": "CLIPTextEncode",
819 "pos": [
820 -170,
821 100
822 ],
823 "size": [
824 470,
825 140
826 ],
827 "flags": [],
828 "order": 11,
829 "mode": 0,
830 "inputs": [
831 {
832 "name": "clip",
833 "type": "CLIP",
834 "link": 11
835 }
836 ],
837 "outputs": [
838 {
839 "name": "CONDITIONING",
840 "type": "CONDITIONING",
841 "slot_index": 0,
842 "links": [
843 16
844 ]
845 }
846 ],
847 "properties": {
848 "cnr_id": "comfy-core",
849 "ver": "0.3.42",
850 "Node name for S&R": "CLIPTextEncode"
851 },
852 "widgets_values": [
853 "Transform character into crystal material, transparent crystal texture, sparkling surface, prismatic light effects, magical appearance, elegant translucent look"
854 ],
855 "color": "#232",
856 "bgcolor": "#353"
857 },
858 {
859 "id": 32,
860 "type": "GetImageSize",
861 "pos": [
862 380,
863 740
864 ],
865 "size": [
866 200,
867 124
868 ],
869 "flags": [],
870 "order": 16,
871 "mode": 0,
872 "inputs": [
873 {
874 "name": "image",
875 "type": "IMAGE",
876 "link": 54
877 }
878 ],
879 "outputs": [
880 {
881 "name": "width",
882 "type": "INT",
883 "links": [
884 55
885 ]
886 },
887 {
888 "name": "height",
889 "type": "INT",
890 "links": [
891 56
892 ]
893 },
894 {
895 "name": "batch_size",
896 "type": "INT",
897 "links": null
898 }
899 ],
900 "properties": {
901 "cnr_id": "comfy-core",
902 "ver": "0.3.42",
903 "Node name for S&R": "GetImageSize"
904 },
905 "widgets_values": [
906 "width: 1365, height: 768\n batch size: 1"
907 ]
908 },
909 {
910 "id": 43,
911 "type": "MarkdownNote",
912 "pos": [
913 660,
914 920
915 ],
916 "size": [
917 240,
918 110
919 ],
920 "flags": [],
921 "order": 7,
922 "mode": 0,
923 "inputs": [],
924 "outputs": [],
925 "title": "Custom image size",
926 "properties": [],
927 "widgets_values": [
928 "To customize the image size, delete the **Get Image Size** node."
929 ],
930 "color": "#222",
931 "bgcolor": "#000"
932 },
933 {
934 "id": 42,
935 "type": "MarkdownNote",
936 "pos": [
937 -170,
938 1150
939 ],
940 "size": [
941 250,
942 90
943 ],
944 "flags": [],
945 "order": 8,
946 "mode": 0,
947 "inputs": [],
948 "outputs": [],
949 "title": "Enable the second input image",
950 "properties": [],
951 "widgets_values": [
952 "Use **Ctrl + B** to switch all nodes in Bypass mode to normal mode to enable the second image input."
953 ],
954 "color": "#222",
955 "bgcolor": "#000"
956 },
957 {
958 "id": 8,
959 "type": "VAEDecode",
960 "pos": [
961 940,
962 70
963 ],
964 "size": [
965 210,
966 46
967 ],
968 "flags": [],
969 "order": 25,
970 "mode": 0,
971 "inputs": [
972 {
973 "name": "samples",
974 "type": "LATENT",
975 "link": 46
976 },
977 {
978 "name": "vae",
979 "type": "VAE",
980 "link": 14
981 }
982 ],
983 "outputs": [
984 {
985 "name": "IMAGE",
986 "type": "IMAGE",
987 "slot_index": 0,
988 "links": [
989 9
990 ]
991 }
992 ],
993 "properties": {
994 "cnr_id": "comfy-core",
995 "ver": "0.3.42",
996 "Node name for S&R": "VAEDecode"
997 },
998 "widgets_values": []
999 },
1000 {
1001 "id": 9,
1002 "type": "SaveImage",
1003 "pos": [
1004 950,
1005 170
1006 ],
1007 "size": [
1008 810,
1009 580
1010 ],
1011 "flags": [],
1012 "order": 26,
1013 "mode": 0,
1014 "inputs": [
1015 {
1016 "name": "images",
1017 "type": "IMAGE",
1018 "link": 9
1019 }
1020 ],
1021 "outputs": [],
1022 "properties": {
1023 "cnr_id": "comfy-core",
1024 "ver": "0.3.42"
1025 },
1026 "widgets_values": [
1027 "ComfyUI"
1028 ]
1029 },
1030 {
1031 "id": 33,
1032 "type": "LoadImage",
1033 "pos": [
1034 -510,
1035 930
1036 ],
1037 "size": [
1038 280,
1039 314
1040 ],
1041 "flags": [],
1042 "order": 9,
1043 "mode": 4,
1044 "inputs": [],
1045 "outputs": [
1046 {
1047 "name": "IMAGE",
1048 "type": "IMAGE",
1049 "links": [
1050 63
1051 ]
1052 },
1053 {
1054 "name": "MASK",
1055 "type": "MASK",
1056 "links": null
1057 }
1058 ],
1059 "properties": {
1060 "cnr_id": "comfy-core",
1061 "ver": "0.3.42",
1062 "Node name for S&R": "LoadImage"
1063 },
1064 "widgets_values": [
1065 "image_omnigen2_image_edit_input_image.png",
1066 "image"
1067 ],
1068 "color": "#322",
1069 "bgcolor": "#533"
1070 },
1071 {
1072 "id": 14,
1073 "type": "VAEEncode",
1074 "pos": [
1075 -60,
1076 690
1077 ],
1078 "size": [
1079 140,
1080 46
1081 ],
1082 "flags": [],
1083 "order": 15,
1084 "mode": 0,
1085 "inputs": [
1086 {
1087 "name": "pixels",
1088 "type": "IMAGE",
1089 "link": 21
1090 },
1091 {
1092 "name": "vae",
1093 "type": "VAE",
1094 "link": 15
1095 }
1096 ],
1097 "outputs": [
1098 {
1099 "name": "LATENT",
1100 "type": "LATENT",
1101 "links": [
1102 18,
1103 42
1104 ]
1105 }
1106 ],
1107 "properties": {
1108 "cnr_id": "comfy-core",
1109 "ver": "0.3.42",
1110 "Node name for S&R": "VAEEncode"
1111 },
1112 "widgets_values": []
1113 }
1114 ],
1115 "links": [
1116 [
1117 9,
1118 8,
1119 0,
1120 9,
1121 0,
1122 "IMAGE"
1123 ],
1124 [
1125 10,
1126 10,
1127 0,
1128 7,
1129 0,
1130 "CLIP"
1131 ],
1132 [
1133 11,
1134 10,
1135 0,
1136 6,
1137 0,
1138 "CLIP"
1139 ],
1140 [
1141 14,
1142 13,
1143 0,
1144 8,
1145 1,
1146 "VAE"
1147 ],
1148 [
1149 15,
1150 13,
1151 0,
1152 14,
1153 1,
1154 "VAE"
1155 ],
1156 [
1157 16,
1158 6,
1159 0,
1160 15,
1161 0,
1162 "CONDITIONING"
1163 ],
1164 [
1165 18,
1166 14,
1167 0,
1168 15,
1169 1,
1170 "LATENT"
1171 ],
1172 [
1173 20,
1174 16,
1175 0,
1176 17,
1177 0,
1178 "IMAGE"
1179 ],
1180 [
1181 21,
1182 17,
1183 0,
1184 14,
1185 0,
1186 "IMAGE"
1187 ],
1188 [
1189 33,
1190 21,
1191 0,
1192 28,
1193 0,
1194 "NOISE"
1195 ],
1196 [
1197 34,
1198 27,
1199 0,
1200 28,
1201 1,
1202 "GUIDER"
1203 ],
1204 [
1205 35,
1206 20,
1207 0,
1208 28,
1209 2,
1210 "SAMPLER"
1211 ],
1212 [
1213 36,
1214 23,
1215 0,
1216 28,
1217 3,
1218 "SIGMAS"
1219 ],
1220 [
1221 42,
1222 14,
1223 0,
1224 29,
1225 1,
1226 "LATENT"
1227 ],
1228 [
1229 44,
1230 7,
1231 0,
1232 29,
1233 0,
1234 "CONDITIONING"
1235 ],
1236 [
1237 45,
1238 7,
1239 0,
1240 27,
1241 3,
1242 "CONDITIONING"
1243 ],
1244 [
1245 46,
1246 28,
1247 0,
1248 8,
1249 0,
1250 "LATENT"
1251 ],
1252 [
1253 49,
1254 11,
1255 0,
1256 28,
1257 4,
1258 "LATENT"
1259 ],
1260 [
1261 52,
1262 12,
1263 0,
1264 23,
1265 0,
1266 "MODEL"
1267 ],
1268 [
1269 53,
1270 12,
1271 0,
1272 27,
1273 0,
1274 "MODEL"
1275 ],
1276 [
1277 54,
1278 17,
1279 0,
1280 32,
1281 0,
1282 "IMAGE"
1283 ],
1284 [
1285 55,
1286 32,
1287 0,
1288 11,
1289 0,
1290 "INT"
1291 ],
1292 [
1293 56,
1294 32,
1295 1,
1296 11,
1297 1,
1298 "INT"
1299 ],
1300 [
1301 61,
1302 34,
1303 0,
1304 37,
1305 0,
1306 "IMAGE"
1307 ],
1308 [
1309 62,
1310 13,
1311 0,
1312 37,
1313 1,
1314 "VAE"
1315 ],
1316 [
1317 63,
1318 33,
1319 0,
1320 34,
1321 0,
1322 "IMAGE"
1323 ],
1324 [
1325 68,
1326 15,
1327 0,
1328 38,
1329 0,
1330 "CONDITIONING"
1331 ],
1332 [
1333 69,
1334 29,
1335 0,
1336 39,
1337 0,
1338 "CONDITIONING"
1339 ],
1340 [
1341 70,
1342 38,
1343 0,
1344 27,
1345 1,
1346 "CONDITIONING"
1347 ],
1348 [
1349 71,
1350 39,
1351 0,
1352 27,
1353 2,
1354 "CONDITIONING"
1355 ],
1356 [
1357 72,
1358 37,
1359 0,
1360 38,
1361 1,
1362 "LATENT"
1363 ],
1364 [
1365 73,
1366 37,
1367 0,
1368 39,
1369 1,
1370 "LATENT"
1371 ]
1372 ],
1373 "groups": [
1374 {
1375 "id": 1,
1376 "title": "Step 1 - Load models",
1377 "bounding": [
1378 -530,
1379 20,
1380 320,
1381 410
1382 ],
1383 "color": "#3f789e",
1384 "font_size": 24,
1385 "flags": []
1386 },
1387 {
1388 "id": 2,
1389 "title": "Step 3 - Prompt",
1390 "bounding": [
1391 -190,
1392 20,
1393 510,
1394 410
1395 ],
1396 "color": "#3f789e",
1397 "font_size": 24,
1398 "flags": []
1399 },
1400 {
1401 "id": 3,
1402 "title": "Step 2 - Load image",
1403 "bounding": [
1404 -530,
1405 440,
1406 320,
1407 400
1408 ],
1409 "color": "#3f789e",
1410 "font_size": 24,
1411 "flags": []
1412 },
1413 {
1414 "id": 4,
1415 "title": "Comditioning 1",
1416 "bounding": [
1417 100,
1418 450,
1419 220.05160522460938,
1420 296.8192443847656
1421 ],
1422 "color": "#3f789e",
1423 "font_size": 24,
1424 "flags": []
1425 },
1426 {
1427 "id": 5,
1428 "title": "Custom Sampling",
1429 "bounding": [
1430 350,
1431 20,
1432 561.83544921875,
1433 630.7272338867188
1434 ],
1435 "color": "#3f789e",
1436 "font_size": 24,
1437 "flags": []
1438 },
1439 {
1440 "id": 6,
1441 "title": "(Optional) - 2nd image input",
1442 "bounding": [
1443 -530,
1444 850,
1445 322.1171875,
1446 402.537109375
1447 ],
1448 "color": "#3f789e",
1449 "font_size": 24,
1450 "flags": []
1451 },
1452 {
1453 "id": 7,
1454 "title": "Comditioning 2",
1455 "bounding": [
1456 110,
1457 880,
1458 220.05160522460938,
1459 296.8192443847656
1460 ],
1461 "color": "#3f789e",
1462 "font_size": 24,
1463 "flags": []
1464 },
1465 {
1466 "id": 8,
1467 "title": "Output image size",
1468 "bounding": [
1469 630,
1470 680,
1471 290,
1472 189.60000610351562
1473 ],
1474 "color": "#3f789e",
1475 "font_size": 24,
1476 "flags": []
1477 }
1478 ],
1479 "config": [],
1480 "extra": {
1481 "ds": {
1482 "scale": 0.6764101920647577,
1483 "offset": [
1484 671.4038319642077,
1485 186.22865292123709
1486 ]
1487 },
1488 "frontendVersion": "1.27.10",
1489 "groupNodes": [],
1490 "VHS_latentpreview": false,
1491 "VHS_latentpreviewrate": 0,
1492 "VHS_MetadataImage": true,
1493 "VHS_KeepIntermediate": true
1494 },
1495 "version": 0.4
1496}