工作流 /
视频 /
HeyGen Avatar 6:数字人生视频
HeyGen Avatar 6:数字人生视频
HeyGen Avatar 6: Identity to Video
写好台词、挑一个主播,HeyGen Avatar 6 就会用指定音色把这段话说出来 —— 可以是内置形象,也可以是你自己的数字人。动作提示词可控制手势、表情、姿态与镜头。不需要照片或音频文件:语音由节点合成;画面来自形象本身,支持 1080p 或 2K、16:9/9:16/1:1/4:5/5:4 或跟随原片比例,引擎可选 Avatar 6 或更便宜的 Avatar 6 Turbo。适合口播、讲解、产品更新等原本需要真人拍摄的镜头。
视频
12 个节点 2 个输入 ComfyUI ≥ 0.46.0 ComfyUI 20 KB
节点构成
MarkdownNote
× 2
SaveText
× 2
StringConcatenate
× 2
HeyGenAvatar6IdentityToVideoNode
× 1
SaveVideo
× 1
HeyGenCreateAvatarNode
× 1
LoadImage
× 1
HeyGenVoiceCloneNode
× 1
LoadAudio
× 1
官方标注的模型
HeyGen Avatar 6
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "08434a0f-24c8-536f-b78e-88a0669d41ad",
3 "revision": 0,
4 "last_node_id": 16,
5 "last_link_id": 16,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "HeyGenAvatar6IdentityToVideoNode",
10 "pos": [
11 24.81649597215437,
12 729.5895744367008
13 ],
14 "size": [
15 430,
16 406
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "color_off": null,
25 "color_on": null,
26 "dir": null,
27 "label": null,
28 "locked": null,
29 "name": "VIDEO",
30 "nameLocked": null,
31 "removable": null,
32 "type": "VIDEO",
33 "pos": null,
34 "slot_index": null,
35 "links": [
36 1
37 ]
38 }
39 ],
40 "properties": {
41 "Node name for S&R": "HeyGenAvatar6IdentityToVideoNode"
42 },
43 "widgets_values": [
44 "heygen-avatar-6",
45 "Yara Modern Lecture Hall",
46 "script",
47 "Hi, I am Yara. This clip was rendered from a script by Avatar Six.",
48 "(avatar's default voice)",
49 "",
50 1,
51 "1080p",
52 "16:9",
53 "Warm, confident delivery straight to camera with small open-handed gestures and a slight nod on the key word.",
54 "default",
55 42,
56 "fixed"
57 ],
58 "widgets_values_named": {
59 "model": "heygen-avatar-6",
60 "avatar": "Yara Modern Lecture Hall",
61 "speech": "script",
62 "speech.text": "Hi, I am Yara. This clip was rendered from a script by Avatar Six.",
63 "speech.voice": "(avatar's default voice)",
64 "speech.custom_voice_id": "",
65 "speech.voice_speed": 1,
66 "resolution": "1080p",
67 "aspect_ratio": "16:9",
68 "motion_prompt": "Warm, confident delivery straight to camera with small open-handed gestures and a slight nod on the key word.",
69 "motion_expressiveness": "default",
70 "seed": 42,
71 "control_after_generate": "fixed"
72 },
73 "color": "#432",
74 "bgcolor": "#653"
75 },
76 {
77 "id": 2,
78 "type": "SaveVideo",
79 "pos": [
80 495.1729608159043,
81 730.6739299054508
82 ],
83 "size": [
84 634.1266142578127,
85 662.673534011841
86 ],
87 "flags": [],
88 "order": 5,
89 "mode": 0,
90 "inputs": [
91 {
92 "color_off": null,
93 "color_on": null,
94 "dir": null,
95 "label": null,
96 "locked": null,
97 "name": "video",
98 "nameLocked": null,
99 "removable": null,
100 "type": "VIDEO",
101 "pos": null,
102 "link": 1
103 }
104 ],
105 "outputs": [
106 {
107 "color_off": null,
108 "color_on": null,
109 "dir": null,
110 "label": null,
111 "locked": null,
112 "name": "video",
113 "nameLocked": null,
114 "removable": null,
115 "type": "VIDEO",
116 "pos": null,
117 "slot_index": null,
118 "links": null
119 }
120 ],
121 "properties": [],
122 "widgets_values": [
123 "api_heygen_avatar_6_id2v",
124 "auto",
125 "auto",
126 "auto"
127 ],
128 "widgets_values_named": {
129 "filename_prefix": "api_heygen_avatar_6_id2v",
130 "format": "auto",
131 "format.codec": "auto",
132 "codec": "auto"
133 }
134 },
135 {
136 "id": 3,
137 "type": "MarkdownNote",
138 "pos": [
139 -2096.9559016652083,
140 735.4762753552203
141 ],
142 "size": [
143 600,
144 520
145 ],
146 "flags": [],
147 "order": 1,
148 "mode": 0,
149 "inputs": [],
150 "outputs": [],
151 "properties": [],
152 "widgets_values": [
153 "## HeyGen Avatar 6: Identity to Video\n\nA talking presenter from a stock look — no photo, no audio file. Pick one of the Avatar 6 looks,\nwrite what they should say, and the node voices it and performs it.\n\n## Input Assets\n\nThe default run needs no files. The two optional flows above use:\n\n- [pink_hair_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/pink_hair_portrait.png) - photo for `Create your own avatar`\n- [avatar6_voice_sample.mp3](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/avatar6_voice_sample.mp3) - 17.8 s single-speaker speech for `Create your own voice`\n\n### How to use\n\n1. Sign in with your ComfyUI account. This is an API node, it bills per render.\n2. `model` picks the engine: `heygen-avatar-6` (default, higher quality) or `heygen-avatar-6-turbo`\n (cheaper, faster). Switching the engine reveals the same inputs.\n3. `avatar` picks a stock look. `custom_avatar_id` overrides it with a look you made in\n HeyGen Create Avatar that supports Avatar 6.\n4. `speech` has two modes. **script** writes the line into `text`, picks a `voice` and an optional\n `voice_speed`; **audio** takes your own AUDIO clip instead, and the clip length becomes the\n render length.\n5. `resolution` (1080p or 2k) and `aspect_ratio` set the frame: at 1080p, 16:9 renders 1920x1080,\n `auto` follows the look's source footage.\n6. `motion_prompt` directs gestures, expression, posture and camera movement (up to 1200\n characters). `motion_expressiveness` = `less` damps the gestures.\n7. `seed` only decides whether the node re-runs; renders are non-deterministic anyway.\n\n### What to expect\n\n- The script length is the clip length: this one-sentence script is a 4.5 s read.\n- One look + one script renders a single clip. Re-run with a new seed for a different take.\n"
154 ],
155 "widgets_values_named": {
156 "text": "## HeyGen Avatar 6: Identity to Video\n\nA talking presenter from a stock look — no photo, no audio file. Pick one of the Avatar 6 looks,\nwrite what they should say, and the node voices it and performs it.\n\n## Input Assets\n\nThe default run needs no files. The two optional flows above use:\n\n- [pink_hair_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/pink_hair_portrait.png) - photo for `Create your own avatar`\n- [avatar6_voice_sample.mp3](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/avatar6_voice_sample.mp3) - 17.8 s single-speaker speech for `Create your own voice`\n\n### How to use\n\n1. Sign in with your ComfyUI account. This is an API node, it bills per render.\n2. `model` picks the engine: `heygen-avatar-6` (default, higher quality) or `heygen-avatar-6-turbo`\n (cheaper, faster). Switching the engine reveals the same inputs.\n3. `avatar` picks a stock look. `custom_avatar_id` overrides it with a look you made in\n HeyGen Create Avatar that supports Avatar 6.\n4. `speech` has two modes. **script** writes the line into `text`, picks a `voice` and an optional\n `voice_speed`; **audio** takes your own AUDIO clip instead, and the clip length becomes the\n render length.\n5. `resolution` (1080p or 2k) and `aspect_ratio` set the frame: at 1080p, 16:9 renders 1920x1080,\n `auto` follows the look's source footage.\n6. `motion_prompt` directs gestures, expression, posture and camera movement (up to 1200\n characters). `motion_expressiveness` = `less` damps the gestures.\n7. `seed` only decides whether the node re-runs; renders are non-deterministic anyway.\n\n### What to expect\n\n- The script length is the clip length: this one-sentence script is a 4.5 s read.\n- One look + one script renders a single clip. Re-run with a new seed for a different take.\n"
157 },
158 "color": "#222",
159 "bgcolor": "#000"
160 },
161 {
162 "id": 4,
163 "type": "HeyGenCreateAvatarNode",
164 "pos": [
165 -1299.43883314969,
166 1259.5755076296036
167 ],
168 "size": [
169 400.8035084533691,
170 78
171 ],
172 "flags": [],
173 "order": 6,
174 "mode": 4,
175 "inputs": [
176 {
177 "name": "source.identity_photo",
178 "type": "IMAGE",
179 "link": 16
180 }
181 ],
182 "outputs": [
183 {
184 "name": "avatar_id",
185 "type": "STRING",
186 "links": [
187 9
188 ]
189 },
190 {
191 "name": "preview",
192 "type": "IMAGE",
193 "links": null
194 }
195 ],
196 "properties": {
197 "Node name for S&R": "HeyGenCreateAvatarNode"
198 },
199 "widgets_values": [
200 "photo"
201 ],
202 "widgets_values_named": {
203 "source": "photo"
204 },
205 "color": "#432",
206 "bgcolor": "#653"
207 },
208 {
209 "id": 7,
210 "type": "LoadImage",
211 "pos": [
212 -1299.43883314969,
213 794.9980704958145
214 ],
215 "size": [
216 400.8035084533691,
217 402.577437133789
218 ],
219 "flags": [],
220 "order": 2,
221 "mode": 4,
222 "inputs": [],
223 "outputs": [
224 {
225 "name": "IMAGE",
226 "type": "IMAGE",
227 "links": [
228 16
229 ]
230 },
231 {
232 "name": "MASK",
233 "type": "MASK",
234 "links": null
235 }
236 ],
237 "properties": {
238 "Node name for S&R": "LoadImage"
239 },
240 "widgets_values": [
241 "pink_hair_portrait.png",
242 "image"
243 ],
244 "widgets_values_named": {
245 "image": "pink_hair_portrait.png",
246 "upload": "image"
247 }
248 },
249 {
250 "id": 8,
251 "type": "SaveText",
252 "pos": [
253 -1299.43883314969,
254 1665.5755076296036
255 ],
256 "size": [
257 400.8035084533691,
258 202.00009765625
259 ],
260 "flags": [],
261 "order": 10,
262 "mode": 4,
263 "inputs": [
264 {
265 "name": "text",
266 "type": "STRING",
267 "link": 10
268 }
269 ],
270 "outputs": [
271 {
272 "name": "text",
273 "type": "STRING",
274 "links": null
275 }
276 ],
277 "properties": {
278 "Node name for S&R": "SaveText"
279 },
280 "widgets_values": [
281 "HeyGen_Avatar",
282 "txt"
283 ],
284 "widgets_values_named": {
285 "filename_prefix": "HeyGen_Avatar",
286 "format": "txt"
287 }
288 },
289 {
290 "id": 9,
291 "type": "StringConcatenate",
292 "pos": [
293 -1299.43883314969,
294 1403.5755076296036
295 ],
296 "size": [
297 400.8035084533691,
298 200
299 ],
300 "flags": [],
301 "order": 8,
302 "mode": 4,
303 "inputs": [
304 {
305 "name": "string_b",
306 "type": "STRING",
307 "widget": {
308 "name": "string_b"
309 },
310 "link": 9
311 }
312 ],
313 "outputs": [
314 {
315 "name": "STRING",
316 "type": "STRING",
317 "links": [
318 10
319 ]
320 }
321 ],
322 "properties": {
323 "Node name for S&R": "StringConcatenate"
324 },
325 "widgets_values": [
326 "YOU CUSTOMIZE AVATAR NAME HERE",
327 "",
328 ""
329 ],
330 "widgets_values_named": {
331 "string_a": "YOU CUSTOMIZE AVATAR NAME HERE",
332 "string_b": "",
333 "delimiter": ""
334 }
335 },
336 {
337 "id": 11,
338 "type": "HeyGenVoiceCloneNode",
339 "pos": [
340 -643.1487816176542,
341 1055.3950727246431
342 ],
343 "size": [
344 400,
345 154
346 ],
347 "flags": [],
348 "order": 7,
349 "mode": 4,
350 "inputs": [
351 {
352 "name": "audio",
353 "type": "AUDIO",
354 "link": 12
355 }
356 ],
357 "outputs": [
358 {
359 "name": "voice_id",
360 "type": "STRING",
361 "links": [
362 15
363 ]
364 }
365 ],
366 "properties": {
367 "Node name for S&R": "HeyGenVoiceCloneNode"
368 },
369 "widgets_values": [
370 "auto",
371 "max",
372 true,
373 42,
374 "fixed"
375 ],
376 "widgets_values_named": {
377 "language": "auto",
378 "similarity": "max",
379 "remove_background_noise": true,
380 "seed": 42,
381 "control_after_generate": "fixed"
382 },
383 "color": "#432",
384 "bgcolor": "#653"
385 },
386 {
387 "id": 13,
388 "type": "LoadAudio",
389 "pos": [
390 -643.1487816176542,
391 855.3950727246431
392 ],
393 "size": [
394 400,
395 136
396 ],
397 "flags": [],
398 "order": 3,
399 "mode": 4,
400 "inputs": [],
401 "outputs": [
402 {
403 "name": "AUDIO",
404 "type": "AUDIO",
405 "links": [
406 12
407 ]
408 }
409 ],
410 "properties": {
411 "Node name for S&R": "LoadAudio"
412 },
413 "widgets_values": [
414 "avatar6_voice_sample.mp3",
415 ""
416 ],
417 "widgets_values_named": {
418 "audio": "avatar6_voice_sample.mp3",
419 "upload": ""
420 }
421 },
422 {
423 "id": 14,
424 "type": "SaveText",
425 "pos": [
426 -643.1487816176542,
427 1533.3950727246431
428 ],
429 "size": [
430 400,
431 202.00009765625
432 ],
433 "flags": [],
434 "order": 11,
435 "mode": 4,
436 "inputs": [
437 {
438 "name": "text",
439 "type": "STRING",
440 "link": 13
441 }
442 ],
443 "outputs": [
444 {
445 "name": "text",
446 "type": "STRING",
447 "links": []
448 }
449 ],
450 "properties": {
451 "Node name for S&R": "SaveText"
452 },
453 "widgets_values": [
454 "HeyGen_Avatar",
455 "txt"
456 ],
457 "widgets_values_named": {
458 "filename_prefix": "HeyGen_Avatar",
459 "format": "txt"
460 }
461 },
462 {
463 "id": 15,
464 "type": "StringConcatenate",
465 "pos": [
466 -643.1487816176542,
467 1271.3950727246431
468 ],
469 "size": [
470 400,
471 200
472 ],
473 "flags": [],
474 "order": 9,
475 "mode": 4,
476 "inputs": [
477 {
478 "name": "string_b",
479 "type": "STRING",
480 "widget": {
481 "name": "string_b"
482 },
483 "link": 15
484 }
485 ],
486 "outputs": [
487 {
488 "name": "STRING",
489 "type": "STRING",
490 "links": [
491 13
492 ]
493 }
494 ],
495 "properties": {
496 "Node name for S&R": "StringConcatenate"
497 },
498 "widgets_values": [
499 "YOU CUSTOMIZE AVATAR NAME HERE",
500 "",
501 ""
502 ],
503 "widgets_values_named": {
504 "string_a": "YOU CUSTOMIZE AVATAR NAME HERE",
505 "string_b": "",
506 "delimiter": ""
507 }
508 },
509 {
510 "id": 16,
511 "type": "MarkdownNote",
512 "pos": [
513 -716.6071180728079,
514 2061.8321297074554
515 ],
516 "size": [
517 587.5117195906588,
518 203.78408715906778
519 ],
520 "flags": [],
521 "order": 4,
522 "mode": 0,
523 "inputs": [],
524 "outputs": [],
525 "title": "Note: voice_id and avatar_id",
526 "properties": [],
527 "widgets_values": [
528 "## Reuse your own avatar and voice\n\nThe two groups above are parked, bypassed, so the default prompt stays one cheap render.\nSelect a group and press **Ctrl+B** to enable it.\n\n### Where the two IDs come from\n\n**Avatar ID** (`avatar_id`)\n1. Enable `Create your own avatar for reuse` and load a photo into `Load Image`: head and\n shoulders, face clearly visible, hands out of frame. `pink_hair_portrait.png` ships with\n this template.\n2. `HeyGen Create Avatar` with `source = photo` returns the new look's ID on its `avatar_id`\n STRING output, plus a preview frame.\n3. `Concatenate Text` prefixes the name you type with the ID and `Save Text` writes it to\n `output/HeyGen_Avatar_*.txt`. Keep that string: it is the ID.\n\n**Voice ID** (`voice_id`)\n1. Enable `Create your own voice for reuse` and load at least 10 seconds of one speaker,\n clean and continuous, into `Load Audio`. `avatar6_voice_sample.mp3` ships with this\n template (17.8 s, single speaker).\n2. `HeyGen Voice 1.0 Instant Clone` returns the cloned `voice_id` STRING; `Concatenate Text`\n and `Save Text` save it the same way.\n\n### How to use them\n\n- **Avatar**: on `HeyGen Avatar 6 Identity to Video` set `avatar` to `custom avatar`, then\n paste the saved ID into the `custom_avatar_id` field that appears underneath.\n- **Voice**: keep `speech` = `script` and paste the saved ID into the optional\n `custom_voice_id` field. It wins over the `voice` dropdown whenever it is non-empty, so\n leave it empty to fall back to a stock voice.\n- Or route the cloned voice through `HeyGen Voice 1.0 Text to Speech` (`voice_id` + `text`)\n and switch `speech` to `audio` with that AUDIO plugged in.\n- Both IDs are scoped to the HeyGen workspace behind the Comfy account you are signed in\n with: an ID made in one workspace will not resolve in another."
529 ],
530 "widgets_values_named": {
531 "text": "## Reuse your own avatar and voice\n\nThe two groups above are parked, bypassed, so the default prompt stays one cheap render.\nSelect a group and press **Ctrl+B** to enable it.\n\n### Where the two IDs come from\n\n**Avatar ID** (`avatar_id`)\n1. Enable `Create your own avatar for reuse` and load a photo into `Load Image`: head and\n shoulders, face clearly visible, hands out of frame. `pink_hair_portrait.png` ships with\n this template.\n2. `HeyGen Create Avatar` with `source = photo` returns the new look's ID on its `avatar_id`\n STRING output, plus a preview frame.\n3. `Concatenate Text` prefixes the name you type with the ID and `Save Text` writes it to\n `output/HeyGen_Avatar_*.txt`. Keep that string: it is the ID.\n\n**Voice ID** (`voice_id`)\n1. Enable `Create your own voice for reuse` and load at least 10 seconds of one speaker,\n clean and continuous, into `Load Audio`. `avatar6_voice_sample.mp3` ships with this\n template (17.8 s, single speaker).\n2. `HeyGen Voice 1.0 Instant Clone` returns the cloned `voice_id` STRING; `Concatenate Text`\n and `Save Text` save it the same way.\n\n### How to use them\n\n- **Avatar**: on `HeyGen Avatar 6 Identity to Video` set `avatar` to `custom avatar`, then\n paste the saved ID into the `custom_avatar_id` field that appears underneath.\n- **Voice**: keep `speech` = `script` and paste the saved ID into the optional\n `custom_voice_id` field. It wins over the `voice` dropdown whenever it is non-empty, so\n leave it empty to fall back to a stock voice.\n- Or route the cloned voice through `HeyGen Voice 1.0 Text to Speech` (`voice_id` + `text`)\n and switch `speech` to `audio` with that AUDIO plugged in.\n- Both IDs are scoped to the HeyGen workspace behind the Comfy account you are signed in\n with: an ID made in one workspace will not resolve in another."
532 },
533 "color": "#222",
534 "bgcolor": "#000"
535 }
536 ],
537 "links": [
538 [
539 9,
540 4,
541 0,
542 9,
543 0,
544 "STRING"
545 ],
546 [
547 10,
548 9,
549 0,
550 8,
551 0,
552 "STRING"
553 ],
554 [
555 12,
556 13,
557 0,
558 11,
559 0,
560 "AUDIO"
561 ],
562 [
563 13,
564 15,
565 0,
566 14,
567 0,
568 "STRING"
569 ],
570 [
571 15,
572 11,
573 0,
574 15,
575 0,
576 "STRING"
577 ],
578 [
579 1,
580 1,
581 0,
582 2,
583 0,
584 "VIDEO"
585 ],
586 [
587 16,
588 7,
589 0,
590 4,
591 0,
592 "IMAGE"
593 ]
594 ],
595 "groups": [
596 {
597 "id": 1,
598 "title": "Create your own avatar for reuse (Select and Ctrl-B to enable)",
599 "bounding": [
600 -1406.0447803133666,
601 694.1479965192523,
602 638.9759090818893,
603 1292.148500074218
604 ],
605 "color": "#444",
606 "flags": []
607 },
608 {
609 "id": 2,
610 "title": "Create your own voice for reuse (Select and Ctrl-B to enable)",
611 "bounding": [
612 -718.9114527786803,
613 694.5828552136252,
614 590.1675990406573,
615 1292.7607453525936
616 ],
617 "color": "#444",
618 "flags": []
619 }
620 ],
621 "config": [],
622 "extra": {
623 "ds": {
624 "scale": 0.47552990896233355,
625 "offset": [
626 1743.1839085137574,
627 -372.5352733056179
628 ]
629 },
630 "frontendVersion": "1.59.1"
631 },
632 "extensions": {
633 "extra_pnginfo": {
634 "workflow": {
635 "id": "08434a0f-24c8-536f-b78e-88a0669d41ad",
636 "revision": 0
637 }
638 }
639 },
640 "version": 0.4
641}