What problem does it solve?
Provide a unified, documented workflow for creating avatar-driven and prompt-based videos using the HeyGen API, reducing friction around authentication, asset uploads, status polling, and integration into composition pipelines. The skill consolidates guidance for both one-shot Video Agent prompts and the more precise v2 avatar/photo workflows so agents and engineers can produce publishable videos reliably. Note: this entry is deprecated in favor of more focused skills like create-video and avatar-video, but retains full reference material for backward compatibility.
Core Features & Use Cases
- Automated video generation via HeyGen Video Agent or v2 video generation for multi-scene control.
- Asset upload and management for backgrounds, talking photos, and audio; photo-avatar (Avatar IV) workflows and template-based batch generation.
- Status polling, quota checks, webhooks, and Remotion integration for composing or rendering final video outputs.
- Use Case: programmatically generate a 90s product demo using an avatar, upload a branded background, poll until completion, download the MP4, and incorporate it into a Remotion composition.
Quick Start
Generate a 60-second avatar video using an optimized prompt, ensure HEYGEN_API_KEY is set in your environment, and poll the returned video_id for completion to retrieve the final video URL.