{ "last_node_id": 35, "last_link_id": 52, "nodes": [ { "id": 8, "type": "VAEDecode", "pos": [1053, 172], "size": [210, 46], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 51 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [9], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 23, "type": "ControlNetApply", "pos": [593.6, -388.0], "size": [317.4, 98], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 42 }, { "name": "control_net", "type": "CONTROL_NET", "link": 47 }, { "name": "image", "type": "IMAGE", "link": 34 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [40], "slot_index": 0 } ], "properties": { "Node name for S&R": "ControlNetApply" }, "widgets_values": [1.0] }, { "id": 5, "type": "EmptyLatentImage", "pos": [259, 463], "size": [315, 106], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [2], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [832, 384, 1] }, { "id": 7, "type": "CLIPTextEncode", "pos": [169, 212], "size": [425.28, 180.61], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 49 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [6], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(hands), text, error, cropped, (worst quality:1.2), (low quality:1.2), normal quality, (jpeg artifacts:1.3), signature, watermark, username, blurry, artist name, monochrome, sketch, censorship, censor, (copyright:1.2)" ] }, { "id": 9, "type": "SaveImage", "pos": [1310, 169], "size": [516.05, 301.24], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "outputs": [], "properties": {}, "widgets_values": ["ComfyUI"] }, { "id": 33, "type": "DiffControlNetLoader", "pos": [131, -338], "size": [421.93, 58], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 48 } ], "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [47], "slot_index": 0 } ], "properties": { "Node name for S&R": "DiffControlNetLoader" }, "widgets_values": ["diff_control_sd15_depth_fp16.safetensors"] }, { "id": 24, "type": "CLIPTextEncode", "pos": [-305, -435], "size": [422.85, 164.31], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 50 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [42], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": ["underwater photograph shark\n\n\n\n"] }, { "id": 3, "type": "KSampler", "pos": [699, 167], "size": [315, 262], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 52 }, { "name": "positive", "type": "CONDITIONING", "link": 40 }, { "name": "negative", "type": "CONDITIONING", "link": 6 }, { "name": "latent_image", "type": "LATENT", "link": 2 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [7], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 891858402356003, "randomize", 20, 8, "uni_pc_bh2", "normal", 1 ] }, { "id": 20, "type": "LoadImage", "pos": [135, -234], "size": [429.73, 314], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [34], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": ["shark_depthmap.png", "image"] }, { "id": 34, "type": "CheckpointLoaderSimple", "pos": [-281, 110], "size": [315, 98], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [48, 52], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [49, 50], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [51], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": ["v1-5-pruned-emaonly-fp16.safetensors"] }, { "id": 35, "type": "MarkdownNote", "pos": [-270, 255], "size": [225, 60], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "\ud83d\udec8 [Learn more about this workflow](https://comfyanonymous.github.io/ComfyUI_examples/controlnet/#t2i-adapter-vs-controlnets)" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [2, 5, 0, 3, 3, "LATENT"], [6, 7, 0, 3, 2, "CONDITIONING"], [7, 3, 0, 8, 0, "LATENT"], [9, 8, 0, 9, 0, "IMAGE"], [34, 20, 0, 23, 2, "IMAGE"], [40, 23, 0, 3, 1, "CONDITIONING"], [42, 24, 0, 23, 0, "CONDITIONING"], [47, 33, 0, 23, 1, "CONTROL_NET"], [48, 34, 0, 33, 0, "MODEL"], [49, 34, 1, 7, 0, "CLIP"], [50, 34, 1, 24, 0, "CLIP"], [51, 34, 2, 8, 1, "VAE"], [52, 34, 0, 3, 0, "MODEL"] ], "groups": [ { "id": 1, "title": "Apply Depth ControlNet", "bounding": [210, -480, 739, 336], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.86, "offset": [671.97, 711.84] } }, "version": 0.4, "models": [ { "name": "v1-5-pruned-emaonly-fp16.safetensors", "url": "https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/resolve/main/v1-5-pruned-emaonly-fp16.safetensors?download=true", "directory": "checkpoints" }, { "name": "diff_control_sd15_depth_fp16.safetensors", "url": "https://huggingface.co/kohya-ss/ControlNet-diff-modules/resolve/main/diff_control_sd15_depth_fp16.safetensors?download=true", "directory": "controlnet" } ] }