Spaces:
Building
on
A10G
Building
on
A10G
LayerDiffuse-gradio-unofficial
/
ComfyUI
/custom_nodes
/layerdiffuse
/examples
/layer_diffusion_diff_bg_stop_at.json
{ | |
"last_node_id": 45, | |
"last_link_id": 86, | |
"nodes": [ | |
{ | |
"id": 5, | |
"type": "EmptyLatentImage", | |
"pos": [ | |
475, | |
666 | |
], | |
"size": { | |
"0": 315, | |
"1": 106 | |
}, | |
"flags": {}, | |
"order": 0, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
2 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "EmptyLatentImage" | |
}, | |
"widgets_values": [ | |
1024, | |
1024, | |
1 | |
] | |
}, | |
{ | |
"id": 38, | |
"type": "LoadImage", | |
"pos": [ | |
-137, | |
-388 | |
], | |
"size": { | |
"0": 288.47406005859375, | |
"1": 317.46051025390625 | |
}, | |
"flags": {}, | |
"order": 1, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
59 | |
], | |
"shape": 3 | |
}, | |
{ | |
"name": "MASK", | |
"type": "MASK", | |
"links": null, | |
"shape": 3 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LoadImage" | |
}, | |
"widgets_values": [ | |
"blended.png", | |
"image" | |
] | |
}, | |
{ | |
"id": 39, | |
"type": "VAEEncode", | |
"pos": [ | |
201, | |
-391 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 7, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "pixels", | |
"type": "IMAGE", | |
"link": 59, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 58, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
60 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEEncode" | |
} | |
}, | |
{ | |
"id": 29, | |
"type": "VAEEncode", | |
"pos": [ | |
210, | |
-20 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 6, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "pixels", | |
"type": "IMAGE", | |
"link": 53 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 49, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
61 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEEncode" | |
} | |
}, | |
{ | |
"id": 30, | |
"type": "LoadImage", | |
"pos": [ | |
-146, | |
-22 | |
], | |
"size": { | |
"0": 315, | |
"1": 314 | |
}, | |
"flags": {}, | |
"order": 2, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
53 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "MASK", | |
"type": "MASK", | |
"links": null, | |
"shape": 3 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LoadImage" | |
}, | |
"widgets_values": [ | |
"dog.png", | |
"image" | |
] | |
}, | |
{ | |
"id": 6, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
415, | |
186 | |
], | |
"size": { | |
"0": 422.84503173828125, | |
"1": 164.31304931640625 | |
}, | |
"flags": {}, | |
"order": 4, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 3 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
56, | |
81 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"a room, high quality\n\n" | |
] | |
}, | |
{ | |
"id": 7, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
413, | |
389 | |
], | |
"size": { | |
"0": 425.27801513671875, | |
"1": 180.6060791015625 | |
}, | |
"flags": {}, | |
"order": 5, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 5 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
57, | |
82 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"text, watermark" | |
] | |
}, | |
{ | |
"id": 42, | |
"type": "PreviewImage", | |
"pos": [ | |
1830, | |
-500 | |
], | |
"size": { | |
"0": 611.2340087890625, | |
"1": 633.9354858398438 | |
}, | |
"flags": {}, | |
"order": 12, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 76 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 20, | |
"type": "PreviewImage", | |
"pos": [ | |
1830, | |
186 | |
], | |
"size": { | |
"0": 611.2340087890625, | |
"1": 633.9354858398438 | |
}, | |
"flags": {}, | |
"order": 14, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 29 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 4, | |
"type": "CheckpointLoaderSimple", | |
"pos": [ | |
5, | |
479 | |
], | |
"size": { | |
"0": 315, | |
"1": 98 | |
}, | |
"flags": {}, | |
"order": 3, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
55, | |
80 | |
], | |
"slot_index": 0 | |
}, | |
{ | |
"name": "CLIP", | |
"type": "CLIP", | |
"links": [ | |
3, | |
5 | |
], | |
"slot_index": 1 | |
}, | |
{ | |
"name": "VAE", | |
"type": "VAE", | |
"links": [ | |
22, | |
49, | |
58, | |
75 | |
], | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CheckpointLoaderSimple" | |
}, | |
"widgets_values": [ | |
"juggernautXL_v8Rundiffusion.safetensors" | |
] | |
}, | |
{ | |
"id": 41, | |
"type": "VAEDecode", | |
"pos": [ | |
1600, | |
-500 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 10, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 77 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 75, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
76 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 14, | |
"type": "VAEDecode", | |
"pos": [ | |
1588, | |
186 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 13, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 85 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 22, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
29 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 3, | |
"type": "KSampler", | |
"pos": [ | |
913, | |
181 | |
], | |
"size": { | |
"0": 315, | |
"1": 262 | |
}, | |
"flags": {}, | |
"order": 9, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 62 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 63 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 64 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 2 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
77, | |
86 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
462370085958750, | |
"fixed", | |
20, | |
8, | |
"euler", | |
"normal", | |
1 | |
] | |
}, | |
{ | |
"id": 45, | |
"type": "KSamplerAdvanced", | |
"pos": [ | |
1249, | |
179 | |
], | |
"size": { | |
"0": 315, | |
"1": 334 | |
}, | |
"flags": {}, | |
"order": 11, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 80 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 81 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 82 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 86 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
85 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSamplerAdvanced" | |
}, | |
"widgets_values": [ | |
"enable", | |
0, | |
"fixed", | |
20, | |
8, | |
"euler", | |
"normal", | |
10, | |
10000, | |
"disable" | |
] | |
}, | |
{ | |
"id": 37, | |
"type": "LayeredDiffusionDiffApply", | |
"pos": [ | |
456, | |
-44 | |
], | |
"size": { | |
"0": 342.5999755859375, | |
"1": 186 | |
}, | |
"flags": {}, | |
"order": 8, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 55, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "cond", | |
"type": "CONDITIONING", | |
"link": 56, | |
"slot_index": 1 | |
}, | |
{ | |
"name": "uncond", | |
"type": "CONDITIONING", | |
"link": 57, | |
"slot_index": 2 | |
}, | |
{ | |
"name": "blended_latent", | |
"type": "LATENT", | |
"link": 60 | |
}, | |
{ | |
"name": "latent", | |
"type": "LATENT", | |
"link": 61 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
62 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
63 | |
], | |
"shape": 3, | |
"slot_index": 1 | |
}, | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
64 | |
], | |
"shape": 3, | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LayeredDiffusionDiffApply" | |
}, | |
"widgets_values": [ | |
"SDXL, Foreground", | |
1 | |
], | |
"color": "#232", | |
"bgcolor": "#353" | |
} | |
], | |
"links": [ | |
[ | |
2, | |
5, | |
0, | |
3, | |
3, | |
"LATENT" | |
], | |
[ | |
3, | |
4, | |
1, | |
6, | |
0, | |
"CLIP" | |
], | |
[ | |
5, | |
4, | |
1, | |
7, | |
0, | |
"CLIP" | |
], | |
[ | |
22, | |
4, | |
2, | |
14, | |
1, | |
"VAE" | |
], | |
[ | |
29, | |
14, | |
0, | |
20, | |
0, | |
"IMAGE" | |
], | |
[ | |
49, | |
4, | |
2, | |
29, | |
1, | |
"VAE" | |
], | |
[ | |
53, | |
30, | |
0, | |
29, | |
0, | |
"IMAGE" | |
], | |
[ | |
55, | |
4, | |
0, | |
37, | |
0, | |
"MODEL" | |
], | |
[ | |
56, | |
6, | |
0, | |
37, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
57, | |
7, | |
0, | |
37, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
58, | |
4, | |
2, | |
39, | |
1, | |
"VAE" | |
], | |
[ | |
59, | |
38, | |
0, | |
39, | |
0, | |
"IMAGE" | |
], | |
[ | |
60, | |
39, | |
0, | |
37, | |
3, | |
"LATENT" | |
], | |
[ | |
61, | |
29, | |
0, | |
37, | |
4, | |
"LATENT" | |
], | |
[ | |
62, | |
37, | |
0, | |
3, | |
0, | |
"MODEL" | |
], | |
[ | |
63, | |
37, | |
1, | |
3, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
64, | |
37, | |
2, | |
3, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
75, | |
4, | |
2, | |
41, | |
1, | |
"VAE" | |
], | |
[ | |
76, | |
41, | |
0, | |
42, | |
0, | |
"IMAGE" | |
], | |
[ | |
77, | |
3, | |
0, | |
41, | |
0, | |
"LATENT" | |
], | |
[ | |
80, | |
4, | |
0, | |
45, | |
0, | |
"MODEL" | |
], | |
[ | |
81, | |
6, | |
0, | |
45, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
82, | |
7, | |
0, | |
45, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
85, | |
45, | |
0, | |
14, | |
0, | |
"LATENT" | |
], | |
[ | |
86, | |
3, | |
0, | |
45, | |
3, | |
"LATENT" | |
] | |
], | |
"groups": [], | |
"config": {}, | |
"extra": {}, | |
"version": 0.4 | |
} |