Files
workflow-templates-broken-z…/templates/image_z_image_turbo_fun_union_controlnet.json
2026-06-07 20:50:46 -07:00

1321 lines
32 KiB
JSON

{
"id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65",
"revision": 0,
"last_node_id": 71,
"last_link_id": 82,
"nodes": [
{
"id": 62,
"type": "ImageScaleToMaxDimension",
"pos": [
100,
370
],
"size": [
260,
82
],
"flags": {},
"order": 2,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 66
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
67
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToMaxDimension",
"cnr_id": "comfy-core",
"ver": "0.3.76",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"lanczos",
1024
]
},
{
"id": 58,
"type": "LoadImage",
"pos": [
-210,
320
],
"size": [
270,
326
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
66
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.76",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"image_z_image_turbo_fun_union_controlnet_input_image.png",
"image"
]
},
{
"id": 56,
"type": "PreviewImage",
"pos": [
90,
670
],
"size": [
300,
246
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 62
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.76",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 35,
"type": "MarkdownNote",
"pos": [
-750,
320
],
"size": [
490,
624.5052083333334
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Guide(for local user)",
"properties": {},
"widgets_values": [
"Guide: [subgraph](https://docs.hanzo.ai/interface/features/subgraph)\n\n## Report issue\n\nIf you found any issues when running this workflow, [report template issue here](https://github.com/hanzoui/workflow-templates/issues)\n\n## Model links\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/hanzoui/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/hanzoui/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/hanzoui/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📂 HanzoStudio/\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": 57,
"type": "Canny",
"pos": [
110,
510
],
"size": [
260,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 67
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
62,
81
]
}
],
"properties": {
"Node name for S&R": "Canny",
"cnr_id": "comfy-core",
"ver": "0.3.76",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
0.1,
0.32
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
930,
330
],
"size": [
630,
580
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 82
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z-image-turbo"
]
},
{
"id": 70,
"type": "e87b26c4-6b14-4040-bad6-063536f6fbea",
"pos": [
420,
330
],
"size": [
480,
578
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"label": "control_image",
"name": "image",
"type": "IMAGE",
"link": 81
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"44",
"seed"
],
[
"44",
"control_after_generate"
]
]
},
"widgets_values": [
"Realistic photo, close-up of a latina model peeking through pine branches, dappled sunlight on her face, natural, moody, smooth skin, a little bit film grain.\n"
]
}
],
"links": [
[
62,
57,
0,
56,
0,
"IMAGE"
],
[
66,
58,
0,
62,
0,
"IMAGE"
],
[
67,
62,
0,
57,
0,
"IMAGE"
],
[
81,
57,
0,
70,
0,
"IMAGE"
],
[
82,
70,
0,
9,
0,
"IMAGE"
]
],
"groups": [
{
"id": 7,
"title": "Image preprocess",
"bounding": [
90,
290,
300,
310
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "e87b26c4-6b14-4040-bad6-063536f6fbea",
"version": 1,
"state": {
"lastGroupId": 8,
"lastNodeId": 69,
"lastLinkId": 82,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Z-Image-Turbo Fun Control to Image",
"inputNode": {
"id": -10,
"bounding": [
-60,
737.6666810079981,
120,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
1510.3333744900972,
737.6666810079981,
120,
60
]
},
"inputs": [
{
"id": "fbbb968e-d3cf-40e4-b3ce-7abb074e5bd8",
"name": "image",
"type": "IMAGE",
"linkIds": [
65,
80
],
"localized_name": "image",
"label": "control_image",
"pos": [
40,
757.6666810079981
]
},
{
"id": "c1b19877-5417-4580-aea1-44439c70c1dd",
"name": "text",
"type": "STRING",
"linkIds": [
81
],
"pos": [
40,
777.6666810079981
]
}
],
"outputs": [
{
"id": "ccb7fa39-4a3d-4eb2-8fd2-91d08fad9570",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
45
],
"localized_name": "IMAGE",
"pos": [
1530.3333744900972,
757.6666810079981
]
}
],
"widgets": [],
"nodes": [
{
"id": 39,
"type": "CLIPLoader",
"pos": [
140.3333770769022,
475.33335423910967
],
"size": [
270,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
44
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/hanzoui/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": 46,
"type": "UNETLoader",
"pos": [
140.3333770769022,
325.33333411429794
],
"size": [
270,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
79
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"models": [
{
"name": "z_image_turbo_bf16.safetensors",
"url": "https://huggingface.co/hanzoui/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": 40,
"type": "VAELoader",
"pos": [
140.3333770769022,
655.3333218934758
],
"size": [
270,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
39,
70
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/hanzoui/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": 64,
"type": "ModelPatchLoader",
"pos": [
140.3333770769022,
785.333415518181
],
"size": [
270,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL_PATCH",
"name": "MODEL_PATCH",
"type": "MODEL_PATCH",
"links": [
74
]
}
],
"properties": {
"Node name for S&R": "ModelPatchLoader",
"cnr_id": "comfy-core",
"ver": "0.3.51",
"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.safetensors"
]
},
{
"id": 43,
"type": "VAEDecode",
"pos": [
1250.3333744900972,
275.3333445258479
],
"size": [
200,
46
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 38
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 39
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
45
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 47,
"type": "ModelSamplingAuraFlow",
"pos": [
910.3335325997218,
265.3333620159964
],
"size": [
290,
60
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 69
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
40
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
3
]
},
{
"id": 44,
"type": "KSampler",
"pos": [
910.3336353186453,
375.3333365426133
],
"size": [
300,
570
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 40
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 41
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 42
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 78
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
38
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
582911328872997,
"randomize",
9,
1,
"res_multistep",
"simple",
1
]
},
{
"id": 42,
"type": "ConditioningZeroOut",
"pos": [
660,
820
],
"size": [
204.134765625,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 36
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
42
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 60,
"type": "QwenImageDiffsynthControlnet",
"pos": [
520,
980
],
"size": [
290,
140
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 79
},
{
"localized_name": "model_patch",
"name": "model_patch",
"type": "MODEL_PATCH",
"link": 74
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 70
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 65
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "QwenImageDiffsynthControlnet",
"cnr_id": "comfy-core",
"ver": "0.3.76",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1
]
},
{
"id": 41,
"type": "EmptySD3LatentImage",
"pos": [
940,
1110
],
"size": [
260,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 76
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 77
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
78
]
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 45,
"type": "CLIPTextEncode",
"pos": [
460,
320
],
"size": [
400,
440
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 44
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 81
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
36,
41
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Realistic photo, close-up of a latina model peeking through pine branches, dappled sunlight on her face, natural, moody, smooth skin, a little bit film grain.\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 69,
"type": "GetImageSize",
"pos": [
620,
1230
],
"size": [
140,
66
],
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 80
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
76
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
77
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize",
"cnr_id": "comfy-core",
"ver": "0.3.76",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
}
],
"groups": [
{
"id": 3,
"title": "Step 2 - Prompt",
"bounding": [
440,
240,
440,
630
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Step 1 - Load models",
"bounding": [
120,
240,
300,
640
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 8,
"title": "Apple ControlNet",
"bounding": [
440,
900,
440,
260
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 38,
"origin_id": 44,
"origin_slot": 0,
"target_id": 43,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 39,
"origin_id": 40,
"origin_slot": 0,
"target_id": 43,
"target_slot": 1,
"type": "VAE"
},
{
"id": 69,
"origin_id": 60,
"origin_slot": 0,
"target_id": 47,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 40,
"origin_id": 47,
"origin_slot": 0,
"target_id": 44,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 41,
"origin_id": 45,
"origin_slot": 0,
"target_id": 44,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 42,
"origin_id": 42,
"origin_slot": 0,
"target_id": 44,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 78,
"origin_id": 41,
"origin_slot": 0,
"target_id": 44,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 36,
"origin_id": 45,
"origin_slot": 0,
"target_id": 42,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 79,
"origin_id": 46,
"origin_slot": 0,
"target_id": 60,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 74,
"origin_id": 64,
"origin_slot": 0,
"target_id": 60,
"target_slot": 1,
"type": "MODEL_PATCH"
},
{
"id": 70,
"origin_id": 40,
"origin_slot": 0,
"target_id": 60,
"target_slot": 2,
"type": "VAE"
},
{
"id": 76,
"origin_id": 69,
"origin_slot": 0,
"target_id": 41,
"target_slot": 0,
"type": "INT"
},
{
"id": 77,
"origin_id": 69,
"origin_slot": 1,
"target_id": 41,
"target_slot": 1,
"type": "INT"
},
{
"id": 44,
"origin_id": 39,
"origin_slot": 0,
"target_id": 45,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 65,
"origin_id": -10,
"origin_slot": 0,
"target_id": 60,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 80,
"origin_id": -10,
"origin_slot": 0,
"target_id": 69,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 45,
"origin_id": 43,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 81,
"origin_id": -10,
"origin_slot": 1,
"target_id": 45,
"target_slot": 1,
"type": "STRING"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.8420737605895947,
"offset": [
424.0764526407942,
-17.167966077461273
]
},
"frontendVersion": "1.38.6",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}