AgentSkillsCN

heygen

HeyGen AI头像视频生成API。适用于以下场景:(1) 使用/v2/video/generate生成AI头像视频;(2) 利用Video Agent实现一次性从提示词生成视频;(3) 与HeyGen头像、语音、背景或字幕配合使用;(4) 创建可用于合成的透明WebM视频;(5) 轮询视频状态或处理Webhook;(6) 将HeyGen与Remotion集成,实现程序化视频制作;(7) 对现有视频进行翻译或配音。

SKILL.md
--- frontmatter
name: heygen
description: |
  HeyGen AI avatar video creation API. Use when: (1) Generating AI avatar videos with /v2/video/generate, (2) Using Video Agent for one-shot prompt-to-video generation, (3) Working with HeyGen avatars, voices, backgrounds, or captions, (4) Creating transparent WebM videos for compositing, (5) Polling video status or handling webhooks, (6) Integrating HeyGen with Remotion for programmatic video, (7) Translating or dubbing existing videos.

HeyGen API

AI avatar video creation API for generating talking-head videos, explainers, and presentations.

Default Workflow

Prefer Video Agent API (POST /v1/video_agent/generate) for most video requests. Always use prompt-optimizer.md guidelines to structure prompts with scenes, timing, and visual styles.

Only use v2/video/generate when user explicitly needs:

  • Exact script without AI modification
  • Specific voice_id selection
  • Different avatars/backgrounds per scene
  • Precise per-scene timing control
  • Programmatic/batch generation with exact specs

Quick Reference

TaskRead
Generate video from prompt (easy)prompt-optimizer.mdvideo-agent.md
Generate video with precise controlvideo-generation.md, avatars.md, voices.md
Check video status / get download URLvideo-status.md
Add captions or text overlayscaptions.md, text-overlays.md
Transparent video for compositingvideo-generation.md (WebM section)
Real-time interactive avatarstreaming-avatars.md
Translate/dub existing videovideo-translation.md
Use with Remotionremotion-integration.md

Reference Files

Foundation

Core Video Creation

Video Customization

Advanced Features

Integration