ComfyPilotComfyPilot
工作流 / 视频工具 / 姿态图: DWPose OpenPose
姿态图: DWPose OpenPose

姿态图: DWPose OpenPose

Pose Map: DWPose OpenPose

将视频转换为时间稳定的姿态控制图

视频工具 4 个节点 1 个输入 36 次使用 ComfyUI ≥ 0.0.1 ComfyUI 6 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 1 个权重文件,其中 0 个能在本站模型库里找到。

dw-ll_ucoco_384_bs5.torchscript.pt 模型库暂未收录

节点构成

VHS_LoadVideo × 1
DWPreprocessor × 1
VHS_VideoCombine × 1
MarkdownNote × 1

官方标注的模型

DWPose

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "c740b4db-cf9b-49b4-aacb-00114d7fcbee",
3 "revision": 0,
4 "last_node_id": 8,
5 "last_link_id": 10,
6 "nodes": [
7 {
8 "id": 2,
9 "type": "VHS_LoadVideo",
10 "pos": [
11 220.00004950195887,
12 -1236.6666678464755
13 ],
14 "size": [
15 255.8203125,
16 551.8203125
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "meta_batch",
24 "shape": 7,
25 "type": "VHS_BatchManager",
26 "link": null
27 },
28 {
29 "name": "vae",
30 "shape": 7,
31 "type": "VAE",
32 "link": null
33 }
34 ],
35 "outputs": [
36 {
37 "name": "IMAGE",
38 "type": "IMAGE",
39 "links": [
40 10
41 ]
42 },
43 {
44 "name": "frame_count",
45 "type": "INT",
46 "links": null
47 },
48 {
49 "name": "audio",
50 "type": "AUDIO",
51 "links": null
52 },
53 {
54 "name": "video_info",
55 "type": "VHS_VIDEOINFO",
56 "links": null
57 }
58 ],
59 "properties": {
60 "Node name for S&R": "VHS_LoadVideo"
61 },
62 "widgets_values": {
63 "video": "pose_input.mp4",
64 "force_rate": 0,
65 "custom_width": 0,
66 "custom_height": 0,
67 "frame_load_cap": 48,
68 "skip_first_frames": 0,
69 "select_every_nth": 1,
70 "format": "AnimateDiff",
71 "videopreview": {
72 "hidden": false,
73 "paused": false,
74 "params": {
75 "force_rate": 0,
76 "custom_width": 0,
77 "custom_height": 0,
78 "frame_load_cap": 48,
79 "skip_first_frames": 0,
80 "select_every_nth": 1,
81 "filename": "pose_input.mp4",
82 "type": "input",
83 "format": "video/mp4"
84 }
85 }
86 }
87 },
88 {
89 "id": 1,
90 "type": "DWPreprocessor",
91 "pos": [
92 520.5947318412174,
93 -1233.628961743877
94 ],
95 "size": [
96 299.58333333333337,
97 234.98697916666669
98 ],
99 "flags": [],
100 "order": 2,
101 "mode": 0,
102 "inputs": [
103 {
104 "name": "image",
105 "type": "IMAGE",
106 "link": 10
107 }
108 ],
109 "outputs": [
110 {
111 "name": "IMAGE",
112 "type": "IMAGE",
113 "links": [
114 4
115 ]
116 },
117 {
118 "name": "POSE_KEYPOINT",
119 "type": "POSE_KEYPOINT",
120 "links": null
121 }
122 ],
123 "properties": {
124 "Node name for S&R": "DWPreprocessor"
125 },
126 "widgets_values": [
127 "enable",
128 "enable",
129 "enable",
130 1024,
131 "yolox_l.onnx",
132 "dw-ll_ucoco_384_bs5.torchscript.pt",
133 "disable"
134 ]
135 },
136 {
137 "id": 4,
138 "type": "VHS_VideoCombine",
139 "pos": [
140 860.0075009337932,
141 -1235.6139588106903
142 ],
143 "size": [
144 225.32552083333334,
145 545.3255208333334
146 ],
147 "flags": [],
148 "order": 3,
149 "mode": 0,
150 "inputs": [
151 {
152 "name": "images",
153 "type": "IMAGE",
154 "link": 4
155 },
156 {
157 "name": "audio",
158 "shape": 7,
159 "type": "AUDIO",
160 "link": null
161 },
162 {
163 "name": "meta_batch",
164 "shape": 7,
165 "type": "VHS_BatchManager",
166 "link": null
167 },
168 {
169 "name": "vae",
170 "shape": 7,
171 "type": "VAE",
172 "link": null
173 }
174 ],
175 "outputs": [
176 {
177 "name": "Filenames",
178 "type": "VHS_FILENAMES",
179 "links": null
180 }
181 ],
182 "properties": {
183 "Node name for S&R": "VHS_VideoCombine"
184 },
185 "widgets_values": {
186 "frame_rate": 24,
187 "loop_count": 0,
188 "filename_prefix": "AnimateDiff",
189 "format": "video/h264-mp4",
190 "pix_fmt": "yuv420p",
191 "crf": 12,
192 "save_metadata": true,
193 "trim_to_audio": false,
194 "pingpong": false,
195 "save_output": true,
196 "videopreview": {
197 "hidden": false,
198 "paused": false,
199 "params": {
200 "filename": "65e714c471e2c783e94456e9ea2d8778060c435e49564e1748362f5cc4bf9e17.mp4",
201 "format": "video/h264-mp4",
202 "frame_rate": 24,
203 "fullpath": "",
204 "subfolder": "",
205 "type": "output",
206 "workflow": "AnimateDiff_00007.png"
207 }
208 }
209 }
210 },
211 {
212 "id": 8,
213 "type": "MarkdownNote",
214 "pos": [
215 -221.66666666666666,
216 -1236.6666668633015
217 ],
218 "size": [
219 425,
220 282.31770833333337
221 ],
222 "flags": [],
223 "order": 1,
224 "mode": 0,
225 "inputs": [],
226 "outputs": [],
227 "title": "For Local Users",
228 "properties": [],
229 "widgets_values": [
230 "## Custom Nodes\n\n- [Fannovel16/comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)\n- [Kosinkadink/ComfyUI-VideoHelperSuite](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite)\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
231 ],
232 "color": "#222",
233 "bgcolor": "#000"
234 }
235 ],
236 "links": [
237 [
238 4,
239 1,
240 0,
241 4,
242 0,
243 "IMAGE"
244 ],
245 [
246 10,
247 2,
248 0,
249 1,
250 0,
251 "IMAGE"
252 ]
253 ],
254 "groups": [],
255 "config": [],
256 "extra": {
257 "workflowRendererVersion": "LG",
258 "ds": {
259 "scale": 0.5513967583629025,
260 "offset": [
261 1500.8205353917401,
262 1973.1923853912872
263 ]
264 },
265 "frontendVersion": "1.36.12",
266 "VHS_latentpreview": false,
267 "VHS_latentpreviewrate": 0,
268 "VHS_MetadataImage": true,
269 "VHS_KeepIntermediate": true
270 },
271 "version": 0.4
272}