heygen
HeyGen avatar and talking-head video: prompt-to-video agent, multi-scene avatar video, status polling, avatar and voice lists. Trigger phrases: heygen, avatar…
by gabrielmoreira★ 23 GitHub stars
Install heygen in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
HeyGen
Purpose
Generate talking-head and avatar videos with HeyGen's self-serve API: one-shot prompt-to-video via the Video Agent, or multi-scene avatar videos assembled from stock or custom avatars and voices. The best self-serve avatar-video path in the catalog; translation/dubbing endpoints also exist. Use when Michael wants presenter-style or explainer videos.
Tooling
All commands go through bin/heygen.py:
bin/heygen.py auth # verify the API key (free)
bin/heygen.py avatars --limit 25 # list stock avatars (custom avatar IDs come from the app)
bin/heygen.py voices --limit 25 # list voices
bin/heygen.py video-agent --prompt "Explain compounding in 30 seconds" # one-shot prompt-to-video
bin/heygen.py video-generate --json '{"avatar_id": "...", "voice_id": "...", "script": "..."}' # multi-scene
bin/heygen.py video-status --video-id <video_id> # poll until completed
video-agent takes a plain prompt. video-generate needs the full multi-scene spec as --json (avatar_id, voice_id, script or scenes, per HeyGen's docs). Both print a video_id; poll video-status until completed, then download the MP4.
Auth
- Provider id:
heygen(credential is collected ascustom.heygen) - Collection: API key via the secure credential flow (
credentials.request_api_access); created at app.heygen.com/api - Allowed hosts:
api.heygen.com - Status check:
bin/heygen.py auth(must return"ok": true). The key is sent verbatim as theX-Api-Keyheader.
Operating Rules
- COST WARNING: API usage is separately metered and billed from plan credits. Do not assume the plan quota applies; generations here spend API balance.
- Confirm with Michael before every
video-agentandvideo-generatecall. Renders take 2-5 minutes; poll with backoff. - Custom avatars cost $99 one-time with a 24-48h turnaround. Order them in the HeyGen app; the API cannot create them. Confirm before ordering one.
- Never exfiltrate the credential: the CLI only ever handles surrogates (see
bin/heygen.py). Do not print, log, or transmit the key value.
Files
- SKILL.md
- bin/heygen.py
Maturity
🧪 Draft: written from HeyGen's public API docs via the research dossier; not yet live-tested end-to-end.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the heygen skill do?
HeyGen avatar and talking-head video: prompt-to-video agent, multi-scene avatar video, status polling, avatar and voice lists. Trigger phrases: heygen, avatar video, talking head video, video agent.
How do I install the heygen skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the heygen skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…