ComfyUI/graph_setups/Level5_ControlNet.json
2024-08-07 13:24:33 +01:00

1118 lines
18 KiB
JSON

{
"last_node_id": 28,
"last_link_id": 33,
"nodes": [
{
"id": 3,
"type": "Anything Everywhere3",
"pos": [
701,
126
],
"size": {
"0": 210,
"1": 66
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "MODEL",
"type": "*",
"link": 2,
"color_on": "#B39DDB"
},
{
"name": "CLIP",
"type": "*",
"link": 3,
"slot_index": 1,
"color_on": "#FFD500"
},
{
"name": "VAE",
"type": "*",
"link": 4,
"color_on": "#FF6E6E"
}
],
"properties": {
"Node name for S&R": "Anything Everywhere3",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 10,
"type": "EmptyLatentImage",
"pos": [
772,
903
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
9
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1280,
720,
1
]
},
{
"id": 11,
"type": "VAEDecode",
"pos": [
1565,
397
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 10
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11,
14,
16
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 17,
"type": "PreviewImage",
"pos": [
2461,
523
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 15
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
118,
685
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6,
19
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"Disfigured, Cropped"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 21,
"type": "Prompts Everywhere",
"pos": [
597,
750
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": null
},
{
"name": "CONDITIONING",
"type": "*",
"link": 19,
"color_on": "#FFA931"
}
],
"properties": {
"Node name for S&R": "Prompts Everywhere",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
462,
420
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
5
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A tower on a magnificent mountain."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 16,
"type": "MiDaS-DepthMapPreprocessor",
"pos": [
2106,
520
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 14
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
15,
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MiDaS-DepthMapPreprocessor"
},
"widgets_values": [
6.283185307179586,
0.1,
512
]
},
{
"id": 22,
"type": "CLIPTextEncode",
"pos": [
2399,
116
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
20
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A tower on a magnificent mountain. At sunset."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 19,
"type": "PreviewImage",
"pos": [
2478,
1167
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 17
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 18,
"type": "CannyEdgePreprocessor",
"pos": [
2064,
1154
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 16
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
17,
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CannyEdgePreprocessor"
},
"widgets_values": [
200,
300,
512
]
},
{
"id": 1,
"type": "KSampler",
"pos": [
1162,
394
],
"size": {
"0": 315,
"1": 474
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 5
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 9,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1023492584333078,
"fixed",
20,
7,
"dpmpp_2m_sde",
"karras",
1
]
},
{
"id": 26,
"type": "EmptyLatentImage",
"pos": [
2921,
-44
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
29
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1280,
720,
1
]
},
{
"id": 27,
"type": "VAEDecode",
"pos": [
3874.6599897827155,
-26.786989331054627
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 30
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 14,
"type": "ControlNetLoader",
"pos": [
2016,
369
],
"size": {
"0": 616.3961791992188,
"1": 95.47760009765625
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
22
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"ControlNet-v1-1\\control_v11f1p_sd15_depth.pth"
]
},
{
"id": 25,
"type": "KSampler",
"pos": [
3524,
-44
],
"size": {
"0": 315,
"1": 474
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 32
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 33,
"slot_index": 2
},
{
"name": "latent_image",
"type": "LATENT",
"link": 29,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1023492584333078,
"fixed",
20,
7,
"dpmpp_2m_sde",
"karras",
1
]
},
{
"id": 15,
"type": "ControlNetApplyAdvanced",
"pos": [
2899,
242
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 20
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 22
},
{
"name": "image",
"type": "IMAGE",
"link": 21
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
23
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
24
],
"shape": 3
}
],
"title": "Apply ControlNet (Advanced) - Depth",
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
0.6
]
},
{
"id": 24,
"type": "ControlNetApplyAdvanced",
"pos": [
3175,
518
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 23
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 24,
"slot_index": 1
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 25
},
{
"name": "image",
"type": "IMAGE",
"link": 26,
"slot_index": 3
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
32
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
33
],
"shape": 3,
"slot_index": 1
}
],
"title": "Apply ControlNet (Advanced) - Canny",
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
0.6
]
},
{
"id": 23,
"type": "ControlNetLoader",
"pos": [
2065,
953
],
"size": {
"0": 616.3961791992188,
"1": 95.47760009765625
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
25
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"ControlNet-v1-1\\control_v11p_sd15_canny.pth"
]
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [
168,
127
],
"size": {
"0": 460.9527587890625,
"1": 106.2894058227539
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
2
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3
],
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
4
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"R42diffusion-sd2.0-6.3e-epoch30.safetensors"
]
},
{
"id": 28,
"type": "PreviewImage",
"pos": [
4141,
-29
],
"size": [
382.37589111328,
386.2014633178707
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 31
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 12,
"type": "PreviewImage",
"pos": [
1922,
78
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
2,
2,
0,
3,
0,
"MODEL"
],
[
3,
2,
1,
3,
1,
"CLIP"
],
[
4,
2,
2,
3,
2,
"VAE"
],
[
5,
5,
0,
1,
1,
"CONDITIONING"
],
[
6,
6,
0,
1,
2,
"CONDITIONING"
],
[
9,
10,
0,
1,
3,
"LATENT"
],
[
10,
1,
0,
11,
0,
"LATENT"
],
[
11,
11,
0,
12,
0,
"IMAGE"
],
[
14,
11,
0,
16,
0,
"IMAGE"
],
[
15,
16,
0,
17,
0,
"IMAGE"
],
[
16,
11,
0,
18,
0,
"IMAGE"
],
[
17,
18,
0,
19,
0,
"IMAGE"
],
[
19,
6,
0,
21,
1,
"CONDITIONING"
],
[
20,
22,
0,
15,
0,
"CONDITIONING"
],
[
21,
16,
0,
15,
3,
"IMAGE"
],
[
22,
14,
0,
15,
2,
"CONTROL_NET"
],
[
23,
15,
0,
24,
0,
"CONDITIONING"
],
[
24,
15,
1,
24,
1,
"CONDITIONING"
],
[
25,
23,
0,
24,
2,
"CONTROL_NET"
],
[
26,
18,
0,
24,
3,
"IMAGE"
],
[
29,
26,
0,
25,
3,
"LATENT"
],
[
30,
25,
0,
27,
0,
"LATENT"
],
[
31,
27,
0,
28,
0,
"IMAGE"
],
[
32,
24,
0,
25,
1,
"CONDITIONING"
],
[
33,
24,
1,
25,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}