Z-Image-Turbo-AIO / workflows /ZIT-AIO-DepthV3.json
SeeSee21's picture
Upload workflows/ZIT-AIO-DepthV3.json with huggingface_hub
f9c5880 verified
{
"id": "7f48561f-0de3-4cad-add1-4fb1aacd6328",
"revision": 0,
"last_node_id": 83,
"last_link_id": 128,
"nodes": [
{
"id": 40,
"type": "ConditioningZeroOut",
"pos": [
19680,
7280
],
"size": [
220,
26
],
"flags": {},
"order": 23,
"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": 31,
"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": 24,
"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": [
193.1138671875,
46
],
"flags": {
"collapsed": true
},
"order": 34,
"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": 32,
"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": 36,
"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": 38,
"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": 30,
"type": "Reroute",
"pos": [
19560,
6970
],
"size": [
75,
26
],
"flags": {},
"order": 19,
"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": 16,
"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": 20,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 74
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
75,
76
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "VAEEncode",
"pos": [
19680,
7350
],
"size": [
220,
46
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 128
},
{
"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": 28,
"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": 35,
"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": 52,
"type": "LoadImage",
"pos": [
18460,
7080
],
"size": [
270,
460
],
"flags": {},
"order": 1,
"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": [
"360_F_1514557111_dROWtWfWw71RixKY6dPQrDzOhMAoseTf.jpg",
"image"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 55,
"type": "ImageScaleToTotalPixels",
"pos": [
18460,
7600
],
"size": [
273.3541015625,
82
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 68
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
88
]
}
],
"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": 43,
"type": "Fast Groups Bypasser (rgthree)",
"pos": [
17910,
7520
],
"size": [
360,
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": 41,
"type": "LoraLoader",
"pos": [
17930,
7680
],
"size": [
470,
126
],
"flags": {},
"order": 15,
"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": 72,
"type": "DA3_SavePointCloud",
"pos": [
19160,
7920
],
"size": [
280,
58
],
"flags": {},
"order": 27,
"mode": 4,
"inputs": [
{
"name": "pointcloud",
"type": "POINTCLOUD",
"link": 121
}
],
"outputs": [
{
"name": "file_path",
"type": "STRING",
"links": [
97
]
}
],
"title": "💾 Save Point Cloud",
"properties": {
"cnr_id": "comfyui-depthanythingv3",
"ver": "0.0.11",
"Node name for S&R": "DA3_SavePointCloud"
},
"widgets_values": [
"pointcloud"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 48,
"type": "SaveImageWithMetaData",
"pos": [
20230,
7080
],
"size": [
480,
720
],
"flags": {},
"order": 33,
"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": [
590,
1070
],
"flags": {},
"order": 37,
"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_tcvum_00025_.png&type=temp&subfolder=&rand=0.8499874728226214"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_tcvum_00026_.png&type=temp&subfolder=&rand=0.24365650814758744"
}
]
],
"color": "#223",
"bgcolor": "#335",
"shape": 1
},
{
"id": 59,
"type": "PreviewImage",
"pos": [
18750,
7080
],
"size": [
350,
460
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 89
}
],
"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": 73,
"type": "DA3_PreviewPointCloud",
"pos": [
19460,
7920
],
"size": [
560,
626
],
"flags": {},
"order": 29,
"mode": 4,
"inputs": [
{
"name": "file_path",
"shape": 7,
"type": "STRING",
"widget": {
"name": "file_path"
},
"link": 97
}
],
"outputs": [],
"title": "👁️ Preview 3D Point Cloud",
"properties": {
"cnr_id": "comfyui-depthanythingv3",
"ver": "0.0.11",
"Node name for S&R": "DA3_PreviewPointCloud"
},
"widgets_values": [
"",
"RGB",
""
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 34,
"type": "CheckpointLoaderSimple",
"pos": [
17930,
7080
],
"size": [
470,
98
],
"flags": {},
"order": 3,
"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": 17,
"type": "KSampler",
"pos": [
19910,
7080
],
"size": [
300,
710
],
"flags": {},
"order": 30,
"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": [
953073287862113,
"randomize",
9,
1,
"res_multistep",
"beta",
1
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 68,
"type": "DownloadAndLoadDepthAnythingV3Model",
"pos": [
17930,
7360
],
"size": [
470,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "da3_model",
"type": "DA3MODEL",
"links": [
87
]
}
],
"title": "📦 Load DA3 Model",
"properties": {
"cnr_id": "comfyui-depthanythingv3",
"ver": "0.0.11",
"Node name for S&R": "DownloadAndLoadDepthAnythingV3Model"
},
"widgets_values": [
"da3_large.safetensors",
"auto"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 62,
"type": "MarkdownNote",
"pos": [
19400,
7400
],
"size": [
240,
410
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🎮 Depth ControlNet Guide",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 🎮 Depth ControlNet with DA3\n\n**Precise depth-guided generation!**\n\nUses Depth Anything V3 for state-of-the-art depth estimation,\nthen applies ControlNet for guided image generation.\n\n---\n\n## 🌊 Why Depth Anything V3?\n\n**Superior to traditional depth:**\n- Multi-view consistency\n- More accurate geometry\n- Better edge preservation\n- Works with any input view\n\nvs older methods (Canny, HED, Pose, MLSD)\n\n---\n\n## 📦 Required Files:\n\n**Depth Model:**\n- da3_large.safetensors (recommended)\n- Auto-downloads to `models/DepthAnything3/`\n\n**ControlNet Patch:**\n- Z-Image ControlNet compatible\n- Uses depth maps for guidance\n\n---\n\n## 🎯 How It Works:\n\n1. **Input Image** → Upload your reference\n2. **DA3 Processing** → Extracts depth map\n3. **ControlNet Apply** → Guides generation\n4. **Result** → Depth-aware image\n\n---\n\n## 🎚️ ControlNet Strength:\n\n- **0.3-0.5:** Subtle depth guidance\n- **0.6-0.8:** Balanced (recommended) ⭐\n- **0.9-1.0:** Strong depth control\n\nHigher = follows depth more closely\n\n---\n\n## 💡 Tips:\n\n**For best results:**\n- Use 'Standard' normalization mode\n- da3_large gives best quality\n- Strength 0.7 works for most cases\n- Describe desired style in prompt\n\n**Depth preserves:**\n- Scene composition\n- Object positions\n- Spatial relationships\n- Overall geometry\n\n---\n\n⚠️ **Remember:** Toggle Generate Image ON, 3D Preview OFF!"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 23,
"type": "MarkdownNote",
"pos": [
17330,
7030
],
"size": [
560,
620
],
"flags": {},
"order": 6,
"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 + Depth ControlNet\n\n**Ultra-Fast Generation with Advanced Depth Control!**\n\n---\n\n## 🔄 Two Versions:\n\n**🟢 BF16-AIO (20 GB)** - Maximum precision \n**🟡 FP8-AIO (10 GB)** - Speed & efficiency \n\nBoth work on 8GB VRAM!\n\n---\n\n## ⚙️ Settings:\n\n- Steps: **9**\n- CFG: **1.0** (don't change!)\n- Sampler: res_multistep or euler_ancestral\n- Scheduler: simple or beta\n- NO negative prompts\n\n---\n\n## 🌊 New in This Workflow:\n\n**Depth Anything V3!**\nState-of-the-art depth estimation.\nSuperior to older methods (Canny, HED, etc).\n\n**3D Preview Mode!**\nView depth as interactive 3D point cloud.\n\nSee guide nodes for details.\n\n---\n\n## 📥 Downloads:\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)\n\n---\n\n## 🎯 Required Custom Nodes:\n\n[rgthree-comfy](https://github.com/rgthree/rgthree-comfy) \n[comfyui_image_metadata_extension](https://github.com/edelvarden/comfyui_image_metadata_extension) \n[Depth Anything 3](https://github.com/ByteDance-Seed/Depth-Anything-3) ⭐ NEW!\n\n---\n\n💡 **Natural language prompts work best!**"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 64,
"type": "MarkdownNote",
"pos": [
17330,
7700
],
"size": [
560,
410
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "📖 Z-Image-Turbo Workflow - Depth Edition",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 📖 Depth ControlNet Workflow\n\n## ⚙️ Settings:\n\n**Steps:** 9 \n**CFG:** 1.0 \n**Sampler:** res_multistep (sharp) or euler_ancestral (natural) \n**Scheduler:** simple (clean) or beta (smooth) \n\n---\n\n## 🌊 Depth Control:\n\n**Depth Anything V3** provides depth maps.\n\n**Two modes available:**\n1. **Generate Mode** - Create depth-guided images\n2. **3D Preview Mode** - Visualize as point cloud\n\nUse toggles to switch modes!\n\n**ControlNet Strength:**\n- **0.6-0.8** - Balanced ⭐\n- Lower for subtle, higher for strong control\n\n---\n\n## 💡 Prompting:\n\n**Natural language works best!**\n\nWrite detailed descriptions (100-300 words):\n- Include lighting, mood, style\n- English or Chinese\n- NO negative prompts needed\n\n**Text rendering:**\nPut text in quotes: \"COFFEE SHOP\" or \"咖啡店\"\n\n---\n\n## 📏 Megapixels:\n\nSee Megapixel Guide for examples.\nMaintains aspect ratio automatically!\n\n---\n\n**Resources:** \n[Try Online](https://tensorart.me/de-DE/models/939302608026244936/Z-Image-Turbo-AIO-FP8-FP8) • [Download](https://civitai.com/models/2173571?modelVersionId=2448013)"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 83,
"type": "MarkdownNote",
"pos": [
18440,
7930
],
"size": [
280,
290
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "⚠️ Depth Anything V3 ⚠️",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"## 🎮 Two Usage Modes:\n\n### 1. 🧑‍💻 3D Preview Mode:\n\n```\nnormalization_mode: Raw\nToggle 3D Preview: ON\nToggle Generate: OFF\n```\n\nVisualize depth as 3D point cloud!\n\n### 2. 🎨 Generate Image Mode:\n\n```\nnormalization_mode: Standard or V2-Style\nToggle 3D Preview: OFF\nToggle Generate: ON\n```\n\nUse depth for ControlNet generation!\n\n⚠️ **Don't mix modes!** Will cause errors."
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 66,
"type": "MarkdownNote",
"pos": [
18060,
7870
],
"size": [
360,
310
],
"flags": {},
"order": 9,
"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": 77,
"type": "DA3_ToPointCloud",
"pos": [
19160,
8040
],
"size": [
280,
234
],
"flags": {},
"order": 22,
"mode": 4,
"inputs": [
{
"name": "depth_raw",
"type": "IMAGE",
"link": 116
},
{
"name": "confidence",
"type": "IMAGE",
"link": 117
},
{
"name": "intrinsics",
"shape": 7,
"type": "STRING",
"link": 118
},
{
"name": "sky_mask",
"shape": 7,
"type": "MASK",
"link": 119
},
{
"name": "source_image",
"shape": 7,
"type": "IMAGE",
"link": 120
}
],
"outputs": [
{
"name": "pointcloud",
"type": "POINTCLOUD",
"links": [
121
]
}
],
"title": "🔄 DA3 to Point Cloud",
"properties": {
"cnr_id": "comfyui-depthanythingv3",
"ver": "0.0.11",
"Node name for S&R": "DA3_ToPointCloud"
},
"widgets_values": [
0.2,
1,
false,
false,
5
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 28,
"type": "Fast Groups Bypasser (rgthree)",
"pos": [
20740,
6920
],
"size": [
360,
60
],
"flags": {},
"order": 10,
"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": 25,
"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": 127
},
{
"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": 20,
"type": "CLIPTextEncode",
"pos": [
19150,
7090
],
"size": [
470,
240
],
"flags": {
"collapsed": false
},
"order": 18,
"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": [
"A highly detailed, photorealistic scene featuring an orange tabby cat sitting upright like a human. The cat has soft, well-groomed fur with visible individual hairs, warm orange and cream stripes, and a calm, confident facial expression. It is wearing modern black sunglasses with slightly reflective lenses, giving it a cool, relaxed and intelligent vibe. One paw is raised in front of its chest, clearly forming a thumbs-up gesture, with realistic paw anatomy and subtle fur texture.\n\nThe cat is positioned in the center of the frame, shot at eye level, creating a strong connection between the viewer and the subject. The lighting is soft but cinematic, highlighting the contours of the cat’s face, whiskers, nose, and sunglasses, with gentle shadows adding depth and realism.\n\nThe word 'Z-IMAGE-TURBO-AIO-WORKFLOW-DEPTHv3 ' is prominently displayed as a large, bold title in bright cyan letters with a subtle glow effect, positioned at the top center of the image like a magazine cover. \n\nThe background is a futuristic computer room or server control center. Behind the cat are rows of sleek server racks with softly glowing LED lights in blue, cyan, and subtle white tones. Large monitors and transparent glass panels display abstract system interfaces, code snippets, data streams, and holographic UI elements. The environment feels clean, high-tech, and professional, with a slightly blurred background (shallow depth of field) so the cat remains the clear focal point.\n\nThe overall atmosphere combines humor and professionalism — a playful yet high-quality image that feels like a tech mascot or AI system administrator. Ultra-high resolution, sharp focus on the subject, realistic textures, natural colors, cinematic lighting, professional photography style, photorealistic, 8K quality.\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 75,
"type": "Fast Groups Bypasser (rgthree)",
"pos": [
19130,
7750
],
"size": [
260,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "OPT_CONNECTION",
"type": "*",
"links": null
}
],
"title": "🧑‍💻 Toggle 3D Preview 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": 70,
"type": "DepthAnythingV3_MultiView",
"pos": [
18750,
7600
],
"size": [
350,
270
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "da3_model",
"type": "DA3MODEL",
"link": 87
},
{
"name": "images",
"type": "IMAGE",
"link": 88
}
],
"outputs": [
{
"name": "depth",
"type": "IMAGE",
"links": [
89,
116,
127
]
},
{
"name": "confidence",
"type": "IMAGE",
"links": [
117
]
},
{
"name": "ray_origin",
"type": "IMAGE",
"links": []
},
{
"name": "ray_direction",
"type": "IMAGE",
"links": []
},
{
"name": "extrinsics",
"type": "STRING",
"links": null
},
{
"name": "intrinsics",
"type": "STRING",
"links": [
118
]
},
{
"name": "sky_mask",
"type": "MASK",
"links": [
119
]
},
{
"name": "resized_rgb_image",
"type": "IMAGE",
"links": [
120,
128
]
}
],
"title": "🌊 DA3 Depth Estimation",
"properties": {
"cnr_id": "comfyui-depthanythingv3",
"ver": "0.0.11",
"Node name for S&R": "DepthAnythingV3_MultiView"
},
"widgets_values": [
"V2-Style",
"crop",
false,
false
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 74,
"type": "Fast Groups Bypasser (rgthree)",
"pos": [
19650,
6910
],
"size": [
360,
58
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "OPT_CONNECTION",
"type": "*",
"links": null
}
],
"title": "🎨 Toggle Generate Image 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": 65,
"type": "MarkdownNote",
"pos": [
18740,
7930
],
"size": [
380,
330
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🌊 Depth Anything V3 Guide",
"properties": {
"ue_properties": {
"version": "7.4.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"# 🌊 Depth Anything V3\n\n**State-of-the-art depth estimation from any view!**\n\nAdvanced depth model that recovers visual geometry from images.\n\n---\n\n## 📦 Model Sizes:\n\n**Auto-download to:** `ComfyUI/models/DepthAnything3/`\n\n- **da3_small.safetensors** (80M params)\n- **da3_base.safetensors** (120M params)\n- **da3_large.safetensors** (350M params) ⭐\n- **da3_giant.safetensors** (1.15B params)\n\n**8GB VRAM:** Use up to da3_large\n\n---\n\n## ⚙️ Main Node Settings:\n\n### DepthAnythingV3_MultiView:\n\n**normalization_mode** ⚠️ CRITICAL!\n\n**For 3D Preview:**\n- Set to: **'Raw'**\n- Enable: 🧑‍💻 Toggle 3D Preview\n- Disable: 🎨 Toggle Generate Image\n\n**For Image Generation:**\n- Set to: **'Standard'** or **'V2-Style'**\n- Disable: 🧑‍💻 Toggle 3D Preview\n- Enable: 🎨 Toggle Generate Image\n\n**normalize_method:**\n- **'crop'** - Crops to normalize (default)\n- **'pad'** - Pads to normalize\n\n**do_inverse_depth:**\n- **False** - Direct depth (default)\n- **True** - Inverse depth\n\n---\n\n## 🎮 Two Usage Modes:\n\n### 1. 🧑‍💻 3D Preview Mode:\n\n```\nnormalization_mode: Raw\nToggle 3D Preview: ON\nToggle Generate: OFF\n```\n\nVisualize depth as 3D point cloud!\n\n### 2. 🎨 Generate Image Mode:\n\n```\nnormalization_mode: Standard or V2-Style\nToggle 3D Preview: OFF\nToggle Generate: ON\n```\n\nUse depth for ControlNet generation!\n\n⚠️ **Don't mix modes!** Will cause errors.\n\n---\n\n## 📥 Installation:\n\n[Depth Anything 3](https://github.com/ByteDance-Seed/Depth-Anything-3)\n\nComfyUI nodes auto-install models on first use.\n\n---\n\n**Tip:** Start with 'Standard' mode for generation, 'Raw' for 3D preview!"
],
"color": "#332922",
"bgcolor": "#593930"
}
],
"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"
],
[
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"
],
[
83,
53,
0,
2,
0,
"MODEL"
],
[
87,
68,
0,
70,
0,
"DA3MODEL"
],
[
88,
55,
0,
70,
1,
"IMAGE"
],
[
89,
70,
0,
59,
0,
"IMAGE"
],
[
97,
72,
0,
73,
0,
"STRING"
],
[
116,
70,
0,
77,
0,
"IMAGE"
],
[
117,
70,
1,
77,
1,
"IMAGE"
],
[
118,
70,
5,
77,
2,
"STRING"
],
[
119,
70,
6,
77,
3,
"MASK"
],
[
120,
70,
7,
77,
4,
"IMAGE"
],
[
121,
77,
0,
72,
0,
"POINTCLOUD"
],
[
127,
70,
0,
53,
3,
"IMAGE"
],
[
128,
70,
7,
60,
0,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "🎨 Step 5 - Generate Image",
"bounding": [
19660,
7000,
1070,
820
],
"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,
460
],
"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,
7600,
510,
220
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 7,
"title": "🖼️ Step 2 - Input Image",
"bounding": [
18440,
7000,
680,
880
],
"color": "#8A8",
"font_size": 24,
"flags": {}
},
{
"id": 8,
"title": "🧑‍💻 3D Preview",
"bounding": [
19140,
7830,
900,
740
],
"color": "#444",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.5644739300537774,
"offset": [
-18590.65907150041,
-7049.019281941787
]
},
"frontendVersion": "1.34.8",
"workflowRendererVersion": "LG",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}