Z-Image-Turbo-AIO / workflow /Z-Image-Turbo-AIO-workflow-controlnet.json
SeeSee21's picture
Upload workflow/Z-Image-Turbo-AIO-workflow-controlnet.json with huggingface_hub
68e8d34 verified
{
"id": "3352e28f-c879-400f-bb05-bbe72e3bacb2",
"revision": 0,
"last_node_id": 67,
"last_link_id": 83,
"nodes": [
{
"id": 40,
"type": "ConditioningZeroOut",
"pos": [
19680,
7280
],
"size": [
220,
26
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 46
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
47,
48
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.75",
"Node name for S&R": "ConditioningZeroOut",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.4.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 11,
"type": "VAEDecode",
"pos": [
19678.698627423088,
7186.776251773069
],
"size": [
220,
46
],
"flags": {
"collapsed": false
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 8
},
{
"name": "vae",
"type": "VAE",
"link": 34
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
12,
60,
63
]
}
],
"title": "🖼️ Decode Main Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"version": "7.0.1",
"widget_ue_connectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 31,
"type": "Reroute",
"pos": [
20620,
6970
],
"size": [
75,
26
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 35
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
36,
62
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.4.1",
"input_ue_unconnectable": {}
}
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 45,
"type": "VAEEncode",
"pos": [
20770,
7100
],
"size": [
185.191015625,
46
],
"flags": {
"collapsed": true
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 61
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
56
]
}
],
"title": "🔄 Encode for Upscale",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "VAEEncode"
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 44,
"type": "ImageScaleBy",
"pos": [
20760,
7090
],
"size": [
350,
82
],
"flags": {
"collapsed": false
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 60
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
61
]
}
],
"title": "📐 Scale Image for Upscale",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ImageScaleBy"
},
"widgets_values": [
"lanczos",
1.5
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 12,
"type": "VAEDecode",
"pos": [
20760,
8030
],
"size": [
350,
50
],
"flags": {
"collapsed": false
},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 10
},
{
"name": "vae",
"type": "VAE",
"link": 36
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
13,
64
]
}
],
"title": "🔍 Decode Upscaled Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"version": "7.0.1",
"widget_ue_connectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 49,
"type": "SaveImageWithMetaData",
"pos": [
21130,
7090
],
"size": [
540,
990
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 64
},
{
"name": "extra_metadata",
"shape": 7,
"type": "EXTRA_METADATA",
"link": null
}
],
"outputs": [],
"title": "💾 Save Upscaled Image",
"properties": {
"cnr_id": "comfyui_image_metadata_extension",
"ver": "1.2.17",
"Node name for S&R": "SaveImageWithMetaData",
"widget_ue_connectable": {}
},
"widgets_values": [
"Z-Image-H",
"%date:yyyy-MM-dd%",
"png",
"max",
"full",
true,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 48,
"type": "SaveImageWithMetaData",
"pos": [
20250,
7030
],
"size": [
470,
780
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 63
},
{
"name": "extra_metadata",
"shape": 7,
"type": "EXTRA_METADATA",
"link": null
}
],
"outputs": [],
"title": "💾 Save Main Image",
"properties": {
"cnr_id": "comfyui_image_metadata_extension",
"ver": "1.2.17",
"Node name for S&R": "SaveImageWithMetaData",
"widget_ue_connectable": {}
},
"widgets_values": [
"Z-Image-L",
"%date:yyyy-MM-dd%",
"png",
"max",
"full",
true,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 13,
"type": "Image Comparer (rgthree)",
"pos": [
21710,
7030
],
"size": [
580,
1060
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"dir": 3,
"name": "image_a",
"type": "IMAGE",
"link": 12
},
{
"dir": 3,
"name": "image_b",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"title": "🔄 Compare Images",
"properties": {
"cnr_id": "rgthree-comfy",
"ver": "b775441a4c5ae2853d4ff6b97a137f7f7d11e597",
"comparer_mode": "Slide",
"ue_properties": {
"version": "7.0.1",
"widget_ue_connectable": {}
}
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_qevgp_00001_.png&type=temp&subfolder=&rand=0.03980821531865497"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_qevgp_00002_.png&type=temp&subfolder=&rand=0.1767525242559741"
}
]
],
"color": "#223",
"bgcolor": "#335",
"shape": 1
},
{
"id": 30,
"type": "Reroute",
"pos": [
19560,
6970
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 33
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
34,
35
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.4.1",
"input_ue_unconnectable": {}
}
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 54,
"type": "ModelPatchLoader",
"pos": [
17930,
7240
],
"size": [
470,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL_PATCH",
"type": "MODEL_PATCH",
"links": [
65
]
}
],
"title": "🎮 Load ControlNet Union",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ModelPatchLoader",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.2"
}
},
"widgets_values": [
"Z-Image-Turbo-Fun-Controlnet-Union.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 29,
"type": "Reroute",
"pos": [
18440,
6970
],
"size": [
75,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 39
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
33,
74
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.4.1",
"input_ue_unconnectable": {}
}
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 61,
"type": "Reroute",
"pos": [
19030,
6970
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 74
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
75,
76
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 34,
"type": "CheckpointLoaderSimple",
"pos": [
17930,
7080
],
"size": [
470,
98
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
49
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
50
]
},
{
"name": "VAE",
"type": "VAE",
"links": [
39
]
}
],
"title": "📦 Load Z-Image-Turbo Model",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.71",
"Node name for S&R": "CheckpointLoaderSimple",
"ue_properties": {
"widget_ue_connectable": {
"ckpt_name": true
},
"version": "7.4.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"z-image-turbo-fp8-aio.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 41,
"type": "LoraLoader",
"pos": [
17930,
7550
],
"size": [
470,
126
],
"flags": {},
"order": 10,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 49
},
{
"name": "clip",
"type": "CLIP",
"link": 50
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
79
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
51
]
}
],
"title": "✨ Load LoRA (Optional)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.75",
"Node name for S&R": "LoraLoader",
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true,
"strength_clip": true
},
"version": "7.4.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"z-image\\neu\\dandadan_aira_shiratori2_copy_000002500.safetensors",
1,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 43,
"type": "Fast Groups Bypasser (rgthree)",
"pos": [
17910,
7380
],
"size": [
380,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "OPT_CONNECTION",
"type": "*",
"links": null
}
],
"title": "📖 Toggle LoRA ON/OFF",
"properties": {
"matchColors": "",
"matchTitle": "📖",
"showNav": true,
"showAllGraphs": true,
"sort": "position",
"customSortAlphabet": "",
"toggleRestriction": "default",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.4.1"
}
},
"color": "#233",
"bgcolor": "#355"
},
{
"id": 60,
"type": "VAEEncode",
"pos": [
19680,
7350
],
"size": [
220,
46
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 82
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
77
]
}
],
"title": "🔄 Encode for Upscale",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "VAEEncode"
},
"widgets_values": [],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 2,
"type": "ModelSamplingAuraFlow",
"pos": [
19680,
7080
],
"size": [
220,
58
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 83
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
40,
41
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "ModelSamplingAuraFlow",
"ue_properties": {
"version": "7.0.1",
"widget_ue_connectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
3
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 14,
"type": "KSampler",
"pos": [
20760,
7220
],
"size": [
350,
758.3076923076924
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 40
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 15
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 48
},
{
"name": "latent_image",
"type": "LATENT",
"link": 56
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
10
]
}
],
"title": "🔍 Upscale Generation",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "KSampler",
"ue_properties": {
"version": "7.0.1",
"widget_ue_connectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
147055680729376,
"fixed",
8,
1,
"res_multistep",
"beta",
0.5
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 28,
"type": "Fast Groups Bypasser (rgthree)",
"pos": [
20740,
6920
],
"size": [
360,
60
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "OPT_CONNECTION",
"type": "*",
"links": null
}
],
"title": "🔼 Toggle Upscaler ON/OFF",
"properties": {
"matchColors": "",
"matchTitle": "🔼",
"showNav": true,
"showAllGraphs": true,
"sort": "position",
"customSortAlphabet": "",
"toggleRestriction": "default",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.4.1"
}
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 53,
"type": "QwenImageDiffsynthControlnet",
"pos": [
19150,
7460
],
"size": [
210,
138
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 79
},
{
"name": "model_patch",
"type": "MODEL_PATCH",
"link": 65
},
{
"name": "vae",
"type": "VAE",
"link": 75
},
{
"name": "image",
"type": "IMAGE",
"link": 72
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
83
]
}
],
"title": "🎮 ControlNet Apply",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "QwenImageDiffsynthControlnet",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.2"
}
},
"widgets_values": [
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 59,
"type": "PreviewImage",
"pos": [
18750,
7080
],
"size": [
330,
460
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 70
}
],
"outputs": [],
"title": "👁️ Preview Preprocessor Output",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 52,
"type": "LoadImage",
"pos": [
18460,
7080
],
"size": [
270,
460
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
68
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "🖼️ Load Input Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.2"
}
},
"widgets_values": [
"katze-die-dem-computer-arbeitet-73361403.webp",
"image"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 23,
"type": "MarkdownNote",
"pos": [
17330,
7030
],
"size": [
560,
1130
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "📦 Model Info - Z-Image-Turbo-AIO + ControlNet",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 🚀 Z-Image-Turbo-AIO + ControlNet\n\n## Ultra-Fast Photorealistic with ControlNet!\n\n✨ **8-Step Lightning Speed**\n✨ **VAE + Text Encoder integrated**\n✨ **Bilingual text rendering (EN/CN)**\n✨ **ControlNet Union support**\n✨ **No negative prompts needed**\n✨ **Metadata saved automatically**\n\n---\n\n## 🔄 Two Versions Available:\n\n### 🟢 Z-Image-BF16-AIO (20 GB)\n**Maximum Precision**\n- Precision: BFloat16\n- Steps: 9 (recommended)\n- CFG: 1.0 (keep at 1.0!)\n- Sampler: res_multistep or euler_ancestral\n- Scheduler: simple or beta\n- VRAM: Works on 8GB!\n\n### 🟡 Z-Image-FP8-AIO (10 GB)\n**Speed & Efficiency**\n- Precision: FP8\n- Steps: 9 (recommended)\n- CFG: 1.0 (keep at 1.0!)\n- Sampler: res_multistep or euler_ancestral\n- Scheduler: simple or beta\n- VRAM: Perfect for 8GB!\n\n---\n\n## 🎮 ControlNet Union Required:\n\n**Download ControlNet file:**\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?download=true)\n\n**Save in:**\n```\nComfyUI/models/model_patches/\n└── Z-Image-Turbo-Fun-Controlnet-Union.safetensors\n```\n\n**⚠️ Important:** Use `model_patches/` folder (for ModelPatchLoader)\n\n**Supports:** Canny, HED, Depth, Pose, MLSD\n\n---\n\n## ⚙️ Critical Settings\n\n### Both Versions:\n- **Steps:** 9\n- **CFG:** 1.0 (don't change!)\n- **Sampler:** res_multistep or euler_ancestral\n- **Scheduler:** simple or beta\n- **Scale by Megapixels** (not resolution!)\n- **NO negative prompts**\n\n💡 **Natural language prompts work best!**\n\n---\n\n## 📥 Download Links\n\n**Main Models:**\n[CivitAI (Models + Workflows)](https://civitai.com/models/2173571?modelVersionId=2448013)\n[HuggingFace (Models)](https://huggingface.co/SeeSee21/Z-Image-Turbo-AIO)\n\n**ControlNet Union:**\n[HuggingFace](https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union)\n\n**Try Online (FP8):**\n[TensorArt](https://tensorart.me/de-DE/models/939302608026244936/Z-Image-Turbo-AIO-FP8-FP8)\n\n---\n\n## 🎯 Required Custom Nodes\n\n**Essential:**\n- [rgthree-comfy](https://github.com/rgthree/rgthree-comfy)\n- [comfyui_image_metadata_extension](https://github.com/edelvarden/comfyui_image_metadata_extension)\n- [comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)\n\n**⚠️ ComfyUI Version 3.77+ required!**\n(ModelPatchLoader needs newer version)\n\n---\n\n## 📂 Installation\n\n```\n📂 ComfyUI/models/\n├── 📂 checkpoints/\n│ └── Z-Image-Turbo-FP8-AIO.safetensors\n└── 📂 model_patches/\n └── Z-Image-Turbo-Fun-Controlnet-Union.safetensors\n```\n\n**No separate VAE/encoder needed!**"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 58,
"type": "AIO_Preprocessor",
"pos": [
18750,
7600
],
"size": [
330,
82
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 81
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
70,
72
]
}
],
"title": "🔧 AIO Aux Preprocessor",
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.1.3",
"Node name for S&R": "AIO_Preprocessor"
},
"widgets_values": [
"DepthAnythingV2Preprocessor",
1024
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 64,
"type": "MarkdownNote",
"pos": [
17910,
7750
],
"size": [
510,
400
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "📖 Z-Image-Turbo Workflow - ControlNet Edition",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 📖 ControlNet Workflow Guide\n\n## Quick Start:\n\n1. Load models\n2. Upload input image\n3. Choose preprocessor (Canny, Depth, Pose, etc.)\n4. Write detailed prompt\n5. Set megapixels (1.0-2.08 MP)\n6. Generate!\n\n---\n\n## Samplers:\n\n**res_multistep** - Sharp, detailed\n**euler_ancestral** - Natural, smooth skin\n\n## Schedulers:\n\n**simple** - Clean\n**beta** - Smoother\n\n---\n\n## ControlNet Strength:\n\n0.3-0.5 - Subtle\n0.6-0.8 - Balanced ⭐\n0.9-1.0 - Strong\n\n---\n\n## Prompting:\n\n✅ Natural language (100-300 words)\n✅ Detailed descriptions\n✅ Include lighting & mood\n✅ EN or CN text: \"COFFEE\" or \"咖啡\"\n❌ NO negative prompts\n\n---\n\n[CivitAI](https://civitai.com/models/2173571?modelVersionId=2448013) • [HuggingFace](https://huggingface.co/SeeSee21/Z-Image-Turbo-AIO) • [Try Online](https://tensorart.me/de-DE/models/939302608026244936/Z-Image-Turbo-AIO-FP8-FP8)"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 65,
"type": "MarkdownNote",
"pos": [
18820,
7750
],
"size": [
290,
310
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔧 AIO Aux Preprocessor Guide",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 🔧 AIO Aux Preprocessor\n\nChoose your control type - defaults work well!\n\n---\n\n## Available Types:\n\n**CannyEdge** - Line art, sketches\n**HED** - Soft edges\n**DepthAnything** - 3D structure\n**DWPreprocessor** - Pose detection\n**MLSD** - Architecture, lines\n\n---\n\n## Quick Tips:\n\n✅ Use default settings first\n✅ Preview shows automatically\n✅ Adjust if needed\n\n**Best for beginners:** Start with Canny or Depth\n\n---\n\n**Custom Node:**\n[comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 66,
"type": "MarkdownNote",
"pos": [
18440,
7750
],
"size": [
360,
310
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "📏 Megapixel Scaling Guide",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 📏 Megapixel Guide\n\nSet total megapixels - aspect ratio maintained automatically!\n\n---\n\n## Common Sizes:\n\n**Fast:**\n0.25 MP ≈ 512×512\n0.59 MP ≈ 768×768\n\n**Standard:**\n1.0 MP ≈ 1024×1024 ⭐\n1.01 MP ≈ 832×1216\n\n**High Quality:**\n1.57 MP ≈ 1024×1536\n2.08 MP ≈ 1920×1088 ⭐ (tested!)\n2.36 MP ≈ 2048×1152\n\n**Ultra HD:**\n3.0 MP ≈ 2048×1536\n4.0 MP ≈ 2048×2048\n\n---\n\n## Quick Tips:\n\n🎯 Start with: 1.0 or 2.08 MP\n📐 Works with any input aspect ratio\n⚡ Both FP8 & BF16 work great!"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 62,
"type": "MarkdownNote",
"pos": [
19400,
7400
],
"size": [
240,
410
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🎮 ControlNet Union Guide",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 🎮 ControlNet Union Guide\n\n## What is ControlNet Union?\n\nThe **Z-Image-Turbo-Fun-Controlnet-Union** is a special ControlNet model designed specifically for Z-Image-Turbo. It combines multiple control types into one unified model!\n\n---\n\n## 🎯 Supported Control Types:\n\n### Canny Edge Detection\n**Best for:** Line art, sketches, precise edges\n**Use when:** You want exact edge control\n**Example:** Convert sketch to photo\n\n### HED (Holistically-Nested Edge)\n**Best for:** Soft edges, organic shapes\n**Use when:** More natural edge detection\n**Example:** Artistic edge guidance\n\n### Depth Map\n**Best for:** 3D structure, spatial layout\n**Use when:** Preserving scene depth\n**Example:** Maintain object positions\n\n### Pose Detection\n**Best for:** Human figures, body positions\n**Use when:** Controlling character poses\n**Example:** Transfer pose to new character\n\n### MLSD (Line Segment Detection)\n**Best for:** Architecture, straight lines\n**Use when:** Buildings, geometric shapes\n**Example:** Architectural visualization\n\n---\n\n## 📥 Download & Installation:\n\n**Download:**\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?download=true)\n\n**Save to:**\n```\nComfyUI/models/model_patches/\n└── Z-Image-Turbo-Fun-Controlnet-Union.safetensors\n```\n\n**⚠️ IMPORTANT:** Must be in `model_patches/` folder!\n(ModelPatchLoader uses this location, not controlnet/)\n\n**Size:** ~2.5GB\n\n\n---\n\n## 🎚️ Strength Settings:\n\n**strength: 0.3-0.5**\nSubtle guidance, more creative freedom\n\n**strength: 0.6-0.8** ⭐\nBalanced control, recommended starting point\n\n**strength: 0.9-1.0**\nStrong control, follows input closely\n\n---\n\n## 💡 Tips for Best Results:\n\n### Canny:\n- Use clear, high-contrast input images\n- Works great for line art conversion\n- Adjust threshold in preprocessor\n\n### Depth:\n- Maintains 3D structure perfectly\n- Great for scene composition\n- Helps with spatial relationships\n\n### Pose:\n- Upload image with clear human pose\n- Can transfer pose to different character\n- Works for multiple people\n\n### MLSD:\n- Perfect for architectural photos\n- Preserves geometric structure\n- Great for interior/exterior design\n\n---\n\n## ⚠️ Important Notes:\n\n- **ComfyUI 3.77+ required!** (ModelPatchLoader compatibility)\n- **Save in model_patches/ not controlnet/!**\n- Works with both FP8 and BF16 versions\n- Can combine with text prompts for best results\n- Keep main model settings: CFG 1.0, 9 steps\n\n---\n\n## 🌐 More Info:\n\n[Official HuggingFace Page](https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union)\n\nExperiment with different control types to find what works best for your use case!"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 55,
"type": "ImageScaleToTotalPixels",
"pos": [
18460,
7600
],
"size": [
273.3541015625,
82
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 68
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
81,
82
]
}
],
"title": "📏 Scale to Megapixels",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.71",
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"area",
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 17,
"type": "KSampler",
"pos": [
19910,
7080
],
"size": [
300,
710
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 41
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 22
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 47
},
{
"name": "latent_image",
"type": "LATENT",
"link": 77
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
8
]
}
],
"title": "🎨 Main Generation",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "KSampler",
"ue_properties": {
"version": "7.0.1",
"widget_ue_connectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1101484778186286,
"randomize",
9,
1,
"res_multistep",
"beta",
1
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 20,
"type": "CLIPTextEncode",
"pos": [
19150,
7090
],
"size": [
470,
240
],
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 51
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
15,
22,
46
]
}
],
"title": "✍️ Positive Prompt",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.65",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.0.1"
}
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
8,
17,
0,
11,
0,
"LATENT"
],
[
10,
14,
0,
12,
0,
"LATENT"
],
[
12,
11,
0,
13,
0,
"IMAGE"
],
[
13,
12,
0,
13,
1,
"IMAGE"
],
[
15,
20,
0,
14,
1,
"CONDITIONING"
],
[
22,
20,
0,
17,
1,
"CONDITIONING"
],
[
33,
29,
0,
30,
0,
"*"
],
[
34,
30,
0,
11,
1,
"VAE"
],
[
35,
30,
0,
31,
0,
"*"
],
[
36,
31,
0,
12,
1,
"VAE"
],
[
39,
34,
2,
29,
0,
"*"
],
[
40,
2,
0,
14,
0,
"MODEL"
],
[
41,
2,
0,
17,
0,
"MODEL"
],
[
46,
20,
0,
40,
0,
"CONDITIONING"
],
[
47,
40,
0,
17,
2,
"CONDITIONING"
],
[
48,
40,
0,
14,
2,
"CONDITIONING"
],
[
49,
34,
0,
41,
0,
"MODEL"
],
[
50,
34,
1,
41,
1,
"CLIP"
],
[
51,
41,
1,
20,
0,
"CLIP"
],
[
56,
45,
0,
14,
3,
"LATENT"
],
[
60,
11,
0,
44,
0,
"IMAGE"
],
[
61,
44,
0,
45,
0,
"IMAGE"
],
[
62,
31,
0,
45,
1,
"VAE"
],
[
63,
11,
0,
48,
0,
"IMAGE"
],
[
64,
12,
0,
49,
0,
"IMAGE"
],
[
65,
54,
0,
53,
1,
"MODEL_PATCH"
],
[
68,
52,
0,
55,
0,
"IMAGE"
],
[
70,
58,
0,
59,
0,
"IMAGE"
],
[
72,
58,
0,
53,
3,
"IMAGE"
],
[
74,
29,
0,
61,
0,
"*"
],
[
75,
61,
0,
53,
2,
"VAE"
],
[
76,
61,
0,
60,
1,
"VAE"
],
[
77,
60,
0,
17,
3,
"LATENT"
],
[
79,
41,
0,
53,
0,
"MODEL"
],
[
81,
55,
0,
58,
0,
"IMAGE"
],
[
82,
55,
0,
60,
0,
"IMAGE"
],
[
83,
53,
0,
2,
0,
"MODEL"
]
],
"groups": [
{
"id": 1,
"title": "🎨 Step 5 - Generate Image",
"bounding": [
19660,
7000,
570,
810
],
"color": "#a1309b",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "🔍 Step 6 - Upscale (Optional)",
"bounding": [
20740,
7000,
950,
1100
],
"color": "#b58b2a",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "📦 Step 1 - Load Models",
"bounding": [
17910,
7000,
510,
320
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "🎮 Step 4 - ControlNet",
"bounding": [
19130,
7370,
260,
240
],
"color": "#8AA",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "✍️ Step 3 - Write Prompt",
"bounding": [
19130,
7000,
510,
350
],
"color": "#8A8",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "📖 Step 1 - Load LoRA (Optional)",
"bounding": [
17910,
7460,
510,
240
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 7,
"title": "🖼️ Step 2 - Input Image",
"bounding": [
18440,
7000,
670,
700
],
"color": "#8A8",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909097,
"offset": [
-17230,
-6820
]
},
"frontendVersion": "1.33.10",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}