What is Preprocessor?
How do you prepare "control images" like stick figures and depth maps used in ControlNet? While simple edges like Canny might be manageable, drawing a depth map by hand every time is not realistic.
Therefore, the process of automatically creating stick figures, depth maps, line drawings, normal maps, etc. from reference images is collectively called "Preprocessor" for convenience in the ControlNet community.
There is no single technology that does all of these; there are separate technologies for each, such as pose estimation, depth estimation, and line drawing extraction.
The True Nature of Control Images
I said it was hard to draw by hand, but please remember that "it IS possible to draw by hand".
The control image is not a special data type, but just an RGB image. You can paint over interfering parts in a depth map with black, or redraw just the arms of a pose image to change the posture.
Required Custom Nodes
Basically, this is all you need.
Frequently Used Preprocessors
Here we introduce technologies that are actually used frequently. There are things with better performance, but we have chosen them focusing on ease of use, lightness, and usability.
If you are using it for ControlNet, you don't need such extreme accuracy.
Canny
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 8,
"last_link_id": 9,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
2052.512417175204,
713.1345217676802
],
"size": [
323.3075899069813,
351.9960385219588
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6,
7
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (58).png",
"image"
]
},
{
"id": 3,
"type": "PreviewImage",
"pos": [
2645.7870363952015,
713.1345217676802
],
"size": [
338.44231951369466,
292.2278532887095
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
2645.7870363952015,
1059.007549566329
],
"size": [
336.17785670377725,
295.0873574209412
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 5,
"type": "Canny",
"pos": [
2405.8035217386932,
713.1345217676802
],
"size": [
210,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 6
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "Canny"
},
"widgets_values": [
0.4,
0.6
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 7,
"type": "CannyEdgePreprocessor",
"pos": [
2405.8035217386932,
1053.2975570794763
],
"size": [
210,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "CannyEdgePreprocessor"
},
"widgets_values": [
100,
200,
512
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
6,
1,
0,
5,
0,
"IMAGE"
],
[
7,
1,
0,
7,
0,
"IMAGE"
],
[
8,
5,
0,
3,
0,
"IMAGE"
],
[
9,
7,
0,
8,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-1861.512417175204,
-538.1345217676802
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 Canny
- 🟨 Canny Edgy
SoftEdge / HED
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 8,
"last_link_id": 13,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": [
2653.7870363952015,
713.1345217676802
],
"size": [
271.38446827402504,
399.8146301482137
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImage",
"pos": [
2124.4132436214854,
713.1345217676802
],
"size": [
255.53899486565933,
401.582815381463
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (64).png",
"image"
]
},
{
"id": 8,
"type": "HEDPreprocessor",
"pos": [
2411.869637441173,
713.1345217676802
],
"size": [
210,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "HEDPreprocessor"
},
"widgets_values": [
"enable",
512
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
12,
1,
0,
8,
0,
"IMAGE"
],
[
13,
8,
0,
3,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.2100000000000002,
"offset": [
-2024.4132436214854,
-613.1345217676802
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 HED Soft-Edge
Lineart
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 10,
"last_link_id": 14,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": [
2645.7870363952015,
713.1345217676802
],
"size": [
338.44231951369466,
292.2278532887095
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
2645.7870363952015,
1059.007549566329
],
"size": [
336.17785670377725,
295.0873574209412
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImage",
"pos": [
2052.512417175204,
713.1345217676802
],
"size": [
323.3075899069813,
351.9960385219588
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10,
13
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (59).png",
"image"
]
},
{
"id": 10,
"type": "AnyLineArtPreprocessor_aux",
"pos": [
2403.7576233011932,
1059.007549566329
],
"size": [
214.091796875,
178
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 13
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
14
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "AnyLineArtPreprocessor_aux"
},
"widgets_values": [
"lineart_standard",
1280,
0,
1,
36,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 9,
"type": "LineArtPreprocessor",
"pos": [
2405.8035217386932,
713.1345217676802
],
"size": [
210,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "LineArtPreprocessor"
},
"widgets_values": [
"disable",
512
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
10,
1,
0,
9,
0,
"IMAGE"
],
[
11,
9,
0,
3,
0,
"IMAGE"
],
[
13,
1,
0,
10,
0,
"IMAGE"
],
[
14,
10,
0,
8,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.2100000000000002,
"offset": [
-1957.4710948611548,
-612.3080754866885
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 Realistic Lineart
- 🟨 AnyLine Lineart
Depth
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 3,
"last_link_id": 2,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": [
2653.7870363952015,
713.1345217676802
],
"size": [
271.38446827402504,
399.8146301482137
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 2
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImage",
"pos": [
2124.4132436214854,
713.1345217676802
],
"size": [
255.53899486565933,
401.582815381463
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (52).png",
"image"
]
},
{
"id": 2,
"type": "DepthAnythingV2Preprocessor",
"pos": [
2407.037313222423,
713.1345217676802
],
"size": [
219.6646484375,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "DepthAnythingV2Preprocessor"
},
"widgets_values": [
"depth_anything_v2_vitl.pth",
512
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
1,
1,
0,
2,
0,
"IMAGE"
],
[
2,
2,
0,
3,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-2024.4132436214854,
-612.1345217676802
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 Depth Anything V2
- Currently developed up to V3, but V2 is sufficient for ControlNet use.
Normal
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 4,
"last_link_id": 4,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": [
2653.7870363952015,
713.1345217676802
],
"size": [
271.38446827402504,
399.8146301482137
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 4
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImage",
"pos": [
2124.4132436214854,
713.1345217676802
],
"size": [
255.53899486565933,
401.582815381463
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (54).png",
"image"
]
},
{
"id": 4,
"type": "DSINE-NormalMapPreprocessor",
"pos": [
2411.869637441173,
713.1345217676802
],
"size": [
210,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 3
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "DSINE-NormalMapPreprocessor"
},
"widgets_values": [
60,
5,
512
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
3,
1,
0,
4,
0,
"IMAGE"
],
[
4,
4,
0,
3,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.3310000000000004,
"offset": [
-2024.4132436214854,
-613.1345217676802
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 DSINE
MLSD
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 7,
"last_link_id": 10,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": [
2653.7870363952015,
713.1345217676802
],
"size": [
271.38446827402504,
399.8146301482137
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImage",
"pos": [
2124.4132436214854,
713.1345217676802
],
"size": [
255.53899486565933,
401.582815381463
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (60).png",
"image"
]
},
{
"id": 7,
"type": "M-LSDPreprocessor",
"pos": [
2411.869637441173,
713.1345217676802
],
"size": [
210,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 9
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "M-LSDPreprocessor"
},
"widgets_values": [
0.1,
0.1,
512
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
9,
1,
0,
7,
0,
"IMAGE"
],
[
10,
7,
0,
3,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.2100000000000002,
"offset": [
-2024.4132436214854,
-613.1345217676802
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 M-LSD Lines
Pose
{
"id": "f83097f0-855d-4220-84ba-d7104e2d7415",
"revision": 0,
"last_node_id": 10,
"last_link_id": 13,
"nodes": [
{
"id": 8,
"type": "PreviewImage",
"pos": [
2658.5593880105284,
1060.5101791681323
],
"size": [
336.17785670377725,
295.0873574209412
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 3,
"type": "PreviewImage",
"pos": [
2658.5593880105284,
713.1345217676802
],
"size": [
338.44231951369466,
292.2278532887095
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 9,
"type": "OpenposePreprocessor",
"pos": [
2399.828369421357,
713.1345217676802
],
"size": [
234.72265625,
174
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11
]
},
{
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "OpenposePreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512,
"disable"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 10,
"type": "DWPreprocessor",
"pos": [
2399.828369421357,
1060.5101791681323
],
"size": [
234.72265625,
222
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
]
},
{
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "12f35647f0d510e03b45a47fb420fe1245a575df",
"Node name for S&R": "DWPreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512,
"yolox_l.onnx",
"dw-ll_ucoco_384_bs5.torchscript.pt",
"disable"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1,
"type": "LoadImage",
"pos": [
2052.512417175204,
713.1345217676802
],
"size": [
323.3075899069813,
351.9960385219588
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10,
12
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (62).png",
"image"
]
}
],
"links": [
[
10,
1,
0,
9,
0,
"IMAGE"
],
[
11,
9,
0,
3,
0,
"IMAGE"
],
[
12,
1,
0,
10,
0,
"IMAGE"
],
[
13,
10,
0,
8,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-1957.512417175204,
-614.1345217676802
]
},
"frontendVersion": "1.34.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 OpenPose
- 🟨 DWPose
- Often treated as a higher compatible version of OpenPose, but it has a clear weakness that it is not good at back views. Use it together with OpenPose depending on the situation.
SDPose
{
"id": "3eaef21b-6855-4084-bfc0-5b9883338e4f",
"revision": 0,
"last_node_id": 10,
"last_link_id": 13,
"nodes": [
{
"id": 3,
"type": "LoadImage",
"pos": [
425.45234075906274,
941.4048106776432
],
"size": [
222.798828125,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"9af5807860cb17e45acaabd3556f09fc.png",
"image"
]
},
{
"id": 4,
"type": "PreviewImage",
"pos": [
985.3182502919165,
861.5225583684754
],
"size": [
311.7598012062317,
365.66204159865424
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 10,
"type": "SDPoseOODProcessor",
"pos": [
686.7955204692829,
861.5225583684754
],
"size": [
255.64453125,
378
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "sdpose_model",
"type": "SDPOSE_MODEL",
"link": 11
},
{
"name": "images",
"type": "IMAGE",
"link": 12
},
{
"name": "data_from_florence2",
"shape": 7,
"type": "JSON",
"link": null
},
{
"name": "grounding_dino_model",
"shape": 7,
"type": "GROUNDING_DINO_MODEL",
"link": null
},
{
"name": "yolo_model",
"shape": 7,
"type": "YOLO_MODEL",
"link": null
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
13
]
},
{
"name": "pose_keypoint",
"type": "POSE_KEYPOINT",
"links": null
}
],
"properties": {
"cnr_id": "sdpose-ood",
"ver": "9c4d72564743d57eac88147f71de442a19df4407",
"Node name for S&R": "SDPoseOODProcessor"
},
"widgets_values": [
0.3,
0.5,
1,
"person .",
0.3,
false,
"poses/pose_edit",
true,
true,
true,
false
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 2,
"type": "SDPoseOODLoader",
"pos": [
431.37254071446944,
748.9983121269319
],
"size": [
210,
130
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SDPOSE_MODEL",
"type": "SDPOSE_MODEL",
"links": [
11
]
}
],
"properties": {
"cnr_id": "sdpose-ood",
"ver": "c5953e1e112665340c642387129f1bc50fcf3dfa",
"Node name for S&R": "SDPoseOODLoader",
"aux_id": "judian17/ComfyUI-SDPose-OOD"
},
"widgets_values": [
"WholeBody",
"fp16",
"auto",
false
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
11,
2,
0,
10,
0,
"SDPOSE_MODEL"
],
[
12,
3,
0,
10,
1,
"IMAGE"
],
[
13,
10,
0,
4,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.1167815779424821,
"offset": [
-325.45234075906274,
-648.9983121269319
]
},
"frontendVersion": "1.35.0",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- 🟩 SDPose
- OpenPose is very weak with animals and anime illustrations, so try this if it doesn't work well.