{
  "id": "5a744ea1-0138-44da-b77f-f0524d023c8a",
  "revision": 0,
  "last_node_id": 86,
  "last_link_id": 106,
  "nodes": [
    {
      "id": 72,
      "type": "CLIPLoader",
      "pos": [
        -35.5451682007499,
        331.83038605109584
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            96
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.73",
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen_3_4b.safetensors",
            "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
            "directory": "text_encoders"
          }
        ],
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "qwen_3_4b.safetensors",
        "lumina2",
        "default"
      ]
    },
    {
      "id": 73,
      "type": "UNETLoader",
      "pos": [
        -35.5451682007499,
        181.83036592628434
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            91
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.73",
        "Node name for S&R": "UNETLoader",
        "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",
            "directory": "diffusion_models"
          }
        ],
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "z_image_turbo_bf16.safetensors",
        "default"
      ]
    },
    {
      "id": 74,
      "type": "VAEDecode",
      "pos": [
        1125.1666872450487,
        126.3333445258479
      ],
      "size": [
        200,
        46
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 83
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 84
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            99
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "VAEDecode",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 77,
      "type": "ConditioningZeroOut",
      "pos": [
        534.8333127549514,
        671
      ],
      "size": [
        204.134765625,
        26
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 90
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            88
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.73",
        "Node name for S&R": "ConditioningZeroOut",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 83,
      "type": "VAELoader",
      "pos": [
        -35.5451682007499,
        511.83035370546213
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            84,
            93
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.73",
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "ae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
            "directory": "vae"
          }
        ],
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "ae.safetensors"
      ]
    },
    {
      "id": 56,
      "type": "PreviewImage",
      "pos": [
        -406.89165830322145,
        475.98379306153936
      ],
      "size": [
        300,
        246.00000000000006
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 102
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.76",
        "Node name for S&R": "PreviewImage",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 75,
      "type": "ModelSamplingAuraFlow",
      "pos": [
        785.1668453546732,
        116.33336201599639
      ],
      "size": [
        290,
        60
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 85
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            86
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "ModelSamplingAuraFlow",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        3
      ]
    },
    {
      "id": 35,
      "type": "MarkdownNote",
      "pos": [
        -1262.1851945269343,
        129.89577348022274
      ],
      "size": [
        490,
        624.5052083333334
      ],
      "flags": {
        "collapsed": false
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Install models",
      "properties": {},
      "widgets_values": [
        "## 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**model_patches**\n\n- [Z-Image-Turbo-Fun-Controlnet-Union.safetensors](https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union/resolve/main/Z-Image-Turbo-Fun-Controlnet-Union.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│   └── 📂 model_patches/\n│          └── Z-Image-Turbo-Fun-Controlnet-Union.safetensors\n```\n"
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 78,
      "type": "QwenImageDiffsynthControlnet",
      "pos": [
        370.89630846876696,
        833.3158261001412
      ],
      "size": [
        290,
        140
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 91
        },
        {
          "name": "model_patch",
          "type": "MODEL_PATCH",
          "link": 92
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 93
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 101
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            85
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.76",
        "Node name for S&R": "QwenImageDiffsynthControlnet",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        1
      ]
    },
    {
      "id": 58,
      "type": "LoadImage",
      "pos": [
        -745.7819616925364,
        130.93366396874615
      ],
      "size": [
        270,
        326
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            66
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Reference image",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.76",
        "Node name for S&R": "LoadImage",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "00014-2291119672.png",
        "image"
      ]
    },
    {
      "id": 82,
      "type": "ModelPatchLoader",
      "pos": [
        -5.8644258683054415,
        670.188946066222
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL_PATCH",
          "type": "MODEL_PATCH",
          "links": [
            92
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.51",
        "Node name for S&R": "ModelPatchLoader",
        "models": [
          {
            "name": "Z-Image-Turbo-Fun-Controlnet-Union.safetensors",
            "url": "https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union/resolve/main/Z-Image-Turbo-Fun-Controlnet-Union.safetensors",
            "directory": "model_patches"
          }
        ],
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "Z-Image-Turbo-Fun-Controlnet-Union-2.1-2602-8steps.safetensors"
      ]
    },
    {
      "id": 81,
      "type": "GetImageSize",
      "pos": [
        -10.206957689737022,
        1076.5917785161273
      ],
      "size": [
        140,
        66
      ],
      "flags": {
        "collapsed": true
      },
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 106
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            94
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            95
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.76",
        "Node name for S&R": "GetImageSize",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 79,
      "type": "EmptySD3LatentImage",
      "pos": [
        802.5258470434154,
        1004.8181485486881
      ],
      "size": [
        260,
        106
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 94
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 95
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            89
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "EmptySD3LatentImage",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        1024,
        1024,
        1
      ]
    },
    {
      "id": 62,
      "type": "ImageScaleToMaxDimension",
      "pos": [
        -405.7822933767746,
        164.8865832170916
      ],
      "size": [
        260,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 66
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            105,
            106
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.76",
        "Node name for S&R": "ImageScaleToMaxDimension",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "lanczos",
        1024
      ]
    },
    {
      "id": 86,
      "type": "MarkdownNote",
      "pos": [
        -435.5872620123663,
        -168.40104823268675
      ],
      "size": [
        560.4917630395555,
        235.1965241307069
      ],
      "flags": {
        "collapsed": false
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Useful Preprocessors",
      "properties": {},
      "widgets_values": [
        "- DWPreprocessor\n- Openpose\n"
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 85,
      "type": "AIO_Preprocessor",
      "pos": [
        -403.0989727899801,
        301.9541099798546
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 105
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            101,
            102
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
        "Node name for S&R": "AIO_Preprocessor"
      },
      "widgets_values": [
        "OpenposePreprocessor",
        512
      ]
    },
    {
      "id": 80,
      "type": "CLIPTextEncode",
      "pos": [
        334.8333127549514,
        171
      ],
      "size": [
        400,
        440
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 96
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            87,
            90
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.73",
        "Node name for S&R": "CLIPTextEncode",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "A 35 year old man eatern european in black suit sitting on ice block in north pole. He's holding an ice cube, looking at viewer"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 76,
      "type": "KSampler",
      "pos": [
        785.1669480735967,
        226.33333654261332
      ],
      "size": [
        300,
        570
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 86
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 87
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 88
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 89
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            83
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "KSampler",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        316320553508276,
        "fixed",
        9,
        1,
        "res_multistep",
        "simple",
        1
      ]
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        1237.3652580847302,
        332.5745592030822
      ],
      "size": [
        630,
        580
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 99
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "Node name for S&R": "SaveImage",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "z-image-turbo"
      ]
    }
  ],
  "links": [
    [
      66,
      58,
      0,
      62,
      0,
      "IMAGE"
    ],
    [
      83,
      76,
      0,
      74,
      0,
      "LATENT"
    ],
    [
      84,
      83,
      0,
      74,
      1,
      "VAE"
    ],
    [
      85,
      78,
      0,
      75,
      0,
      "MODEL"
    ],
    [
      86,
      75,
      0,
      76,
      0,
      "MODEL"
    ],
    [
      87,
      80,
      0,
      76,
      1,
      "CONDITIONING"
    ],
    [
      88,
      77,
      0,
      76,
      2,
      "CONDITIONING"
    ],
    [
      89,
      79,
      0,
      76,
      3,
      "LATENT"
    ],
    [
      90,
      80,
      0,
      77,
      0,
      "CONDITIONING"
    ],
    [
      91,
      73,
      0,
      78,
      0,
      "MODEL"
    ],
    [
      92,
      82,
      0,
      78,
      1,
      "MODEL_PATCH"
    ],
    [
      93,
      83,
      0,
      78,
      2,
      "VAE"
    ],
    [
      94,
      81,
      0,
      79,
      0,
      "INT"
    ],
    [
      95,
      81,
      1,
      79,
      1,
      "INT"
    ],
    [
      96,
      72,
      0,
      80,
      0,
      "CLIP"
    ],
    [
      99,
      74,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      101,
      85,
      0,
      78,
      3,
      "IMAGE"
    ],
    [
      102,
      85,
      0,
      56,
      0,
      "IMAGE"
    ],
    [
      105,
      62,
      0,
      85,
      0,
      "IMAGE"
    ],
    [
      106,
      62,
      0,
      81,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 7,
      "title": "Image preprocess",
      "bounding": [
        -421.1166441678222,
        98.28858213409941,
        300,
        310
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Step 2 - Prompt",
      "bounding": [
        314.8333127549514,
        91,
        440,
        630
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 4,
      "title": "Step 1 - Load models",
      "bounding": [
        -55.87854527765216,
        96.49703181198628,
        300,
        640
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 8,
      "title": "Apple ControlNet",
      "bounding": [
        314.8333127549514,
        751,
        440,
        260
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.099784096969526,
      "offset": [
        -408.2134577460459,
        -218.2616811306336
      ]
    },
    "frontendVersion": "1.36.14",
    "workflowRendererVersion": "LG",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}