Spaces:
Building
on
A10G
Building
on
A10G
LayerDiffuse-gradio-unofficial
/
ComfyUI
/custom_nodes
/layerdiffuse
/examples
/layer_diffusion_diff_bg.json
{ | |
"last_node_id": 40, | |
"last_link_id": 67, | |
"nodes": [ | |
{ | |
"id": 4, | |
"type": "CheckpointLoaderSimple", | |
"pos": [ | |
5, | |
479 | |
], | |
"size": { | |
"0": 315, | |
"1": 98 | |
}, | |
"flags": {}, | |
"order": 0, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
55 | |
], | |
"slot_index": 0 | |
}, | |
{ | |
"name": "CLIP", | |
"type": "CLIP", | |
"links": [ | |
3, | |
5 | |
], | |
"slot_index": 1 | |
}, | |
{ | |
"name": "VAE", | |
"type": "VAE", | |
"links": [ | |
22, | |
49, | |
58 | |
], | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CheckpointLoaderSimple" | |
}, | |
"widgets_values": [ | |
"juggernautXL_v8Rundiffusion.safetensors" | |
] | |
}, | |
{ | |
"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 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"text, watermark" | |
] | |
}, | |
{ | |
"id": 5, | |
"type": "EmptyLatentImage", | |
"pos": [ | |
475, | |
666 | |
], | |
"size": { | |
"0": 315, | |
"1": 106 | |
}, | |
"flags": {}, | |
"order": 1, | |
"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": 39, | |
"type": "VAEEncode", | |
"pos": [ | |
201, | |
-391 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 6, | |
"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": 7, | |
"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": 38, | |
"type": "LoadImage", | |
"pos": [ | |
-137, | |
-388 | |
], | |
"size": { | |
"0": 288.47406005859375, | |
"1": 317.46051025390625 | |
}, | |
"flags": {}, | |
"order": 2, | |
"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": [ | |
"old_man.png", | |
"image" | |
] | |
}, | |
{ | |
"id": 30, | |
"type": "LoadImage", | |
"pos": [ | |
-146, | |
-22 | |
], | |
"size": { | |
"0": 315, | |
"1": 314 | |
}, | |
"flags": {}, | |
"order": 3, | |
"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": [ | |
"chair.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 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"an old man sitting, high quality\n\n" | |
] | |
}, | |
{ | |
"id": 14, | |
"type": "VAEDecode", | |
"pos": [ | |
1286, | |
187 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 10, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 21 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 22, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
65 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 3, | |
"type": "KSampler", | |
"pos": [ | |
913, | |
182 | |
], | |
"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": [ | |
21, | |
67 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
462370085958750, | |
"fixed", | |
20, | |
8, | |
"euler", | |
"normal", | |
1 | |
] | |
}, | |
{ | |
"id": 20, | |
"type": "PreviewImage", | |
"pos": [ | |
1800, | |
190 | |
], | |
"size": { | |
"0": 611.2340087890625, | |
"1": 633.9354858398438 | |
}, | |
"flags": {}, | |
"order": 12, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 66 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 37, | |
"type": "LayeredDiffusionDiffApply", | |
"pos": [ | |
457, | |
-37 | |
], | |
"size": { | |
"0": 342.5999755859375, | |
"1": 162 | |
}, | |
"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, Background", | |
1 | |
], | |
"color": "#232", | |
"bgcolor": "#353" | |
}, | |
{ | |
"id": 40, | |
"type": "LayeredDiffusionDecodeRGBA", | |
"pos": [ | |
1533, | |
189 | |
], | |
"size": { | |
"0": 243.60000610351562, | |
"1": 102 | |
}, | |
"flags": {}, | |
"order": 11, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 67 | |
}, | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 65 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
66 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LayeredDiffusionDecodeRGBA" | |
}, | |
"widgets_values": [ | |
"SDXL", | |
16 | |
], | |
"color": "#232", | |
"bgcolor": "#353" | |
} | |
], | |
"links": [ | |
[ | |
2, | |
5, | |
0, | |
3, | |
3, | |
"LATENT" | |
], | |
[ | |
3, | |
4, | |
1, | |
6, | |
0, | |
"CLIP" | |
], | |
[ | |
5, | |
4, | |
1, | |
7, | |
0, | |
"CLIP" | |
], | |
[ | |
21, | |
3, | |
0, | |
14, | |
0, | |
"LATENT" | |
], | |
[ | |
22, | |
4, | |
2, | |
14, | |
1, | |
"VAE" | |
], | |
[ | |
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" | |
], | |
[ | |
65, | |
14, | |
0, | |
40, | |
1, | |
"IMAGE" | |
], | |
[ | |
66, | |
40, | |
0, | |
20, | |
0, | |
"IMAGE" | |
], | |
[ | |
67, | |
3, | |
0, | |
40, | |
0, | |
"LATENT" | |
] | |
], | |
"groups": [], | |
"config": {}, | |
"extra": {}, | |
"version": 0.4 | |
} |