comfy / workflows /openpose-depthanything.json
Martin Tomov
uploading 17 workflows
41ee8c8 verified
raw
history blame
17.7 kB
{
"last_node_id": 192,
"last_link_id": 330,
"nodes": [
{
"id": 166,
"type": "CLIPTextEncode",
"pos": [
1810,
800
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 297
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
299
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"nsfw"
]
},
{
"id": 163,
"type": "KSampler",
"pos": [
2360,
610
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 294
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 315
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 299
},
{
"name": "latent_image",
"type": "LATENT",
"link": 303
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
304
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"fixed",
6,
1.5,
"dpmpp_2m_sde",
"sgm_uniform",
1
]
},
{
"id": 165,
"type": "CLIPTextEncode",
"pos": [
1810,
540
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 296
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
313
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a game illustration of a man in medieval times with head armour, standing on top of a forest hill, cinematic lighting, dramatic scene, red sky"
]
},
{
"id": 168,
"type": "ImageResize+",
"pos": [
809,
1118
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 327
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
301,
308,
311,
323
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
512,
512,
"nearest",
false,
"always",
0
]
},
{
"id": 170,
"type": "VAEDecode",
"pos": [
2410,
940
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 304
},
{
"name": "vae",
"type": "VAE",
"link": 305
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
306,
329
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 172,
"type": "ControlNetApply",
"pos": [
1823,
1322
],
"size": {
"0": 317.4000244140625,
"1": 98
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 313
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 307,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 309
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
314
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetApply"
},
"widgets_values": [
0.7000000000000001
]
},
{
"id": 175,
"type": "ControlNetApply",
"pos": [
1827,
1651
],
"size": {
"0": 317.4000244140625,
"1": 98
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 314
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 310,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 312
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
315
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetApply"
},
"widgets_values": [
0.7000000000000001
]
},
{
"id": 190,
"type": "Note",
"pos": [
1570,
639
],
"size": [
210,
58
],
"flags": {},
"order": 0,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"positive prompt - >"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 181,
"type": "PreviewImage",
"pos": [
1286,
1378
],
"size": [
338.82750300390444,
364.60107216406004
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 324
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 177,
"type": "DepthAnythingPreprocessor",
"pos": [
1301,
1803
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 311
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
312,
325
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DepthAnythingPreprocessor"
},
"widgets_values": [
"depth_anything_vitl14.pth",
512
]
},
{
"id": 182,
"type": "PreviewImage",
"pos": [
1822,
1840
],
"size": [
400.68940892968476,
408.9502965195279
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 325
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 174,
"type": "OpenposePreprocessor",
"pos": [
1291,
1163
],
"size": {
"0": 315,
"1": 150
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 308
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
309,
324
],
"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",
"v1.1"
]
},
{
"id": 180,
"type": "PreviewImage",
"pos": [
817,
1389
],
"size": [
356.63866291406134,
345.11012927343495
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 323
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 184,
"type": "LoadImage",
"pos": [
807,
742
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
327
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Screenshot 2024-05-03 at 14.45.24.png",
"image"
]
},
{
"id": 162,
"type": "CheckpointLoaderSimple",
"pos": [
812,
588
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
294
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
296,
297
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
302,
305
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"dreamshaperXL_lightningDPMSDE.safetensors"
]
},
{
"id": 191,
"type": "Note",
"pos": [
1576,
880
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"negative prompt - >"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 173,
"type": "ControlNetLoader",
"pos": [
1827,
1190
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
307
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control-lora-depth-rank128.safetensors"
]
},
{
"id": 169,
"type": "VAEEncode",
"pos": [
1828,
1074
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 301
},
{
"name": "vae",
"type": "VAE",
"link": 302
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
303
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 176,
"type": "ControlNetLoader",
"pos": [
1826,
1495
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
310
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control-lora-depth-rank128.safetensors"
]
},
{
"id": 171,
"type": "PreviewImage",
"pos": [
2827,
629
],
"size": {
"0": 640,
"1": 610
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 306
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 192,
"type": "Note",
"pos": [
2438,
1112
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 6,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"disconnect node if you don't want upscaler"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 189,
"type": "PreviewImage",
"pos": [
2839,
1622
],
"size": [
935.6619115236217,
917.8788428997625
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 330
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 188,
"type": "LDSRUpscaler",
"pos": [
2473,
1282
],
"size": {
"0": 315,
"1": 154
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 329
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
330
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LDSRUpscaler"
},
"widgets_values": [
"ldsr-last.ckpt",
"50",
"None",
"None",
"Lanczos"
]
}
],
"links": [
[
294,
162,
0,
163,
0,
"MODEL"
],
[
296,
162,
1,
165,
0,
"CLIP"
],
[
297,
162,
1,
166,
0,
"CLIP"
],
[
299,
166,
0,
163,
2,
"CONDITIONING"
],
[
301,
168,
0,
169,
0,
"IMAGE"
],
[
302,
162,
2,
169,
1,
"VAE"
],
[
303,
169,
0,
163,
3,
"LATENT"
],
[
304,
163,
0,
170,
0,
"LATENT"
],
[
305,
162,
2,
170,
1,
"VAE"
],
[
306,
170,
0,
171,
0,
"IMAGE"
],
[
307,
173,
0,
172,
1,
"CONTROL_NET"
],
[
308,
168,
0,
174,
0,
"IMAGE"
],
[
309,
174,
0,
172,
2,
"IMAGE"
],
[
310,
176,
0,
175,
1,
"CONTROL_NET"
],
[
311,
168,
0,
177,
0,
"IMAGE"
],
[
312,
177,
0,
175,
2,
"IMAGE"
],
[
313,
165,
0,
172,
0,
"CONDITIONING"
],
[
314,
172,
0,
175,
0,
"CONDITIONING"
],
[
315,
175,
0,
163,
1,
"CONDITIONING"
],
[
323,
168,
0,
180,
0,
"IMAGE"
],
[
324,
174,
0,
181,
0,
"IMAGE"
],
[
325,
177,
0,
182,
0,
"IMAGE"
],
[
327,
184,
0,
168,
0,
"IMAGE"
],
[
329,
170,
0,
188,
0,
"IMAGE"
],
[
330,
188,
0,
189,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}