{ "id": "5bfb5805-0127-4895-983d-351adc2654fe", "revision": 0, "last_node_id": 119, "last_link_id": 291, "nodes": [ { "id": 76, "type": "CLIPLoader", "pos": [ 1560, -200 ], "size": [ 270, 106 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 253 ] } ], "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/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors", "directory": "text_encoders" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_3_4b.safetensors", "lumina2", "default" ] }, { "id": 77, "type": "VAELoader", "pos": [ 1560, -40 ], "size": [ 270, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 251, 262 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.73", "models": [ { "name": "ae.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors", "directory": "vae" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "ae.safetensors" ] }, { "id": 78, "type": "ConditioningZeroOut", "pos": [ 2540, 120 ], "size": [ 197.712890625, 26 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 244 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 248 ] } ], "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": 79, "type": "UNETLoader", "pos": [ 1560, -340 ], "size": [ 270, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 252 ] } ], "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/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors", "directory": "diffusion_models" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "z_image_turbo_bf16.safetensors", "default" ] }, { "id": 81, "type": "SaveImage", "pos": [ 3120, -340 ], "size": [ 780, 660 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 245 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.64", "Node name for S&R": "SaveImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "z-image" ] }, { "id": 82, "type": "KSampler", "pos": [ 2780, -240 ], "size": [ 315, 474 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 268 }, { "name": "positive", "type": "CONDITIONING", "link": 247 }, { "name": "negative", "type": "CONDITIONING", "link": 248 }, { "name": "latent_image", "type": "LATENT", "link": 269 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 250 ] } ], "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": [ 923179233234327, "randomize", 9, 1, "res_multistep", "simple", 1 ] }, { "id": 84, "type": "ModelSamplingAuraFlow", "pos": [ 2740, 500 ], "size": [ 310, 60 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 252 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 260 ] } ], "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": 86, "type": "ImageResizeKJv2", "pos": [ 1880, 100 ], "size": [ 270, 336 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 259 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 271, 272, 273, 274, 275, 276, 277, 278 ] }, { "name": "width", "type": "INT", "links": [ 264 ] }, { "name": "height", "type": "INT", "links": [ 265 ] }, { "name": "mask", "type": "MASK", "links": [ 267 ] } ], "properties": { "Node name for S&R": "ImageResizeKJv2", "cnr_id": "comfyui-kjnodes", "ver": "1.1.8" }, "widgets_values": [ 1024, 1024, "lanczos", "resize", "0, 0, 0", "center", 2, "cpu" ] }, { "id": 89, "type": "LoadImage", "pos": [ 1560, 120 ], "size": [ 274.080078125, 314 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 259 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [ "example.png", "image" ] }, { "id": 90, "type": "ModelPatchLoader", "pos": [ 2660, 360 ], "size": [ 400, 60 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL_PATCH", "type": "MODEL_PATCH", "links": [ 261 ] } ], "properties": { "Node name for S&R": "ModelPatchLoader", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [ "Z-Image-Turbo-Fun-Controlnet-Union.safetensors" ] }, { "id": 91, "type": "QwenImageDiffsynthControlnet", "pos": [ 2760, 640 ], "size": [ 294.1841796875, 138 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 260 }, { "name": "model_patch", "type": "MODEL_PATCH", "link": 261 }, { "name": "vae", "type": "VAE", "link": 262 }, { "name": "image", "type": "IMAGE", "link": 291 }, { "name": "mask", "shape": 7, "type": "MASK", "link": 267 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 268 ] } ], "properties": { "Node name for S&R": "QwenImageDiffsynthControlnet", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [ 0.8 ] }, { "id": 92, "type": "EmptySD3LatentImage", "pos": [ 2240, 160 ], "size": [ 270, 106 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 264 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 265 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 269 ] } ], "properties": { "Node name for S&R": "EmptySD3LatentImage", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 104, "type": "CannyEdgePreprocessor", "pos": [ 1261.1594178882262, 842.8911187157171 ], "size": [ 270, 106 ], "flags": {}, "order": 11, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 272 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "CannyEdgePreprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ 100, 200, 512 ] }, { "id": 105, "type": "DepthAnythingV2Preprocessor", "pos": [ 1581.1594178882262, 842.8911187157171 ], "size": [ 279.6646484375, 82 ], "flags": {}, "order": 13, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 274 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "DepthAnythingV2Preprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ "depth_anything_v2_vitl.pth", 512 ] }, { "id": 106, "type": "HEDPreprocessor", "pos": [ 1581.1594178882262, 662.8911187157171 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 275 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "HEDPreprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ "enable", 512 ] }, { "id": 107, "type": "Zoe_DepthAnythingPreprocessor", "pos": [ 1581.1594178882262, 1002.8911187157171 ], "size": [ 270, 82 ], "flags": {}, "order": 12, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 273 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "Zoe_DepthAnythingPreprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ "indoor", 512 ] }, { "id": 108, "type": "M-LSDPreprocessor", "pos": [ 1961.1594178882262, 1082.8911187157169 ], "size": [ 270, 106 ], "flags": {}, "order": 15, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 276 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "M-LSDPreprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ 0.1, 0.1, 512 ] }, { "id": 109, "type": "AIO_Preprocessor", "pos": [ 1981.1594178882262, 622.8911187157171 ], "size": [ 270, 82 ], "flags": {}, "order": 17, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 278 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "AIO_Preprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ "DepthAnythingPreprocessor", 512 ] }, { "id": 110, "type": "DWPreprocessor", "pos": [ 1961.1594178882262, 782.8911187157171 ], "size": [ 294.72265625, 222 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 277 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 290, 291 ] }, { "name": "POSE_KEYPOINT", "type": "POSE_KEYPOINT", "links": [] } ], "properties": { "Node name for S&R": "DWPreprocessor", "cnr_id": "comfyui_controlnet_aux", "ver": "1.1.2" }, "widgets_values": [ "enable", "enable", "enable", 512, "yolox_l.onnx", "dw-ll_ucoco_384_bs5.torchscript.pt", "disable" ] }, { "id": 111, "type": "Canny", "pos": [ 1261.1594178882262, 662.8911187157171 ], "size": [ 270, 82 ], "flags": {}, "order": 10, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": 271 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "Node name for S&R": "Canny", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [ 0.4, 0.8 ] }, { "id": 112, "type": "PreviewImage", "pos": [ 2760, 860 ], "size": [ 300, 260 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 290 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [] }, { "id": 119, "type": "MarkdownNote", "pos": [ 822.5626267746093, -398.96606731536014 ], "size": [ 490, 400 ], "flags": { "collapsed": false }, "order": 5, "mode": 0, "inputs": [], "outputs": [], "title": "Model link", "properties": {}, "widgets_values": [ "\n\n## Support us:\n( https://stablediffusiontutorials.com/ )\n\n## ControlNet Model\n\nDownload from: https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union\n\nPut the file in ComfyUI / models / model_patches folder\n\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": 85, "type": "CLIPTextEncode", "pos": [ 2320, -300 ], "size": [ 410, 370 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 253 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 244, 247 ] } ], "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": [ "studio ghibli art style" ], "color": "#232", "bgcolor": "#353" }, { "id": 83, "type": "VAEDecode", "pos": [ 2850.9673178736693, -442.4569194714733 ], "size": [ 210, 46 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 250 }, { "name": "vae", "type": "VAE", "link": 251 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 245 ] } ], "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": [] } ], "links": [ [ 244, 85, 0, 78, 0, "CONDITIONING" ], [ 245, 83, 0, 81, 0, "IMAGE" ], [ 247, 85, 0, 82, 1, "CONDITIONING" ], [ 248, 78, 0, 82, 2, "CONDITIONING" ], [ 250, 82, 0, 83, 0, "LATENT" ], [ 251, 77, 0, 83, 1, "VAE" ], [ 252, 79, 0, 84, 0, "MODEL" ], [ 253, 76, 0, 85, 0, "CLIP" ], [ 259, 89, 0, 86, 0, "IMAGE" ], [ 260, 84, 0, 91, 0, "MODEL" ], [ 261, 90, 0, 91, 1, "MODEL_PATCH" ], [ 262, 77, 0, 91, 2, "VAE" ], [ 264, 86, 1, 92, 0, "INT" ], [ 265, 86, 2, 92, 1, "INT" ], [ 267, 86, 3, 91, 4, "MASK" ], [ 268, 91, 0, 82, 0, "MODEL" ], [ 269, 92, 0, 82, 3, "LATENT" ], [ 271, 86, 0, 111, 0, "IMAGE" ], [ 272, 86, 0, 104, 0, "IMAGE" ], [ 273, 86, 0, 107, 0, "IMAGE" ], [ 274, 86, 0, 105, 0, "IMAGE" ], [ 275, 86, 0, 106, 0, "IMAGE" ], [ 276, 86, 0, 108, 0, "IMAGE" ], [ 277, 86, 0, 110, 0, "IMAGE" ], [ 278, 86, 0, 109, 0, "IMAGE" ], [ 290, 110, 0, 112, 0, "IMAGE" ], [ 291, 110, 0, 91, 3, "IMAGE" ] ], "groups": [ { "id": 2, "title": "Preprocessors for ControlNets", "bounding": [ 1241.1594178882262, 542.8911187157172, 1034.72265625, 669.6 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Model Patch with Controlnet model", "bounding": [ 2640, 280, 440, 521.6 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.6115909044841725, "offset": [ -160.834528717888, 921.0821682313822 ] }, "frontendVersion": "1.32.6", "node_versions": { "comfy-core": "0.3.34" }, "ue_links": [], "groupNodes": {}, "links_added_by_ue": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true, "workflowRendererVersion": "LG" }, "version": 0.4 }