โ† Back to Coding Agents & IDEs
Coding Agents & IDEs by @michaelwang11394

video-agent

Generate AI avatar videos with HeyGen's Video Agent API

0
Source Code

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

Task Read
Generate video from prompt (easy) prompt-optimizer.md โ†’ video-agent.md
Generate video with precise control video-generation.md, avatars.md, voices.md
Check video status / get download URL video-status.md
Add captions or text overlays captions.md, text-overlays.md
Transparent video for compositing video-generation.md (WebM section)
Generate standalone TTS audio text-to-speech.md
Translate/dub existing video video-translation.md
Use with Remotion remotion-integration.md

Reference Files

Foundation

Core Video Creation

Video Customization

Advanced Features

Integration