text-to-speech
text-to-speech — a Claude Code skill from heygen-com/skills
Features
- ✓Curated collection of text-to-speech — a claude code skill from heygen-com/skills resources
- ✓Covers a wide range of tools across multiple categories
- ✓Community-maintained and regularly updated
- ✓Browse the [GitHub repository](https://github.com/heygen-com/skills) for the complete list
Installation Guide
Install HeyGen Skills from https://github.com/heygen-com/skills — clone the repo into your skills directory. Install the HeyGen CLI from https://static.heygen.ai/cli/install.sh and export HEYGEN_API_KEY=<your-key> (get one at https://app.heygen.com/api). Or, if you're on a HeyGen plan and already have MCP connected to your agent, skip the key step — MCP will be used automatically. Then use heygen-avatar and heygen-video to bring yourself to life — create your own avatar and make a short cinematic intro video of yourself introducing who you are. Ask me what you need before starting.Or follow the steps below manually.
Step 1 — Clone into your skills directory
Detect which agent you are and clone to the right path:
| Agent | Install path |
|-------|-------------|
| Claude Code | ~/.claude/skills/heygen-skills |
| OpenClaw | ~/.openclaw/workspace/skills/heygen-skills |
| ClawHub | Run clawhub install heygen-skills and skip to Step 2 |
| Other | Clone anywhere your agent loads skills from |
git clone --single-branch --depth 1 https://github.com/heygen-com/skills.git <install-path>/heygen-skillsStep 2 — Get your HeyGen API key
Step 3 — Install the HeyGen CLI
One-line install (macOS / Linux):
curl -fsSL https://static.heygen.ai/cli/install.sh | bashThen set your API key:
export HEYGEN_API_KEY=<your-key>That's ephemeral (current shell only). To persist across sessions, add export HEYGEN_API_KEY=<your-key> to your shell profile (~/.zshrc, ~/.bashrc, or equivalent).
Verify:
heygen --version
heygen auth statusThe HeyGen CLI is a single static binary. No runtime deps.
Alternative: MCP (OAuth, no API key)
If you prefer OAuth and already have a HeyGen plan with credits, connect the remote MCP server instead of setting an API key. The skills will auto-detect MCP when no HEYGEN_API_KEY is set.
Claude Code:
claude mcp add --transport http heygen https://mcp.heygen.com/mcp/v1/OpenClaw: add to ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"heygen": { "url": "https://mcp.heygen.com/mcp/v1/" }
}
}
}The first call triggers an OAuth consent flow in your browser.
Priority: If HEYGEN_API_KEY is set, the skills use the CLI. Otherwise they look for MCP tools. Set the key only if you want direct API access; otherwise use MCP.Step 4 — Create your avatar
Ask the user for a photo (URL or file), then use the heygen-avatar skill:
Create my HeyGen avatar from this photo: [user's photo]
The skill uploads the photo, creates a persistent digital twin with a voice, and saves an AVATAR-<NAME>.md file for future use.
Step 5 — Make your first video
Use the heygen-video skill to generate an intro video with the avatar you just created:
Make a 30-60 second video of me introducing myself, casual tone.
The skill picks up the avatar automatically, writes a script, generates the video, and returns a share link.
That's it. You're set up. The avatar persists — every future video reuses it automatically.
---