{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              -530,
              20,
              320,
              700
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 1,
            "title": "Step 1 - Load models"
          },
          {
            "bounding": [
              -190,
              20,
              450,
              700
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Step 3 - Prompt"
          },
          {
            "bounding": [
              280,
              20,
              660,
              950
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 5,
            "title": "Sampling"
          },
          {
            "bounding": [
              -530,
              750,
              320,
              290
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 8,
            "title": "Step 2 - image size"
          }
        ],
        "id": "4b17d220-4312-4981-9eae-9a76bf3b6ec9",
        "inputNode": {
          "bounding": [
            -1090,
            320,
            120,
            180
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "3385ea55-7abe-4db0-a3b4-78edeb8007ae",
            "label": "prompt",
            "linkIds": [
              79
            ],
            "name": "text",
            "pos": [
              -990,
              340
            ],
            "type": "STRING"
          },
          {
            "id": "7340e51e-95ae-4b91-b97e-1c4d6ea61c17",
            "linkIds": [
              80
            ],
            "name": "width",
            "pos": [
              -990,
              360
            ],
            "type": "INT"
          },
          {
            "id": "e28b5fd6-362e-46b7-b384-582f6d8b4024",
            "linkIds": [
              81
            ],
            "name": "height",
            "pos": [
              -990,
              380
            ],
            "type": "INT"
          },
          {
            "id": "9b626cf5-9131-4802-be9c-ae6aa4171541",
            "linkIds": [
              83
            ],
            "name": "noise_seed",
            "pos": [
              -990,
              400
            ],
            "type": "INT"
          },
          {
            "id": "b8b644e9-aeee-4a2b-9342-61d24bcd8bab",
            "linkIds": [
              84
            ],
            "name": "unet_name",
            "pos": [
              -990,
              420
            ],
            "type": "COMBO"
          },
          {
            "id": "ba44bec5-f26d-4ec1-908b-ae7e8c38674c",
            "linkIds": [
              85
            ],
            "name": "clip_name",
            "pos": [
              -990,
              440
            ],
            "type": "COMBO"
          },
          {
            "id": "5a9f63fd-d9f3-4482-914c-75dc3fae7544",
            "linkIds": [
              86
            ],
            "name": "vae_name",
            "pos": [
              -990,
              460
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 33,
            "origin_id": 21,
            "origin_slot": 0,
            "target_id": 28,
            "target_slot": 0,
            "type": "NOISE"
          },
          {
            "id": 34,
            "origin_id": 27,
            "origin_slot": 0,
            "target_id": 28,
            "target_slot": 1,
            "type": "GUIDER"
          },
          {
            "id": 35,
            "origin_id": 20,
            "origin_slot": 0,
            "target_id": 28,
            "target_slot": 2,
            "type": "SAMPLER"
          },
          {
            "id": 36,
            "origin_id": 23,
            "origin_slot": 0,
            "target_id": 28,
            "target_slot": 3,
            "type": "SIGMAS"
          },
          {
            "id": 49,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 28,
            "target_slot": 4,
            "type": "LATENT"
          },
          {
            "id": 53,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 77,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 76,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 45,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 3,
            "type": "CONDITIONING"
          },
          {
            "id": 52,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 23,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 46,
            "origin_id": 28,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 14,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 11,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 10,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 9,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 79,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 80,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 11,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 81,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 11,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 83,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 21,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 84,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 12,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 85,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 10,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 86,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 13,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "name": "Omnigen2 Text to Image",
        "nodes": [
          {
            "flags": {},
            "id": 28,
            "inputs": [
              {
                "link": 33,
                "localized_name": "noise",
                "name": "noise",
                "type": "NOISE"
              },
              {
                "link": 34,
                "localized_name": "guider",
                "name": "guider",
                "type": "GUIDER"
              },
              {
                "link": 35,
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER"
              },
              {
                "link": 36,
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS"
              },
              {
                "link": 49,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  46
                ],
                "localized_name": "output",
                "name": "output",
                "slot_index": 0,
                "type": "LATENT"
              },
              {
                "links": null,
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT"
              }
            ],
            "pos": [
              679.9997808473647,
              119.99999573200944
            ],
            "properties": {
              "Node name for S&R": "SamplerCustomAdvanced",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              230,
              416
            ],
            "type": "SamplerCustomAdvanced",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 20,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  35
                ],
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER"
              }
            ],
            "pos": [
              309.99984709072146,
              590.0000300862642
            ],
            "properties": {
              "Node name for S&R": "KSamplerSelect",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              320,
              110
            ],
            "type": "KSamplerSelect",
            "widgets_values": [
              "euler"
            ]
          },
          {
            "flags": {},
            "id": 27,
            "inputs": [
              {
                "link": 53,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 77,
                "localized_name": "cond1",
                "name": "cond1",
                "type": "CONDITIONING"
              },
              {
                "link": 76,
                "localized_name": "cond2",
                "name": "cond2",
                "type": "CONDITIONING"
              },
              {
                "link": 45,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  34
                ],
                "localized_name": "GUIDER",
                "name": "GUIDER",
                "slot_index": 0,
                "type": "GUIDER"
              }
            ],
            "pos": [
              309.99984709072146,
              290.0000042438264
            ],
            "properties": {
              "Node name for S&R": "DualCFGGuider",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              310,
              250
            ],
            "type": "DualCFGGuider",
            "widgets_values": [
              5,
              2,
              "regular"
            ]
          },
          {
            "flags": {},
            "id": 23,
            "inputs": [
              {
                "link": 52,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  36
                ],
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS"
              }
            ],
            "pos": [
              309.99984709072146,
              760.0000692592365
            ],
            "properties": {
              "Node name for S&R": "BasicScheduler",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              310,
              180
            ],
            "type": "BasicScheduler",
            "widgets_values": [
              "simple",
              20,
              1
            ]
          },
          {
            "flags": {},
            "id": 13,
            "inputs": [
              {
                "link": 86,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  14
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              -510.0001254295785,
              549.9999775827575
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "vae",
                  "name": "ae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors"
                }
              ],
              "ver": "0.3.42"
            },
            "size": [
              290,
              110
            ],
            "type": "VAELoader",
            "widgets_values": [
              "ae.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 85,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  10,
                  11
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              -520.0000772331448,
              299.99995604739274
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "qwen_2.5_vl_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_fp16.safetensors"
                }
              ],
              "ver": "0.3.42"
            },
            "size": [
              290,
              150
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_2.5_vl_fp16.safetensors",
              "omnigen2",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 12,
            "inputs": [
              {
                "link": 84,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  52,
                  53
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -520.0000772331448,
              89.9999870155346
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "omnigen2_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/omnigen2_fp16.safetensors"
                }
              ],
              "ver": "0.3.42"
            },
            "size": [
              290,
              110
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "omnigen2_fp16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 46,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 14,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  9
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              969.9998548862361,
              119.99999573200944
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              230,
              100
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 10,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  45,
                  76
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -170.00016972825483,
              549.9999775827575
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              420,
              140
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              "blurry, low quality, distorted, ugly, bad anatomy, deformed, poorly drawn"
            ]
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 11,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 79,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  77
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -180.00012153182115,
              89.9999870155346
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              420,
              360
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              "A cat with a crown lounging on a velvet throne, royal atmosphere, luxurious fabric texture, regal pose, detailed fur, ornate crown, dramatic lighting"
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 80,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 81,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  49
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              -500.0001736260124,
              839.9999289770084
            ],
            "properties": {
              "Node name for S&R": "EmptySD3LatentImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              270,
              170
            ],
            "type": "EmptySD3LatentImage",
            "widgets_values": [
              1024,
              1024,
              1
            ]
          },
          {
            "flags": {},
            "id": 21,
            "inputs": [
              {
                "link": 83,
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  33
                ],
                "localized_name": "NOISE",
                "name": "NOISE",
                "type": "NOISE"
              }
            ],
            "pos": [
              309.99984709072146,
              119.99999573200944
            ],
            "properties": {
              "Node name for S&R": "RandomNoise",
              "cnr_id": "comfy-core",
              "ver": "0.3.42"
            },
            "size": [
              310,
              110
            ],
            "type": "RandomNoise",
            "widgets_values": [
              375248071721913,
              "randomize"
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            1290,
            120,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "68a6110f-4613-4041-8d48-e614b4c6e7fe",
            "linkIds": [
              9
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              1310,
              140
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 8,
          "lastLinkId": 86,
          "lastNodeId": 42,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1113.012901283204,
        442.6409607354887
      ],
      "scale": 0.602166964730022
    },
    "frontendVersion": "1.41.13",
    "groupNodes": {},
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "38d4a359-349a-444f-acc1-acba3173c650",
  "last_link_id": 86,
  "last_node_id": 42,
  "links": [
    [
      79,
      42,
      0,
      9,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 41,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [],
      "pos": [
        -1030,
        40
      ],
      "properties": {},
      "size": [
        490,
        890
      ],
      "title": "For Local User",
      "type": "MarkdownNote",
      "widgets_values": [
        "[Docs](https://docs.comfy.org/tutorials/image/omnigen/omnigen2)\n\nGuide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links\n\n**text_encoders**\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)\n\n**diffusion_models**\n\n- [omnigen2_fp16.safetensors](https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/omnigen2_fp16.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 text_encoders/\n│   │      └── qwen_2.5_vl_fp16.safetensors\n│   ├── 📂 diffusion_models/\n│   │      └── omnigen2_fp16.safetensors\n│   └── 📂 vae/\n│          └── ae.safetensors\n```\n\n\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n"
      ]
    },
    {
      "flags": {},
      "id": 9,
      "inputs": [
        {
          "link": 79,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        -80,
        40
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42"
      },
      "size": [
        590,
        620
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "flags": {},
      "id": 42,
      "inputs": [
        {
          "label": "prompt",
          "link": null,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            79
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -500.0000144457754,
        39.99999986292676
      ],
      "properties": {
        "proxyWidgets": [
          [
            "6",
            "text"
          ],
          [
            "11",
            "width"
          ],
          [
            "11",
            "height"
          ],
          [
            "21",
            "noise_seed"
          ],
          [
            "12",
            "unet_name"
          ],
          [
            "10",
            "clip_name"
          ],
          [
            "13",
            "vae_name"
          ],
          [
            "21",
            "control_after_generate"
          ]
        ]
      },
      "size": [
        390,
        592
      ],
      "type": "4b17d220-4312-4981-9eae-9a76bf3b6ec9",
      "widgets_values": []
    }
  ],
  "revision": 0,
  "version": 0.4
}