Files
victorchall-comfyui_webcamc…/webcam-openpose-workflow.json

767 lines
13 KiB
JSON

{
"last_node_id": 26,
"last_link_id": 30,
"nodes": [
{
"id": 14,
"type": "ControlNetLoader",
"pos": [
-17.110606325317313,
865.0421132532957
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"OpenPoseXL2.safetensors"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1048,
586
],
"size": {
"0": 453.77667236328125,
"1": 727.6036376953125
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
39,
187
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"juggernautXL_v7Rundiffusion.safetensors"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
413,
389
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 7,
"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, zombie"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
892,
260
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
420,
627
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
992,
704,
1
]
},
{
"id": 11,
"type": "ImageScale",
"pos": [
324,
992
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 27
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"bilinear",
960,
720,
"disabled"
]
},
{
"id": 10,
"type": "OpenposePreprocessor",
"pos": [
328,
1169
],
"size": {
"0": 315,
"1": 150
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 11
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12,
14
],
"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",
null
]
},
{
"id": 22,
"type": "WebcamCapture",
"pos": [
-38,
1037
],
"size": {
"0": 315,
"1": 298
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26,
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WebcamCapture"
},
"widgets_values": [
0,
720,
480,
0.5,
0,
1.8,
1,
1,
1,
164290624196802,
"randomize"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 18,
"type": "PreviewImage",
"pos": [
561,
1367
],
"size": [
402.9523446002198,
298.8161288098145
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
}
],
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 26,
"type": "Note",
"pos": [
-346,
1135
],
"size": [
266.3174044372559,
274.768473814087
],
"flags": {},
"order": 4,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Use the load image to troubleshoot the controlnet without having to use the webcam.\n\nYou may need to adjust your webcap capture settings depending on your webcam. I suggest leaving autofocus, autowb, and autoexp turned on, and tweak your exposure.\n\nYou can use a different Pose Estimator (replace OpenPose Pose) and anothr Controlnet selection on Load ControlNetModel.\n\nOpenPose Pose and OpenPoseXL2.safetensors work well together. "
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 12,
"type": "LoadImage",
"pos": [
-30,
1384
],
"size": [
289.39411343658435,
297.8526697610473
],
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"test_pose2.png",
"image"
]
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
668,
929
],
"size": {
"0": 297.51910400390625,
"1": 334.1168212890625
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 12
}
],
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 3,
"type": "KSampler",
"pos": [
878,
186
],
"size": {
"0": 315,
"1": 474
},
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 16
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
99269917960409,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 16,
"type": "ControlNetApply",
"pos": [
322.8893936746831,
856.0421132532957
],
"size": {
"0": 317.4000244140625,
"1": 98
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 15
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 13
},
{
"name": "image",
"type": "IMAGE",
"link": 14
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
16
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetApply"
},
"widgets_values": [
1.03
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
415,
186
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
15
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"two adults standing on a mountain facing the camera, sunset, golden hour, cinematic masterpiece"
]
}
],
"links": [
[
1,
4,
0,
3,
0,
"MODEL"
],
[
2,
5,
0,
3,
3,
"LATENT"
],
[
3,
4,
1,
6,
0,
"CLIP"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
11,
11,
0,
10,
0,
"IMAGE"
],
[
12,
10,
0,
13,
0,
"IMAGE"
],
[
13,
14,
0,
16,
1,
"CONTROL_NET"
],
[
14,
10,
0,
16,
2,
"IMAGE"
],
[
15,
6,
0,
16,
0,
"CONDITIONING"
],
[
16,
16,
0,
3,
1,
"CONDITIONING"
],
[
26,
22,
0,
18,
0,
"IMAGE"
],
[
27,
22,
0,
11,
0,
"IMAGE"
]
],
"groups": [
{
"title": "ControlNet",
"bounding": [
-47,
789,
1047,
906
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {},
"version": 0.4
}