{
  "id": "b58bd1f0-e88e-4843-a7be-5c4576344de9",
  "revision": 0,
  "last_node_id": 52,
  "last_link_id": 57,
  "nodes": [
    {
      "id": 42,
      "type": "ConditioningZeroOut",
      "pos": [
        662.9966792346455,
        729.3538086174855
      ],
      "size": [
        204.134765625,
        26
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 36
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            42
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 39,
      "type": "CLIPLoader",
      "pos": [
        130.2638101844517,
        435.2545050421948
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            44
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "clip_name": true,
            "type": true,
            "device": true
          }
        }
      },
      "widgets_values": [
        "qwen_3_4b.safetensors",
        "lumina2",
        "default"
      ]
    },
    {
      "id": 35,
      "type": "MarkdownNote",
      "pos": [
        -417.40457074822876,
        245.93244640685037
      ],
      "size": [
        490,
        400
      ],
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Model link",
      "properties": {
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "## Report issue\n\nIf you found any issues when running this workflow, [report template issue here](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\n"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 43,
      "type": "VAEDecode",
      "pos": [
        1240.2638101844518,
        265.2545050421948
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 38
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 39
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            45
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 46,
      "type": "UNETLoader",
      "pos": [
        127.6972395960508,
        99.4167403084002
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": []
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "unet_name": true,
            "weight_dtype": true
          }
        }
      },
      "widgets_values": [
        "z_image_turbo_bf16.safetensors",
        "default"
      ]
    },
    {
      "id": 48,
      "type": "UnetLoaderGGUF",
      "pos": [
        127.78162365592495,
        307.8995795491217
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            57
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-gguf",
        "ver": "1.1.6",
        "Node name for S&R": "UnetLoaderGGUF",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "unet_name": true
          }
        }
      },
      "widgets_values": [
        "z_image_turbo-Q8_0.gguf"
      ]
    },
    {
      "id": 47,
      "type": "ModelSamplingAuraFlow",
      "pos": [
        900.2638101844517,
        265.2545050421948
      ],
      "size": [
        310,
        60
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 57
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            40
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "shift": true
          }
        }
      },
      "widgets_values": [
        3
      ]
    },
    {
      "id": 40,
      "type": "VAELoader",
      "pos": [
        130.2638101844517,
        585.2545050421948
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            39,
            55
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "vae_name": true
          }
        }
      },
      "widgets_values": [
        "ae.safetensors"
      ]
    },
    {
      "id": 52,
      "type": "VAEEncode",
      "pos": [
        454.0570499859976,
        821.7864164575847
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 54
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 55
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            56
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.75",
        "Node name for S&R": "VAEEncode",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        1525.4446576998612,
        106.31636325804762
      ],
      "size": [
        780,
        660
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 45
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "filename_prefix": true
          }
        }
      },
      "widgets_values": [
        "Z-Image\\ComfyUI-%date:yyyy-MM-dd%"
      ]
    },
    {
      "id": 51,
      "type": "LoadImage",
      "pos": [
        13.071286617319767,
        757.9813274999749
      ],
      "size": [
        274.080078125,
        314
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            54
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.75",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "image": true,
            "upload": true
          }
        }
      },
      "widgets_values": [
        "04394-1068452701.png",
        "image"
      ]
    },
    {
      "id": 44,
      "type": "KSampler",
      "pos": [
        944.4391996241338,
        381.56525812432966
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 40
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 41
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 42
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 56
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            38
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "seed": true,
            "steps": true,
            "cfg": true,
            "sampler_name": true,
            "scheduler": true,
            "denoise": true
          }
        }
      },
      "widgets_values": [
        987359077333898,
        "fixed",
        4,
        1,
        "res_multistep",
        "simple",
        0.1
      ]
    },
    {
      "id": 45,
      "type": "CLIPTextEncode",
      "pos": [
        452.9966792346455,
        309.3538086174855
      ],
      "size": [
        410,
        370
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 44
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            36,
            41
          ]
        }
      ],
      "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,
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {
            "text": true
          }
        }
      },
      "widgets_values": [
        "Ultra-realistic portrait. ultra-realistic skin texture."
      ]
    }
  ],
  "links": [
    [
      36,
      45,
      0,
      42,
      0,
      "CONDITIONING"
    ],
    [
      38,
      44,
      0,
      43,
      0,
      "LATENT"
    ],
    [
      39,
      40,
      0,
      43,
      1,
      "VAE"
    ],
    [
      40,
      47,
      0,
      44,
      0,
      "MODEL"
    ],
    [
      41,
      45,
      0,
      44,
      1,
      "CONDITIONING"
    ],
    [
      42,
      42,
      0,
      44,
      2,
      "CONDITIONING"
    ],
    [
      44,
      39,
      0,
      45,
      0,
      "CLIP"
    ],
    [
      45,
      43,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      54,
      51,
      0,
      52,
      0,
      "IMAGE"
    ],
    [
      55,
      40,
      0,
      52,
      1,
      "VAE"
    ],
    [
      56,
      52,
      0,
      44,
      3,
      "LATENT"
    ],
    [
      57,
      48,
      0,
      47,
      0,
      "MODEL"
    ]
  ],
  "groups": [
    {
      "id": 2,
      "title": "Step2 - Select input image",
      "bounding": [
        -95.73176111278792,
        679.5914913295975,
        499.9908055882682,
        390.0417589344137
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Step3 - Prompt",
      "bounding": [
        432.9966792346455,
        239.3538086174856,
        450,
        540
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 4,
      "title": "Step1 - Load models",
      "bounding": [
        120.2638101844517,
        235.2545050421948,
        290,
        413.6
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6588450000000002,
      "offset": [
        897.7803524021465,
        194.3590266189224
      ]
    },
    "frontendVersion": "1.34.8",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "workflowRendererVersion": "LG",
    "ue_links": [],
    "links_added_by_ue": []
  },
  "version": 0.4
}