New to Claude Skills? Learn how to install them →

calesthio on GitHub

HeyGen Video Generation

Free

Create talking-head videos and presentations effortlessly.

Get this skill

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 source

1. Install with the skills CLI

npx skills add calesthio/openmontage/heygen --agent claude-code

2. 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 calesthio

HeyGen 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.

TaskMCP ToolFallback (Direct API)
Generate video from promptmcp__heygen__generate_video_agentPOST /v1/video_agent/generate
Check video status / get URLmcp__heygen__get_videoGET /v2/videos/{video_id}
List account videosmcp__heygen__list_videosGET /v2/videos
Delete a videomcp__heygen__delete_videoDELETE /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:

  1. Write an optimized prompt using prompt-optimizer.mdvisual-styles.md
  2. Call mcp__heygen__generate_video_agent with prompt and config (duration_sec, orientation, avatar_id)
  3. Call mcp__heygen__get_video with the returned video_id to poll status and get the download URL

Without MCP tools (direct API):

  1. Write an optimized prompt using prompt-optimizer.mdvisual-styles.md
  2. POST /v1/video_agent/generate — see video-agent.md
  3. GET /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

TaskMCP ToolRead
Generate video from prompt (easy)mcp__heygen__generate_video_agentprompt-optimizer.mdvisual-styles.mdvideo-agent.md
Generate video with precise controlvideo-generation.md, avatars.md, voices.md
Check video status / get download URLmcp__heygen__get_videovideo-status.md
Add captions or text overlayscaptions.md, text-overlays.md
Transparent video for compositingvideo-generation.md (WebM section)
Use with Remotionremotion-integration.md

Reference Files

Foundation

Core Video Creation

Video Customization

Advanced Features

Integration

Frequently asked questions about HeyGen Video Generation

Similar skills