{
  "id": "908d0bfb-e192-4627-9b57-147496e6e2dd",
  "revision": 0,
  "last_node_id": 194,
  "last_link_id": 390,
  "nodes": [
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        140.00010039690983,
        109.99998418319785
      ],
      "size": [
        640,
        600
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 389
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 43,
      "type": "MarkdownNote",
      "pos": [
        -910,
        110
      ],
      "size": [
        560,
        540
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "**Diffusion Model**\n\n- [flux1-dev.safetensors](https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev.safetensors)\n\n**Text Encoder**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors)\n\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors) or [t5xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.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\n```\nComfyUI/\n├── models/\n│   ├── diffusion_models/\n│   │   └─── flux1-dev.safetensors \n│   ├── text_encoders/\n│   │   ├── clip_l.safetensors\n│   │   └─── t5xxl_fp16.safetensors # or t5xxl_fp8_e4m3fn_scaled.safetensors\n│   └── vae/\n│       └── ae.safetensors\n```\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 194,
      "type": "2523c08d-4c99-4b73-910c-62c873f124db",
      "pos": [
        -300,
        110
      ],
      "size": [
        400,
        560
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "label": "prompt",
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            389
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "49",
            "text"
          ],
          [
            "48",
            "width"
          ],
          [
            "48",
            "height"
          ],
          [
            "50",
            "seed"
          ],
          [
            "46",
            "unet_name"
          ],
          [
            "47",
            "clip_name1"
          ],
          [
            "47",
            "clip_name2"
          ],
          [
            "45",
            "vae_name"
          ],
          [
            "50",
            "control_after_generate"
          ]
        ],
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.7"
        },
        "cnr_id": "comfy-core",
        "ver": "0.18.1"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      389,
      194,
      0,
      9,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "2523c08d-4c99-4b73-910c-62c873f124db",
        "version": 1,
        "state": {
          "lastGroupId": 8,
          "lastNodeId": 194,
          "lastLinkId": 390,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Text to Image (Flux.1 Dev)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -1090,
            411,
            120,
            200
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            540,
            100,
            120,
            60
          ]
        },
        "inputs": [
          {
            "id": "669e384e-5e26-4291-9bac-e1d1f04b4a16",
            "name": "text",
            "type": "STRING",
            "linkIds": [
              68
            ],
            "label": "prompt",
            "pos": [
              -990,
              431
            ]
          },
          {
            "id": "5a5c0b01-5836-4ca6-a24f-68c0a4fb9802",
            "name": "width",
            "type": "INT",
            "linkIds": [
              69
            ],
            "pos": [
              -990,
              451
            ]
          },
          {
            "id": "5e01104a-ed7f-457b-aaee-934e8ecc088d",
            "name": "height",
            "type": "INT",
            "linkIds": [
              70
            ],
            "pos": [
              -990,
              471
            ]
          },
          {
            "id": "ea5ea317-a484-4605-8138-8628a4b8e502",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              382
            ],
            "pos": [
              -990,
              491
            ]
          },
          {
            "id": "ea2332f5-bd49-4e2e-8c7a-95817dc56ed6",
            "name": "unet_name",
            "type": "COMBO",
            "linkIds": [
              385
            ],
            "pos": [
              -990,
              511
            ]
          },
          {
            "id": "4fca3f43-c05f-4337-bf84-2afe67e43739",
            "name": "clip_name1",
            "type": "COMBO",
            "linkIds": [
              386
            ],
            "pos": [
              -990,
              531
            ]
          },
          {
            "id": "357a679f-1370-4cd5-9269-0d5ae1986b49",
            "name": "clip_name2",
            "type": "COMBO",
            "linkIds": [
              387
            ],
            "pos": [
              -990,
              551
            ]
          },
          {
            "id": "924ffec5-81f8-4585-8761-5a80d5d775bc",
            "name": "vae_name",
            "type": "COMBO",
            "linkIds": [
              388
            ],
            "pos": [
              -990,
              571
            ]
          }
        ],
        "outputs": [
          {
            "id": "2185cb4d-8689-4cf8-b345-75319fb46a8e",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              9
            ],
            "localized_name": "IMAGE",
            "pos": [
              560,
              120
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 45,
            "type": "VAELoader",
            "pos": [
              -800.0002126248103,
              669.9998163519972
            ],
            "size": [
              270,
              110
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                },
                "link": 388
              }
            ],
            "outputs": [
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  58
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "VAELoader",
              "models": [
                {
                  "name": "ae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
                  "directory": "vae"
                }
              ]
            },
            "widgets_values": [
              "ae.safetensors"
            ]
          },
          {
            "id": 46,
            "type": "UNETLoader",
            "pos": [
              -800.0002126248103,
              159.99991864135956
            ],
            "size": [
              270,
              110
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                },
                "link": 385
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  61
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "name": "flux1-dev.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev.safetensors",
                  "directory": "diffusion_models"
                }
              ]
            },
            "widgets_values": [
              "flux1-dev.safetensors",
              "default"
            ]
          },
          {
            "id": 47,
            "type": "DualCLIPLoader",
            "pos": [
              -800.0002126248103,
              379.99985009149935
            ],
            "size": [
              270,
              180
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip_name1",
                "name": "clip_name1",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name1"
                },
                "link": 386
              },
              {
                "localized_name": "clip_name2",
                "name": "clip_name2",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name2"
                },
                "link": 387
              }
            ],
            "outputs": [
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  64
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "DualCLIPLoader",
              "models": [
                {
                  "name": "clip_l.safetensors",
                  "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
                  "directory": "text_encoders"
                },
                {
                  "name": "t5xxl_fp16.safetensors",
                  "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors",
                  "directory": "text_encoders"
                }
              ]
            },
            "widgets_values": [
              "clip_l.safetensors",
              "t5xxl_fp16.safetensors",
              "flux",
              "default"
            ]
          },
          {
            "id": 48,
            "type": "EmptySD3LatentImage",
            "pos": [
              -420.0002460965984,
              639.9997903111571
            ],
            "size": [
              270,
              170
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 69
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 70
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "slot_index": 0,
                "links": [
                  51
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "EmptySD3LatentImage"
            },
            "widgets_values": [
              1024,
              1024,
              1
            ]
          },
          {
            "id": 49,
            "type": "CLIPTextEncode",
            "pos": [
              -460.00017701131037,
              149.99989698527855
            ],
            "size": [
              330,
              220
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 64
              },
              {
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 68
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  65,
                  66
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
              "A fairy tale scene of a young girl with silver curly hair wearing a delicate white dress, standing among crystal butterflies and glowing glass roses. The scene is filled with soft magical light, like a dream from a fantasy world."
            ]
          },
          {
            "id": 50,
            "type": "KSampler",
            "pos": [
              -50.00026229706464,
              259.9999016377515
            ],
            "size": [
              320,
              350
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 61
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 65
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 63
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 51
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 382
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "slot_index": 0,
                "links": [
                  52
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "KSampler"
            },
            "widgets_values": [
              0,
              "randomize",
              20,
              1,
              "euler",
              "simple",
              1
            ]
          },
          {
            "id": 51,
            "type": "VAEDecode",
            "pos": [
              19.999616803680965,
              119.99990987184157
            ],
            "size": [
              230,
              100
            ],
            "flags": {
              "collapsed": false
            },
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 52
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 58
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  9
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "VAEDecode"
            },
            "widgets_values": []
          },
          {
            "id": 52,
            "type": "ConditioningZeroOut",
            "pos": [
              -350.0002112862403,
              419.99985886101734
            ],
            "size": [
              230,
              80
            ],
            "flags": {
              "collapsed": false
            },
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 66
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  63
                ]
              }
            ],
            "properties": {
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {},
                "version": "7.7"
              },
              "cnr_id": "comfy-core",
              "ver": "0.3.40",
              "Node name for S&R": "ConditioningZeroOut"
            },
            "widgets_values": []
          }
        ],
        "groups": [
          {
            "id": 1,
            "title": "Model",
            "bounding": [
              -820,
              70,
              320,
              750
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          },
          {
            "id": 2,
            "title": "Image Size",
            "bounding": [
              -470,
              570,
              380,
              250
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          },
          {
            "id": 3,
            "title": "Prompt",
            "bounding": [
              -470,
              70,
              380,
              470
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          }
        ],
        "links": [
          {
            "id": 52,
            "origin_id": 50,
            "origin_slot": 0,
            "target_id": 51,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 58,
            "origin_id": 45,
            "origin_slot": 0,
            "target_id": 51,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 61,
            "origin_id": 46,
            "origin_slot": 0,
            "target_id": 50,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 63,
            "origin_id": 52,
            "origin_slot": 0,
            "target_id": 50,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 51,
            "origin_id": 48,
            "origin_slot": 0,
            "target_id": 50,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 9,
            "origin_id": 51,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 64,
            "origin_id": 47,
            "origin_slot": 0,
            "target_id": 49,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 65,
            "origin_id": 49,
            "origin_slot": 0,
            "target_id": 50,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 66,
            "origin_id": 49,
            "origin_slot": 0,
            "target_id": 52,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 68,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 49,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 69,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 48,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 70,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 48,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 382,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 50,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 385,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 46,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 386,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 47,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 387,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 47,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 388,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 45,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG",
          "ds": {
            "scale": 0.7513148009015777,
            "offset": [
              1726.1426909346173,
              146.66925047394233
            ]
          },
          "ue_links": []
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5182297119857627,
      "offset": [
        2347.0679483551053,
        709.1361593614891
      ]
    },
    "frontendVersion": "1.42.10",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": []
  },
  "version": 0.4
}
