
HeyGen Video Generation
FreeCreate talking-head videos and presentations effortlessly.
Free · Opens the source repo
What HeyGen Video Generation does
HeyGen is an API designed for generating talking-head videos, explainers, and presentations. It allows users to create videos from text prompts or with specific avatars, voices, and scenes. While this skill is deprecated, it serves as a legacy tool for those who may have previously relied on it. Users are encouraged to transition to the more focused skills, create-video for general video generation and avatar-video for detailed avatar and scene control.
The HeyGen API supports video creation through both direct HTTP API calls and MCP (Managed Cloud Platform) tools, which simplify authentication and request formatting. For most tasks, the MCP tools are recommended as they streamline the process of generating videos from prompts, checking video statuses, and managing account videos. The API allows for the generation of videos with various visual styles and the addition of text overlays and captions, making it versatile for different video production needs.
This skill is particularly useful for developers and designers looking to automate video creation processes, whether for marketing, education, or content development. The API provides comprehensive reference files that guide users through authentication, prompt optimization, and video customization, ensuring that users can effectively utilize the tool to meet their specific requirements. However, as this skill is deprecated, users should prepare to migrate to the newer, more focused skills to ensure continued support and functionality.
When to use it
Use this skill when you need to generate videos quickly from prompts or require specific avatar and scene configurations for your projects.
When not to use it
Avoid this skill for new projects, as it is deprecated and will be removed in future releases; consider using `create-video` or `avatar-video` instead.
What you can build with it
Automating Marketing Videos
Use the HeyGen API to generate promotional videos from text prompts, streamlining your marketing efforts.
Creating Educational Content
Educators can create engaging explainers and presentations using the API, enhancing their teaching materials.
Generating Personalized Avatars
Developers can utilize the API to create videos featuring specific avatars, voices, and scenes tailored to user preferences.
How to install HeyGen Video Generation
View source1. Install with the skills CLI
npx skills add calesthio/openmontage/heygen --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by calesthioHeyGen API (Deprecated)
This skill is deprecated. Use the focused skills instead:
create-video— Generate videos from a text prompt (Video Agent API)avatar-video— Build videos with specific avatars, voices, scripts, and scenes (v2 API)
This skill remains for backward compatibility but will be removed in a future release.
AI avatar video creation API for generating talking-head videos, explainers, and presentations.
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) |
|---|---|---|
| Generate video from prompt | mcp__heygen__generate_video_agent | POST /v1/video_agent/generate |
| 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} |
If no HeyGen MCP tools are available, use direct HTTP API calls with X-Api-Key: $HEYGEN_API_KEY header as documented in the reference files.
Default Workflow
Prefer Video Agent for most video requests. Always use prompt-optimizer.md guidelines to structure prompts with scenes, timing, and visual styles.
With MCP tools:
- Write an optimized prompt using prompt-optimizer.md → visual-styles.md
- Call
mcp__heygen__generate_video_agentwith prompt and config (duration_sec, orientation, avatar_id) - Call
mcp__heygen__get_videowith the returned video_id to poll status and get the download URL
Without MCP tools (direct API):
- Write an optimized prompt using prompt-optimizer.md → visual-styles.md
POST /v1/video_agent/generate— see video-agent.mdGET /v2/videos/<id>— see video-status.md
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 | MCP Tool | Read |
|---|---|---|
| Generate video from prompt (easy) | mcp__heygen__generate_video_agent | prompt-optimizer.md → visual-styles.md → video-agent.md |
| Generate video with precise control | — | video-generation.md, avatars.md, voices.md |
| Check video status / get download URL | mcp__heygen__get_video | video-status.md |
| Add captions or text overlays | — | captions.md, text-overlays.md |
| Transparent video for compositing | — | video-generation.md (WebM section) |
| Use with Remotion | — | remotion-integration.md |
Reference Files
Foundation
- references/authentication.md - API key setup and X-Api-Key header
- references/quota.md - Credit system and usage limits
- references/video-status.md - Polling patterns and download URLs
- references/assets.md - Uploading images, videos, audio
Core Video Creation
- references/avatars.md - Listing avatars, styles, avatar_id selection
- references/voices.md - Listing voices, locales, speed/pitch
- references/scripts.md - Writing scripts, pauses, pacing
- references/video-generation.md - POST /v2/video/generate and multi-scene videos
- references/video-agent.md - One-shot prompt video generation
- references/prompt-optimizer.md - Writing effective Video Agent prompts (core workflow + rules)
- references/visual-styles.md - 20 named visual styles with full specs
- references/prompt-examples.md - Full production prompt example + ready-to-use templates
- references/dimensions.md - Resolution and aspect ratios
Video Customization
- references/backgrounds.md - Solid colors, images, video backgrounds
- references/text-overlays.md - Adding text with fonts and positioning
- references/captions.md - Auto-generated captions and subtitles
Advanced Features
- references/templates.md - Template listing and variable replacement
- references/photo-avatars.md - Creating avatars from photos
- references/webhooks.md - Webhook endpoints and events
Integration
- references/remotion-integration.md - Using HeyGen in Remotion compositions
Frequently asked questions about HeyGen Video Generation
Similar skills
WinMD API Search
Easily find and explore Windows desktop APIs.
WebMCPify
Transform any web app into an agent-ready platform.
Phoenix Tracing
Instrument LLM applications with OpenInference tracing.
Foundry Hosted Agent CopilotKit
Guidance for developing agentic web apps on Azure.
Power Automate Foundation
Connect AI agents to Power Automate seamlessly.
Power Automate Flow Builder
Efficiently build and deploy Power Automate flows programmatically.
