{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              100,
              560,
              290,
              200
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Step2 - Image size"
          },
          {
            "bounding": [
              410,
              130,
              450,
              540
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 3,
            "title": "Step3 - Prompt"
          },
          {
            "bounding": [
              100,
              130,
              290,
              413.6
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 4,
            "title": "Step1 - Load models"
          }
        ],
        "id": "ef10a538-17cf-46fb-930c-5460c4cf7f0e",
        "inputNode": {
          "bounding": [
            -80,
            425,
            120,
            40
          ],
          "id": -10
        },
        "inputs": [],
        "links": [
          {
            "id": 32,
            "origin_id": 27,
            "origin_slot": 0,
            "target_id": 33,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 26,
            "origin_id": 28,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 14,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 27,
            "origin_id": 29,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 13,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 30,
            "origin_id": 27,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 33,
            "origin_id": 33,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 17,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 28,
            "origin_id": 30,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 16,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "Z-Image-Turbo Text to Image",
        "nodes": [
          {
            "flags": {},
            "id": 30,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  28
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              110,
              330
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "qwen_3_4b.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              270,
              106
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_3_4b.safetensors",
              "lumina2",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 29,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  27
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              110,
              480
            ],
            "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/z_image_turbo/resolve/main/split_files/vae/ae.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              270,
              58
            ],
            "type": "VAELoader",
            "widgets_values": [
              "ae.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 13,
            "inputs": [],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  17
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              110,
              630
            ],
            "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.64"
            },
            "size": [
              260,
              110
            ],
            "type": "EmptySD3LatentImage",
            "widgets_values": [
              1024,
              1024,
              1
            ]
          },
          {
            "flags": {},
            "id": 33,
            "inputs": [
              {
                "link": 32,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  33
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              640,
              620
            ],
            "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.73"
            },
            "size": [
              204.134765625,
              26
            ],
            "type": "ConditioningZeroOut",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 14,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 27,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  16
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              1220,
              160
            ],
            "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.64"
            },
            "size": [
              210,
              46
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 13,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 30,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 33,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 17,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  14
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              880,
              270
            ],
            "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.64"
            },
            "size": [
              315,
              262
            ],
            "type": "KSampler",
            "widgets_values": [
              528562900154240,
              "randomize",
              4,
              1,
              "res_multistep",
              "simple",
              1
            ]
          },
          {
            "flags": {},
            "id": 27,
            "inputs": [
              {
                "link": 28,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  30,
                  32
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              430,
              200
            ],
            "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.3.73"
            },
            "size": [
              410,
              370
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              "Giant blue and purple big billboard on rooftop in san francisco city billboard says \"ComfyUI is built with love\" All kinds of buoildings in different shapes and colors. Some buildings have grafitti \"We\" \"Here\" \"Today\""
            ]
          },
          {
            "flags": {},
            "id": 28,
            "inputs": [],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  26
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              110,
              200
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "z_image_turbo_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.73"
            },
            "size": [
              270,
              82
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "z_image_turbo_bf16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 26,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              }
            ],
            "mode": 4,
            "order": 5,
            "outputs": [
              {
                "links": [
                  13
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              880,
              160
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.64"
            },
            "size": [
              310,
              60
            ],
            "type": "ModelSamplingAuraFlow",
            "widgets_values": [
              3
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            1490,
            415,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "1fa72a21-ce00-4952-814e-1f2ffbe87d1d",
            "linkIds": [
              16
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              1510,
              435
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 4,
          "lastLinkId": 33,
          "lastNodeId": 34,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        615.8673999766197,
        408.7265996060904
      ],
      "scale": 0.7481709737514417
    },
    "frontendVersion": "1.36.3",
    "links_added_by_ue": [],
    "ue_links": [],
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
  "last_link_id": 134,
  "last_node_id": 84,
  "links": [
    [
      134,
      83,
      0,
      60,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 83,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            134
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        130,
        -210
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "proxyWidgets": [
          [
            "27",
            "text"
          ],
          [
            "13",
            "height"
          ],
          [
            "13",
            "width"
          ],
          [
            "3",
            "seed"
          ],
          [
            "3",
            "control_after_generate"
          ]
        ],
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.3.73"
      },
      "size": [
        530.5277931292187,
        660.5092322282999
      ],
      "type": "ef10a538-17cf-46fb-930c-5460c4cf7f0e",
      "widgets_values": []
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {
        "collapsed": false
      },
      "id": 84,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        -380,
        -210
      ],
      "properties": {},
      "size": [
        490,
        490
      ],
      "title": "Model link （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- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)\n\n**diffusion_models**\n\n- [z_image_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 text_encoders/\n│   │      └── qwen_3_4b.safetensors\n│   ├── 📂 diffusion_models/\n│   │      └── z_image_turbo_bf16.safetensors\n│   └── 📂 vae/\n│          └── ae.safetensors\n```\n"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 60,
      "inputs": [
        {
          "link": 134,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        690,
        -210
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.65"
      },
      "size": [
        933.223388671875,
        847.7537231445312
      ],
      "type": "SaveImage",
      "widgets_values": [
        "z-image-turbo"
      ]
    }
  ],
  "revision": 2,
  "version": 0.4
}