| name | video-agent |
| description | HeyGen AI video creation API. Use when: (1) Using Video Agent for one-shot prompt-to-video generation, (2) Generating AI avatar videos with /v2/video/generate, (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.
|
| homepage | https://docs.heygen.com/reference/generate-video-agent |
| metadata | {"openclaw":{"emoji":"🎬","requires":{"bins":["python3","curl"],"env":["HEYGEN_API_KEY"]},"primaryEnv":"HEYGEN_API_KEY"}} |
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
Reference Files
Foundation
Core Video Creation
Video Customization
Advanced Features
Integration