LayerDiffuse-gradio-unofficial
/
ComfyUI
/custom_nodes
/layerdiffuse
/examples
/layer_diffusion_joint.json
{ | |
"last_node_id": 27, | |
"last_link_id": 42, | |
"nodes": [ | |
{ | |
"id": 7, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
413, | |
389 | |
], | |
"size": { | |
"0": 425.27801513671875, | |
"1": 180.6060791015625 | |
}, | |
"flags": {}, | |
"order": 3, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 5 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
6 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"text, watermark" | |
] | |
}, | |
{ | |
"id": 3, | |
"type": "KSampler", | |
"pos": [ | |
891, | |
192 | |
], | |
"size": { | |
"0": 315, | |
"1": 262 | |
}, | |
"flags": {}, | |
"order": 7, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 32 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 4 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 6 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 2 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
21, | |
33 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
960762378448318, | |
"randomize", | |
20, | |
8, | |
"euler", | |
"normal", | |
1 | |
] | |
}, | |
{ | |
"id": 14, | |
"type": "VAEDecode", | |
"pos": [ | |
1275, | |
198 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 8, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 21 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 22, | |
"slot_index": 1 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
34 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 4, | |
"type": "CheckpointLoaderSimple", | |
"pos": [ | |
5, | |
479 | |
], | |
"size": { | |
"0": 315, | |
"1": 98 | |
}, | |
"flags": {}, | |
"order": 0, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
31 | |
], | |
"slot_index": 0 | |
}, | |
{ | |
"name": "CLIP", | |
"type": "CLIP", | |
"links": [ | |
3, | |
5, | |
41, | |
42 | |
], | |
"slot_index": 1 | |
}, | |
{ | |
"name": "VAE", | |
"type": "VAE", | |
"links": [ | |
22 | |
], | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CheckpointLoaderSimple" | |
}, | |
"widgets_values": [ | |
"realisticVisionV20_v20.safetensors" | |
] | |
}, | |
{ | |
"id": 27, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
-20, | |
-20 | |
], | |
"size": { | |
"0": 422.84503173828125, | |
"1": 164.31304931640625 | |
}, | |
"flags": {}, | |
"order": 5, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 42, | |
"slot_index": 0 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
40 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"a cozy room" | |
] | |
}, | |
{ | |
"id": 21, | |
"type": "LayeredDiffusionJointApply", | |
"pos": [ | |
469, | |
-9 | |
], | |
"size": { | |
"0": 315, | |
"1": 118 | |
}, | |
"flags": {}, | |
"order": 6, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 31, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "fg_cond", | |
"type": "CONDITIONING", | |
"link": 39 | |
}, | |
{ | |
"name": "bg_cond", | |
"type": "CONDITIONING", | |
"link": 40 | |
}, | |
{ | |
"name": "blended_cond", | |
"type": "CONDITIONING", | |
"link": 38 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
32 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LayeredDiffusionJointApply" | |
}, | |
"widgets_values": [ | |
"SD15, attn_sharing, Batch size (3N)" | |
], | |
"color": "#232", | |
"bgcolor": "#353" | |
}, | |
{ | |
"id": 22, | |
"type": "LayeredDiffusionDecodeSplit", | |
"pos": [ | |
1534, | |
193 | |
], | |
"size": { | |
"0": 315, | |
"1": 146 | |
}, | |
"flags": {}, | |
"order": 9, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 33, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 34 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
35 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
}, | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
36 | |
], | |
"shape": 3, | |
"slot_index": 1 | |
}, | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
37 | |
], | |
"shape": 3, | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LayeredDiffusionDecodeSplit" | |
}, | |
"widgets_values": [ | |
3, | |
"SD15", | |
16 | |
], | |
"color": "#232", | |
"bgcolor": "#353" | |
}, | |
{ | |
"id": 5, | |
"type": "EmptyLatentImage", | |
"pos": [ | |
466, | |
645 | |
], | |
"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": [ | |
512, | |
512, | |
6 | |
] | |
}, | |
{ | |
"id": 26, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
-20, | |
-235 | |
], | |
"size": { | |
"0": 422.84503173828125, | |
"1": 164.31304931640625 | |
}, | |
"flags": {}, | |
"order": 4, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 41, | |
"slot_index": 0 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
39 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"a sitting dog" | |
] | |
}, | |
{ | |
"id": 6, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
413, | |
172 | |
], | |
"size": { | |
"0": 422.84503173828125, | |
"1": 164.31304931640625 | |
}, | |
"flags": {}, | |
"order": 2, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 3 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
4, | |
38 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"A dog sitting in a cozy room" | |
] | |
}, | |
{ | |
"id": 23, | |
"type": "PreviewImage", | |
"pos": [ | |
1931, | |
-98 | |
], | |
"size": [ | |
522.1710021972658, | |
259.90739746093755 | |
], | |
"flags": {}, | |
"order": 10, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 35 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 24, | |
"type": "PreviewImage", | |
"pos": [ | |
1933, | |
222 | |
], | |
"size": [ | |
517.9710037231448, | |
258.9074523925782 | |
], | |
"flags": {}, | |
"order": 11, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 36 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
}, | |
{ | |
"id": 25, | |
"type": "PreviewImage", | |
"pos": [ | |
1933, | |
536 | |
], | |
"size": [ | |
516.8710037231444, | |
270.5074523925782 | |
], | |
"flags": {}, | |
"order": 12, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 37 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "PreviewImage" | |
} | |
} | |
], | |
"links": [ | |
[ | |
2, | |
5, | |
0, | |
3, | |
3, | |
"LATENT" | |
], | |
[ | |
3, | |
4, | |
1, | |
6, | |
0, | |
"CLIP" | |
], | |
[ | |
4, | |
6, | |
0, | |
3, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
5, | |
4, | |
1, | |
7, | |
0, | |
"CLIP" | |
], | |
[ | |
6, | |
7, | |
0, | |
3, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
21, | |
3, | |
0, | |
14, | |
0, | |
"LATENT" | |
], | |
[ | |
22, | |
4, | |
2, | |
14, | |
1, | |
"VAE" | |
], | |
[ | |
31, | |
4, | |
0, | |
21, | |
0, | |
"MODEL" | |
], | |
[ | |
32, | |
21, | |
0, | |
3, | |
0, | |
"MODEL" | |
], | |
[ | |
33, | |
3, | |
0, | |
22, | |
0, | |
"LATENT" | |
], | |
[ | |
34, | |
14, | |
0, | |
22, | |
1, | |
"IMAGE" | |
], | |
[ | |
35, | |
22, | |
0, | |
23, | |
0, | |
"IMAGE" | |
], | |
[ | |
36, | |
22, | |
1, | |
24, | |
0, | |
"IMAGE" | |
], | |
[ | |
37, | |
22, | |
2, | |
25, | |
0, | |
"IMAGE" | |
], | |
[ | |
38, | |
6, | |
0, | |
21, | |
3, | |
"CONDITIONING" | |
], | |
[ | |
39, | |
26, | |
0, | |
21, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
40, | |
27, | |
0, | |
21, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
41, | |
4, | |
1, | |
26, | |
0, | |
"CLIP" | |
], | |
[ | |
42, | |
4, | |
1, | |
27, | |
0, | |
"CLIP" | |
] | |
], | |
"groups": [], | |
"config": {}, | |
"extra": {}, | |
"version": 0.4 | |
} |