Img2Img-Controlnet-ComfyUI / comfyui_workflow.json
Paresh1879's picture
Upload comfyui_workflow.json
ebd6639 verified
{
"last_node_id": 115,
"last_link_id": 187,
"nodes": [
{
"id": 65,
"type": "CR Aspect Ratio",
"pos": [
314,
-1469
],
"size": {
"0": 315,
"1": 322
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
84
],
"shape": 3,
"slot_index": 0
},
{
"name": "INT",
"type": "INT",
"links": [
83
],
"shape": 3,
"slot_index": 1
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3,
"slot_index": 2
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
},
{
"name": "INT",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "empty_latent",
"type": "LATENT",
"links": null,
"shape": 3
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR Aspect Ratio"
},
"widgets_values": [
512,
512,
"SD1.5 - 2:3 portrait 512x768",
"Off",
1,
1,
1
],
"shape": 1
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
-1290.4187036505498,
-938.468370219298
],
"size": {
"0": 357,
"1": 285
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"properties": {
"Node name for S&R": "PreviewImage"
},
"shape": 1
},
{
"id": 108,
"type": "PreviewImage",
"pos": [
-1146.6527585209853,
-1366.8257686981462
],
"size": {
"0": 210,
"1": 246
},
"flags": {
"collapsed": false
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 181
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 110,
"type": "PreviewImage",
"pos": [
-1195.4187036505498,
-455.46837021929787
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 186
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 12,
"type": "CannyEdgePreprocessor",
"pos": [
-1530,
-847
],
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 14,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CannyEdgePreprocessor"
},
"widgets_values": [
100,
200,
2048
],
"shape": 1
},
{
"id": 115,
"type": "OpenposePreprocessor",
"pos": [
-1559,
-644
],
"size": {
"0": 315,
"1": 150
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 185
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
186,
187
],
"shape": 3,
"slot_index": 0
},
{
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "OpenposePreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512
]
},
{
"id": 114,
"type": "LineArtPreprocessor",
"pos": [
-1589,
-1185
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 180
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
181,
183
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LineArtPreprocessor"
},
"widgets_values": [
"enable",
512
]
},
{
"id": 11,
"type": "CR Multi-ControlNet Stack",
"pos": [
-766,
-1149
],
"size": {
"0": 418.1999816894531,
"1": 454
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 183,
"slot_index": 0
},
{
"name": "image_2",
"type": "IMAGE",
"link": 187
},
{
"name": "image_3",
"type": "IMAGE",
"link": null
},
{
"name": "controlnet_stack",
"type": "CONTROL_NET_STACK",
"link": null,
"slot_index": 3
}
],
"outputs": [
{
"name": "CONTROLNET_STACK",
"type": "CONTROL_NET_STACK",
"links": [
176
],
"shape": 3,
"slot_index": 0
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR Multi-ControlNet Stack"
},
"widgets_values": [
"On",
"control_v11p_sd15_lineart_fp16.safetensors",
1,
0,
1,
"On",
"control_v11p_sd15_openpose_fp16.safetensors",
1,
0,
1,
"Off",
"None",
0.99,
0,
1
],
"shape": 1
},
{
"id": 70,
"type": "LoadImage",
"pos": [
2080,
-1410
],
"size": {
"0": 547.1780395507812,
"1": 556.1121215820312
},
"flags": {
"pinned": true
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"man_3 (1).jpg",
"image"
],
"shape": 1
},
{
"id": 99,
"type": "SaveImage",
"pos": [
2640,
-1417
],
"size": {
"0": 505.1011047363281,
"1": 566.400146484375
},
"flags": {
"pinned": true
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 142
}
],
"properties": {},
"widgets_values": [
"image"
],
"shape": 1
},
{
"id": 64,
"type": "KSampler (Efficient)",
"pos": [
762,
-1406
],
"size": {
"0": 1297,
"1": 998
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 66
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 67
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 68
},
{
"name": "latent_image",
"type": "LATENT",
"link": 69
},
{
"name": "optional_vae",
"type": "VAE",
"link": 70
},
{
"name": "script",
"type": "SCRIPT",
"link": 154
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "LATENT",
"type": "LATENT",
"links": null,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
142
],
"shape": 3,
"slot_index": 5
}
],
"properties": {
"Node name for S&R": "KSampler (Efficient)"
},
"widgets_values": [
4091745839,
null,
20,
4,
"dpmpp_2m_sde_gpu",
"karras",
1,
"auto",
"true"
],
"color": "#332222",
"bgcolor": "#553333",
"shape": 1
},
{
"id": 102,
"type": "XY Input: CFG Scale",
"pos": [
713,
-339
],
"size": {
"0": 348,
"1": 178
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "X or Y",
"type": "XY",
"links": [
155
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "XY Input: CFG Scale"
},
"widgets_values": [
1,
4,
4
],
"color": "#223333",
"bgcolor": "#335555",
"shape": 1
},
{
"id": 101,
"type": "XY Plot",
"pos": [
1111,
-336
],
"size": {
"0": 315,
"1": 194
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "dependencies",
"type": "DEPENDENCIES",
"link": null
},
{
"name": "X",
"type": "XY",
"link": 155
},
{
"name": "Y",
"type": "XY",
"link": null
}
],
"outputs": [
{
"name": "SCRIPT",
"type": "SCRIPT",
"links": [
154
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "XY Plot"
},
"widgets_values": [
0,
"False",
"Horizontal",
"True",
"Images"
],
"color": "#332233",
"bgcolor": "#553355",
"shape": 1
},
{
"id": 14,
"type": "LoadImage",
"pos": [
-2521,
-617
],
"size": {
"0": 583,
"1": 806
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14,
180,
185
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"IMG_7593_2.jpg",
"image"
],
"shape": 1
},
{
"id": 10,
"type": "Efficient Loader",
"pos": [
-50,
-1076
],
"size": {
"0": 394,
"1": 539
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": null,
"slot_index": 0
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": 176
},
{
"name": "empty_latent_width",
"type": "INT",
"link": 84,
"widget": {
"name": "empty_latent_width"
}
},
{
"name": "empty_latent_height",
"type": "INT",
"link": 83,
"widget": {
"name": "empty_latent_height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
66
],
"shape": 3,
"slot_index": 0
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": [
67
],
"shape": 3,
"slot_index": 1
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": [
68
],
"shape": 3,
"slot_index": 2
},
{
"name": "LATENT",
"type": "LATENT",
"links": [
69
],
"shape": 3,
"slot_index": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
70
],
"shape": 3,
"slot_index": 4
},
{
"name": "CLIP",
"type": "CLIP",
"links": [],
"shape": 3,
"slot_index": 5
},
{
"name": "DEPENDENCIES",
"type": "DEPENDENCIES",
"links": [],
"shape": 3,
"slot_index": 6
}
],
"properties": {
"Node name for S&R": "Efficient Loader"
},
"widgets_values": [
"realisticVisionV60B1_v51VAE.safetensors",
"vae-ft-mse-840000-ema-pruned.ckpt",
-2,
"None",
1,
1,
"In the style of Grand Theft Auto, loading screens, (palm trees), GTA style artwork, highly detailed, urban scene with numerous palm trees, neon lights, and graffiti, trending on ArtStation, preserving the individual's race, color and hair,\nclothes.",
"(worst quality, low quality = 1.3), ((drastic change in facial features, race, color, hair))",
"none",
"comfy",
512,
512,
1
],
"color": "#222233",
"bgcolor": "#333355",
"shape": 1
}
],
"links": [
[
10,
12,
0,
13,
0,
"IMAGE"
],
[
14,
14,
0,
12,
0,
"IMAGE"
],
[
66,
10,
0,
64,
0,
"MODEL"
],
[
67,
10,
1,
64,
1,
"CONDITIONING"
],
[
68,
10,
2,
64,
2,
"CONDITIONING"
],
[
69,
10,
3,
64,
3,
"LATENT"
],
[
70,
10,
4,
64,
4,
"VAE"
],
[
83,
65,
1,
10,
3,
"INT"
],
[
84,
65,
0,
10,
2,
"INT"
],
[
142,
64,
5,
99,
0,
"IMAGE"
],
[
154,
101,
0,
64,
5,
"SCRIPT"
],
[
155,
102,
0,
101,
1,
"XY"
],
[
176,
11,
0,
10,
1,
"CONTROL_NET_STACK"
],
[
180,
14,
0,
114,
0,
"IMAGE"
],
[
181,
114,
0,
108,
0,
"IMAGE"
],
[
183,
114,
0,
11,
0,
"IMAGE"
],
[
185,
14,
0,
115,
0,
"IMAGE"
],
[
186,
115,
0,
110,
0,
"IMAGE"
],
[
187,
115,
0,
11,
1,
"IMAGE"
]
],
"groups": [
{
"title": "Controlnet Preprocessor",
"bounding": [
-1597,
-1474,
751,
1293
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.505447028499296,
"offset": [
996.23040673044,
1651.0194149747103
]
}
},
"version": 0.4
}