跳到正文
Skillpedia
视频剪辑75k · #2639

avatar-video

它能做什么

这项技能制作由数字主持人说出你精确脚本的虚拟人视频。适合希望控制所用虚拟人、声音和背景的视频制作者。

适用场景

  • ✓当你希望某个特定的虚拟人和声音讲出精确的脚本时。
  • ✓当你希望每个场景使用不同背景的视频时。
  • ✓当你需要一段可以叠加在其他素材上的透明视频时。

技能链接

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/avatar-video/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/avatar-video/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请制作一段 30 秒的视频,由穿蓝色西装的主持人朗读我的脚本,背景是简洁的办公室。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体列出可用的虚拟人和声音,为每个场景撰写脚本,设置背景,并把请求发送给 HeyGen。然后它检查状态,并返回视频链接。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Avatar Video

Create AI avatar videos with full control over avatars, voices, scripts, scenes, and backgrounds. Build single or multi-scene videos with exact configuration using HeyGen's /v2/video/generate API.

Authentication

All requests require the X-Api-Key header. Set the HEYGEN_API_KEY environment variable.

curl -X GET "https://api.heygen.com/v2/avatars" \
  -H "X-Api-Key: $HEYGEN_API_KEY"

Tool Selection

If HeyGen MCP tools are available (mcp__heygen__*), prefer them over direct HTTP API calls — they handle authentication and request formatting automatically.

Task MCP Tool Fallback (Direct API)
Check video status / get URL mcp__heygen__get_video GET /v2/videos/{video_id}
List account videos mcp__heygen__list_videos GET /v2/videos
Delete a video mcp__heygen__delete_video DELETE /v2/videos/{video_id}

Video generation (POST /v2/video/generate) and avatar/voice listing are done via direct API calls — see reference files below.

Default Workflow

  1. List avatars — GET /v2/avatars → pick an avatar, preview it, note avatar_id and default_voice_id. See avatars.md
  2. List voices (if needed) — GET /v2/voices → pick a voice matching the avatar's gender/language. See voices.md
  3. Write the script — Structure scenes with one concept each. See scripts.md
  4. Generate the video — POST /v2/video/generate with avatar, voice, script, and background per scene. See video-generation.md
  5. Poll for completion — GET /v2/videos/{video_id} until status is completed. See video-status.md

Quick Reference

Task Read
List and preview avatars avatars.md
List and select voices voices.md
Write and structure scripts scripts.md
Generate video (single or multi-scene) video-generation.md
Add custom backgrounds backgrounds.md
Add captions / subtitles captions.md
Add text overlays text-overlays.md
Create transparent WebM video video-generation.md (WebM section)
Use templates templates.md
Create avatar from photo photo-avatars.md
Check video status / download video-status.md
Upload assets (images, audio) assets.md
Use with Remotion remotion-integration.md
Set up webhooks webhooks.md

When to Use This Skill vs Create Video

This skill is for precise control — you choose the avatar, write the exact script, configure each scene.

If the user just wants to describe a video idea and let AI handle the rest (script, avatar, visuals), use the create-video skill instead.

User Says Create Video Skill This Skill
"Make me a video about X" ✓
"Create a product demo" ✓
"I want avatar Y to say exactly Z" ✓
"Multi-scene video with different backgrounds" ✓
"Transparent WebM for compositing" ✓
"Use this specific voice for my script" ✓
"Batch generate videos with exact specs" ✓

Reference Files

Core Video Creation

Video Customization

Advanced Features

常见问题

我如何选择虚拟人?

智能体会列出可用的虚拟人和声音,由你选择合适的一个。

每个场景能有不同的背景吗?

可以。多场景视频可以为每个场景使用不同的背景。

它需要 HeyGen 密钥吗?

需要。它需要在环境中设置 HEYGEN_API_KEY。

详情

作者的原始描述

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

repo: calesthio/OpenMontage

热度

GitHub 星标
75k
排名
#2639
许可证
AGPL-3.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能