{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              -820,
              70,
              300,
              460
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 1,
            "title": "Step 1 - Load Models Here"
          },
          {
            "bounding": [
              -820,
              550,
              300,
              200
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Step 2 - Image Size"
          },
          {
            "bounding": [
              -500,
              70,
              360,
              333.6000061035156
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 3,
            "title": "Step 3 - Prompt"
          }
        ],
        "id": "ddd1571b-c923-4645-9eba-e238fb45ee9e",
        "inputNode": {
          "bounding": [
            -1090,
            411,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "669e384e-5e26-4291-9bac-e1d1f04b4a16",
            "linkIds": [
              68
            ],
            "name": "text",
            "pos": [
              -990,
              431
            ],
            "type": "STRING"
          },
          {
            "id": "5a5c0b01-5836-4ca6-a24f-68c0a4fb9802",
            "linkIds": [
              69
            ],
            "name": "width",
            "pos": [
              -990,
              451
            ],
            "type": "INT"
          },
          {
            "id": "5e01104a-ed7f-457b-aaee-934e8ecc088d",
            "linkIds": [
              70
            ],
            "name": "height",
            "pos": [
              -990,
              471
            ],
            "type": "INT"
          }
        ],
        "links": [
          {
            "id": 52,
            "origin_id": 31,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 58,
            "origin_id": 39,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 61,
            "origin_id": 38,
            "origin_slot": 0,
            "target_id": 31,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 63,
            "origin_id": 42,
            "origin_slot": 0,
            "target_id": 31,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 51,
            "origin_id": 27,
            "origin_slot": 0,
            "target_id": 31,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 9,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 64,
            "origin_id": 40,
            "origin_slot": 0,
            "target_id": 45,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 65,
            "origin_id": 45,
            "origin_slot": 0,
            "target_id": 31,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 66,
            "origin_id": 45,
            "origin_slot": 0,
            "target_id": 42,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 68,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 45,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 69,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 27,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 70,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 27,
            "target_slot": 1,
            "type": "INT"
          }
        ],
        "name": "Flux.1 Dev Text to Image",
        "nodes": [
          {
            "flags": {},
            "id": 39,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  58
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              -810.0000904528541,
              459.99996840286354
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "vae",
                  "name": "ae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              270,
              68.33333333333334
            ],
            "type": "VAELoader",
            "widgets_values": [
              "ae.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 38,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  61
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -810.0000904528541,
              140.000007743226
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "flux1-dev.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              270,
              96.66666666666667
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "flux1-dev.safetensors",
              "default"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 42,
            "inputs": [
              {
                "link": 66,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  63
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -480.0000484568127,
              459.99996840286354
            ],
            "properties": {
              "Node name for S&R": "ConditioningZeroOut",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              204.134765625,
              26
            ],
            "type": "ConditioningZeroOut",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 8,
            "inputs": [
              {
                "link": 52,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 58,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  9
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              -290.000053866068,
              459.99996840286354
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              140,
              46
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 40,
            "inputs": [],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  64
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              -810.0000904528541,
              279.99999771145144
            ],
            "properties": {
              "Node name for S&R": "DualCLIPLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "text_encoders",
                  "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"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              270,
              153.33333333333334
            ],
            "type": "DualCLIPLoader",
            "widgets_values": [
              "clip_l.safetensors",
              "t5xxl_fp16.safetensors",
              "flux",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 45,
            "inputs": [
              {
                "link": 64,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 68,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  65,
                  66
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -480.0000484568127,
              179.99998846641287
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.4.0"
            },
            "size": [
              320,
              175
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              "beautiful photography of a gorgeous-haired artist, she is natural, having her hair in a casual bun, looking happily into camera, cinematic"
            ]
          },
          {
            "flags": {},
            "id": 27,
            "inputs": [
              {
                "link": 69,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 70,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  51
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              -810.0000904528541,
              619.9999487326824
            ],
            "properties": {
              "Node name for S&R": "EmptySD3LatentImage",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              270,
              125
            ],
            "type": "EmptySD3LatentImage",
            "widgets_values": [
              1024,
              1024,
              1
            ]
          },
          {
            "flags": {},
            "id": 31,
            "inputs": [
              {
                "link": 61,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 65,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 63,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 51,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  52
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              -480.0000484568127,
              509.99997302538293
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.40"
            },
            "size": [
              315,
              270
            ],
            "type": "KSampler",
            "widgets_values": [
              192044955347061,
              "randomize",
              20,
              1,
              "euler",
              "simple",
              1
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            -80,
            390,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2185cb4d-8689-4cf8-b345-75319fb46a8e",
            "linkIds": [
              9
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              -60,
              410
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 3,
          "lastLinkId": 71,
          "lastNodeId": 45,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        725.4394458876612,
        -306.4686763438035
      ],
      "scale": 0.9516254474148576
    },
    "frontendVersion": "1.38.6",
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "9879cb25-f885-4a02-ba58-5a5b8eda769a",
  "last_link_id": 60,
  "last_node_id": 41,
  "links": [
    [
      60,
      41,
      0,
      9,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 40,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [],
      "pos": [
        -730,
        630
      ],
      "properties": {},
      "size": [
        540,
        620
      ],
      "title": "For Local User",
      "type": "MarkdownNote",
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\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\n## Model links\n\n**text_encoders**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors)\n\n**diffusion_models**\n\n- [flux1-dev.safetensors](https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev.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│   │      ├── clip_l.safetensors\n│   │      └── t5xxl_fp16.safetensors\n│   ├── 📂 diffusion_models/\n│   │      └── flux1-dev.safetensors\n│   └── 📂 vae/\n│          └── ae.safetensors\n```\n"
      ]
    },
    {
      "flags": {},
      "id": 9,
      "inputs": [
        {
          "link": 60,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        300,
        630
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.4.0"
      },
      "size": [
        985.2994791666667,
        1010.3776041666667
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "flags": {},
      "id": 41,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            60
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -150,
        630
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "proxyWidgets": [
          [
            "-1",
            "text"
          ],
          [
            "-1",
            "width"
          ],
          [
            "-1",
            "height"
          ],
          [
            "31",
            "seed"
          ],
          [
            "31",
            "control_after_generate"
          ]
        ],
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.4.0"
      },
      "size": [
        400,
        500
      ],
      "type": "ddd1571b-c923-4645-9eba-e238fb45ee9e",
      "widgets_values": [
        "beautiful photography of a gorgeous-haired artist, she is natural, having her hair in a casual bun, looking happily into camera, cinematic",
        1024,
        1024
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}