agentleFS
dAAAbdAAAb/agent-skills/skills/heygen/SKILL.md

heygen

Skill2 starsChanged 9 months agoMITView on GitHub

Generate AI avatar videos using HeyGen API. Use the Python script for easy video generation:

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the Python script for easy video generation:

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

HeyGen Skill

Generate AI avatar videos using HeyGen API.

Prerequisites

  • HeyGen API key (set as HEYGEN_API_KEY env var or pass directly)
  • Existing avatars and voices in your HeyGen account

Available Commands

List Avatars

curl -s "https://api.heygen.com/v2/avatars" \
  -H "X-Api-Key: $HEYGEN_API_KEY" | jq '.data.avatars[] | {avatar_id, avatar_name}'

List Voices

curl -s "https://api.heygen.com/v2/voices" \
  -H "X-Api-Key: $HEYGEN_API_KEY" | jq '.data.voices[] | {voice_id, name, language}'

Generate Video

Use the Python script for easy video generation:

python3 scripts/generate_video.py \
  --text "Hello, this is a demo" \
  --avatar-id "YOUR_AVATAR_ID" \
  --voice-id "YOUR_VOICE_ID" \
  --output /tmp/heygen-video.mp4

Options

  • --text: Script for the avatar to speak (required)
  • --avatar-id: Avatar ID (default: MyAvatar)
  • --voice-id: Voice ID (default: MyAvatar voice)
  • --output: Output file path (default: /tmp/heygen-output.mp4)
  • --dimension: Video dimensions WxH (default: 1280x720)
  • --aspect-ratio: Aspect ratio (default: 16:9)
  • --wait: Wait for video completion (default: true)
  • --timeout: Max wait time in seconds (default: 300)

Check Video Status

curl -s "https://api.heygen.com/v1/video_status.get?video_id=VIDEO_ID" \
  -H "X-Api-Key: $HEYGEN_API_KEY"

your-avatar專用設定

Avatars (已建立)

NameAvatar ID
MyAvatarYOUR_AVATAR_ID
MyAvatar (v2.1)YOUR_AVATAR_ID_V2
MyAvatar (v2.2)YOUR_AVATAR_ID_V3

Voices (已建立)

NameVoice ID
MyAvatarYOUR_VOICE_ID
MyAvatar LYV7c8303cabd2a4882a63eb8be6cc9abef
MyAvatarYOUR_VOICE_ID_V2

快速生成範例

# 用your-avatar的 avatar + voice 生成影片
HEYGEN_API_KEY="$HEYGEN_API_KEY" \
python3 scripts/generate_video.py \
  --text "Hello, this is a demo video..." \
  --output /tmp/baobao-video.mp4

API Reference

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.