{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "VHS_KeepIntermediate": true,
          "VHS_MetadataImage": true,
          "VHS_latentpreview": false,
          "VHS_latentpreviewrate": 0,
          "ds": {
            "offset": [
              940.0587067393087,
              -830.7121087564725
            ],
            "scale": 0.8401370345180755
          },
          "frontendVersion": "1.37.10",
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              98.33333333333334,
              556.6666666666667,
              290,
              200
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Step2 - Image size"
          },
          {
            "bounding": [
              406.6666666666667,
              131.66666666666669,
              450,
              540
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 3,
            "title": "Step3 - Prompt"
          },
          {
            "bounding": [
              98.33333333333334,
              131.66666666666669,
              290,
              413.6
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 4,
            "title": "Step1 - Load models"
          }
        ],
        "id": "dc58ba30-7255-4796-9262-b2884843a577",
        "inputNode": {
          "bounding": [
            -80,
            425,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "fb178669-e742-4a53-8a69-7df59834dfd8",
            "label": "prompt",
            "linkIds": [
              34
            ],
            "name": "text",
            "pos": [
              20,
              445
            ],
            "type": "STRING"
          },
          {
            "id": "dd780b3c-23e9-46ff-8469-156008f42e5a",
            "linkIds": [
              35
            ],
            "name": "width",
            "pos": [
              20,
              465
            ],
            "type": "INT"
          },
          {
            "id": "7b08d546-6bb0-4ef9-82e9-ffae5e1ee6bc",
            "linkIds": [
              36
            ],
            "name": "height",
            "pos": [
              20,
              485
            ],
            "type": "INT"
          }
        ],
        "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": 97,
            "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": 97,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 30,
            "origin_id": 27,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 33,
            "origin_id": 33,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 17,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 97,
            "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"
          },
          {
            "id": 34,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 35,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 13,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 36,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 13,
            "target_slot": 1,
            "type": "INT"
          }
        ],
        "name": "Text to Image (Z-Image-Turbo)",
        "nodes": [
          {
            "flags": {},
            "id": 30,
            "inputs": [
              {
                "link": null,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  28
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              109.99997264844609,
              329.99999029608756
            ],
            "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": [
              269.9869791666667,
              106
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_3_4b.safetensors",
              "lumina2",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 29,
            "inputs": [
              {
                "link": null,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  27
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              109.99997264844609,
              479.9999847172637
            ],
            "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": [
              269.9869791666667,
              58
            ],
            "type": "VAELoader",
            "widgets_values": [
              "ae.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 33,
            "inputs": [
              {
                "link": 32,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  33
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              639.9999103333332,
              620.0000271257795
            ],
            "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": 4,
            "outputs": [
              {
                "links": [
                  16
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              1219.9999088104782,
              160.00009184959066
            ],
            "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": [
              209.98697916666669,
              46
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 28,
            "inputs": [
              {
                "link": null,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  26
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              109.99997264844609,
              200.0000502647102
            ],
            "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": [
              269.9869791666667,
              82
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "z_image_turbo_bf16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 27,
            "inputs": [
              {
                "link": 28,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 34,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  30,
                  32
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              429.99997828947767,
              200.0000502647102
            ],
            "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": [
              409.9869791666667,
              319.9869791666667
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 13,
            "inputs": [
              {
                "link": 35,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 36,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  17
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              109.99997264844609,
              629.9999791384399
            ],
            "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": [
              259.9869791666667,
              106
            ],
            "type": "EmptySD3LatentImage",
            "widgets_values": [
              1024,
              1024,
              1
            ]
          },
          {
            "flags": {},
            "id": 97,
            "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"
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": null,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": null,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              },
              {
                "link": null,
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                }
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": null,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  14
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              879.9999615530063,
              269.9999774911694
            ],
            "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": [
              314.9869791666667,
              570.9869791666667
            ],
            "type": "KSampler",
            "widgets_values": [
              792310888931084,
              "randomize",
              4,
              1,
              "res_multistep",
              "simple",
              1
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 26,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              }
            ],
            "mode": 4,
            "order": 3,
            "outputs": [
              {
                "links": [
                  13
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              879.9999615530063,
              160.00009184959066
            ],
            "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": [
              309.9869791666667,
              58
            ],
            "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": 208,
          "lastNodeId": 99,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "ds": {
      "offset": [
        5270.940821075944,
        671.4105721969299
      ],
      "scale": 0.6318589462414933
    },
    "linearData": {
      "inputs": [
        [
          "1",
          "prepend_text"
        ],
        [
          "1",
          "prompts"
        ],
        [
          "1",
          "append_text"
        ],
        [
          "2",
          "value"
        ],
        [
          "13",
          "width"
        ],
        [
          "13",
          "height"
        ]
      ],
      "outputs": [
        "3"
      ]
    },
    "linearMode": true
  },
  "groups": [],
  "id": "8ef25f67-cd4f-48d9-8d8d-64f692a3ccc9",
  "last_link_id": 208,
  "last_node_id": 99,
  "links": [
    [
      1,
      2,
      0,
      1,
      3,
      "INT"
    ],
    [
      207,
      1,
      0,
      98,
      0,
      "STRING"
    ],
    [
      208,
      98,
      0,
      3,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#4F0074",
      "color": "#16727c",
      "flags": {},
      "id": 1,
      "inputs": [
        {
          "link": null,
          "localized_name": "prepend_text",
          "name": "prepend_text",
          "type": "STRING",
          "widget": {
            "name": "prepend_text"
          }
        },
        {
          "link": null,
          "localized_name": "prompts",
          "name": "prompts",
          "type": "STRING",
          "widget": {
            "name": "prompts"
          }
        },
        {
          "link": null,
          "localized_name": "append_text",
          "name": "append_text",
          "type": "STRING",
          "widget": {
            "name": "append_text"
          }
        },
        {
          "link": 1,
          "localized_name": "index",
          "name": "index",
          "type": "INT",
          "widget": {
            "name": "index"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            207
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -4045.4417438762875,
        64.40116405176934
      ],
      "properties": {
        "Node name for S&R": "FL_PromptSelector"
      },
      "size": [
        500.84375,
        428.59375
      ],
      "type": "FL_PromptSelector",
      "widgets_values": [
        "a 1960s fine art crayon illustration of",
        "an apple\nan orange\na peach\na grape",
        "sitting on a table in a green room",
        0
      ]
    },
    {
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "label": "integer_counter",
          "link": null,
          "localized_name": "value",
          "name": "value",
          "type": "INT",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            1
          ],
          "localized_name": "INT",
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -4344.454158106071,
        413.4575881239672
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "size": [
        270,
        82
      ],
      "title": "Integer Counter",
      "type": "PrimitiveInt",
      "widgets_values": [
        5,
        "increment"
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 208,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        -3069.5845197860954,
        66.92634589882323
      ],
      "properties": {},
      "size": [
        270,
        315.328125
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "flags": {},
      "id": 98,
      "inputs": [
        {
          "label": "prompt",
          "link": 207,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        },
        {
          "link": null,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": null,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            208
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -3503.9689058243503,
        66.62435352846364
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "proxyWidgets": [
          [
            "27",
            "text"
          ],
          [
            "13",
            "width"
          ],
          [
            "13",
            "height"
          ],
          [
            "97",
            "seed"
          ],
          [
            "97",
            "control_after_generate"
          ]
        ],
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.3.73"
      },
      "size": [
        400,
        212
      ],
      "type": "dc58ba30-7255-4796-9262-b2884843a577",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 99,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        -5000.9162647164685,
        67.02006335222632
      ],
      "properties": {},
      "size": [
        620.53125,
        424.875
      ],
      "type": "MarkdownNote",
      "widgets_values": [
        "# 🪄 FL Prompt Selector\n\nThe **FL Prompt Selector** node builds each prompt as: `prepend_text` + one line from `prompts` + `append_text` — e.g. *\"a 1960s fine art crayon illustration of **an apple** sitting on a table in a green room\"*.\n\n## Setup\n\n1. Add one subject per line in the `prompts` field.\n2. Set the ComfyUI **batch size** to match the number of lines.\n3. Set the **Int counter to `1`** — it steps through the list automatically.\n\n> If your batch is larger than the number of lines, the counter loops and repeats prompts, giving you extra variations per subject.\n>\n> All three fields loop — so your `prepend_text` and `append_text` only need to be written once and will apply to every generation automatically."
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}