
HeyGen Claude 代码头像生成视频技能。批处理、模板、翻译、照片头像、TTS。仅标准库的 Python。
概览
制作级Claude Code技能,用于AI头像对话视频生成,由HeyGen REST API驱动。 填补了HeyGen 11项官方技能的空白:批处理生成、模板变量注入、照片到头像流水线、信用估算、webhook管理以及可崩溃恢复的编排。 在 app.heygen.com 注册,然后去创建密钥。按需付费从最低5美元余额开始。 安装程序:- 检查 Python 3.8+ 是否可用 - 将技能符号链接到 ~/.claude/skills/lipnardo/ - 创建 ~/Documents/lipnardo_videos/ 输出 - 可选地将你的 API 密钥写入 ~/.heygen/config.json(chmod 600) “生成一段30秒的头像视频,内容是:欢迎来到Acme工业” - , ~3,500 行,(零点数安装) - : 视频代理(v3)、Studio(v2)、模板 - 支持并发限制、重试、指数退还和可崩溃恢复的清单 - 价格为 ~/.heygen/cost。
概述(AI 翻译)
制作级Claude Code技能,用于AI头像对话视频生成,由HeyGen REST API驱动。
填补了HeyGen 11项官方技能的空白:批处理生成、模板变量注入、照片到头像流水线、信用估算、webhook管理以及可崩溃恢复的编排。
快速开始(2分钟)
步骤1:获取HeyGen API密钥
在 app.heygen.com 注册,然后进入设置→API并创建密钥。按使用付费最低余额为5美元。
步骤2:下载并安装
Windows (PowerShell):
安装人员:
- 检查 Python 3.8+ 可用
- 将技能与[[T0]进行符号链接]
- 为输出创建
~/Documents/lipnardo_videos/ - 可选地将你的API密钥写入
~/.heygen/config.json(chmod 600)
第三步:制作视频
打开Claude代码并说:
“生成一段30秒的头像视频,内容是:欢迎来到Acme工业”
或者直接使用命令:
你能做什么
| 说这个… | 发生了什么 |
|---|---|
| “生成一个说X的头像视频” | AI视频代理创建它(v3端点) |
| “用这个脚本制作多场景视频” | 演播室模式(最多50个场景) |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
lipnardo
Production-grade Claude Code skill for AI avatar talking-head video generation, powered by the HeyGen REST API.
Fills the gaps in HeyGen’s 11 official skills: batch generation, template variable injection, photo-to-avatar pipeline, credit estimation, webhook management, and crash-recoverable orchestration.
Quick Start (2 minutes)
Step 1: Get a HeyGen API key
Sign up at app.heygen.com, then go to Settings → API and create a key. Pay-as-you-go starts at a $5 minimum balance.
Step 2: Download and install
git clone https://github.com/AgriciDaniel/lipnardo.git
cd lipnardo
bash install.sh
Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File .\install.ps1
The installer:
- Checks Python 3.8+ is available
- Symlinks the skill into
~/.claude/skills/lipnardo/ - Creates
~/Documents/lipnardo_videos/for output - Optionally writes your API key to
~/.heygen/config.json(chmod 600)
Step 3: Make videos
Open Claude Code and say:
“Generate a 30-second avatar video saying: Welcome to Acme Industries”
Or use the command directly:
/lipnardo generate --prompt "A professional explaining quarterly results" --aspect-ratio 16:9
What You Can Do
| Say this… | What happens |
|---|---|
| “Generate an avatar video saying X” | AI Video Agent creates it (v3 endpoint) |
| “Make a multi-scene video from this script” | Studio mode (up to 50 scenes) |
| “Generate 100 personalized videos from this CSV” | Batch mode with 3-concurrent queue |
| “Translate this video to Spanish with lip-sync” | v3 translation, speed or precision mode |
| “Turn this photo into a talking avatar” | Full Photo Avatar IV training pipeline |
| “Convert this text to speech” | Starfish TTS engine |
| “How much will this cost?” | Pre-flight cost estimation |
| “Download video XYZ before the URL expires” | Local download with retry |
Features
- 12 production scripts, ~3,500 lines, stdlib-only (zero
pip install) - 3 generation modes: Video Agent (v3), Studio (v2), Template
- Batch orchestration with concurrent limit, retry, exponential backoff, and crash-recoverable manifests
- Cost ledger at
~/.heygen/costs.json(chmod 600, atomic writes) - Translation with
speedorprecisionmode (v3 endpoint) - Photo Avatar IV pipeline: upload → group → train → generate
- Webhook management for async generation
- Security-hardened: SSRF guards, batch financial caps, ID sanitization
Requirements
- Claude Code — Get it here (CLI, Desktop, or VS Code extension)
- Python 3.8+ — stdlib only, no extra packages required
- HeyGen API key — free signup, $5 minimum balance for first paid generation
- Internet — videos are generated on HeyGen’s servers, then downloaded locally
Pricing
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add agricidaniel/lipnardo