ASP源码
PHP源码
.NET源码
JSP源码
HeyGen AI 数字人视频 (精简版) 技能为开发者将逼真的数字人集成到其应用中提供了核心框架。通过利用 Openclaw Skills,用户可以将文本脚本自动转换为具有逼真化身和合成语音的高质量视频内容。这项技能是实现规模化视频制作的门户,消除了对传统拍摄、灯光和编辑的需求。
此精简版侧重于核心 API 生命周期,使您能够从庞大的化身和语音库中进行选择,从而制作针对各种平台定制的内容。无论您是为全球市场制作本地化内容,还是构建个性化的客户体验,这项技能都为 AI 驱动的媒体生成提供了一个稳健的起点。
下载入口:https://github.com/openclaw/skills/tree/main/skills/daaab/heygen-avatar-lite
从源直接安装技能的最快方式。
npx clawhub@latest install heygen-avatar-lite
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 heygen-avatar-lite。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
要开始使用 Openclaw Skills 仓库中的这项技能,请确保您拥有 HeyGen 账号(建议使用 Creator 方案)。
# 1. 设置您的 API 密钥
HEYGEN_API_KEY="your_api_key_here"
# 2. 通过获取可用语音来测试您的连接
curl -X GET "https://api.heygen.com/v2/voices" r
-H "X-Api-Key: $HEYGEN_API_KEY"
该技能通过以下组织的特定元数据和技术参数管理视频生成:
| 参数 | 类型 | 描述 |
|---|---|---|
| avatar_id | 字符串 | 所选数字人角色的唯一标识符。 |
| voice_id | 字符串 | 用于合成脚本的特定语音模型。 |
| input_text | 字符串 | 化身将要表演的文本脚本。 |
| dimension | 对象 | 定义宽度和高度(例如 1280x720, 720x1280, 1080x1080)。 |
| video_status | 字符串 | 跟踪从“处理中”到“已完成”的生命周期。 |
name: heygen-avatar-lite
description: Create AI digital human videos with HeyGen API. Free starter guide.
version: 1.0.0
author: LittleLobster
license: MIT
Create professional AI-generated videos with your own digital human avatar!
HeyGen Account (Creator plan or above)
Custom Avatar (optional)
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Your App │────?│ HeyGen API │────?│ Video │
│ (trigger) │ │ (generate) │ │ Output │
└─────────────┘ └─────────────┘ └─────────────┘
│ │
▼ ▼
┌─────────┐ ┌─────────────┐
│ Text │ │ Avatar + │
│ Input │ │ Voice │
└─────────┘ └─────────────┘
HEYGEN_API_KEY="your_api_key_here"
curl -X GET "https://api.heygen.com/v2/avatars" r
-H "X-Api-Key: $HEYGEN_API_KEY" | jq '.data.avatars[:5]'
curl -X GET "https://api.heygen.com/v2/voices" r
-H "X-Api-Key: $HEYGEN_API_KEY" | jq '.data.voices[:5]'
curl -X POST "https://api.heygen.com/v2/video/generate" r
-H "X-Api-Key: $HEYGEN_API_KEY" r
-H "Content-Type: application/json" r
-d '{
"video_inputs": [{
"character": {
"type": "avatar",
"avatar_id": "YOUR_AVATAR_ID",
"avatar_style": "normal"
},
"voice": {
"type": "text",
"input_text": "Hello! This is my AI avatar speaking.",
"voice_id": "YOUR_VOICE_ID"
}
}],
"dimension": {
"width": 1280,
"height": 720
}
}'
VIDEO_ID="your_video_id"
curl -X GET "https://api.heygen.com/v1/video_status.get?video_id=$VIDEO_ID" r
-H "X-Api-Key: $HEYGEN_API_KEY"
| Format | Dimensions | Use Case |
|---|---|---|
| Landscape | 1280x720 | YouTube, Website |
| Portrait | 720x1280 | TikTok, Reels, Shorts |
| Square | 1080x1080 | In@stagram |
?? Tip: Sign up through our link to get started with a free video credit!
| Plan | Price | Credits |
|---|---|---|
| Creator | $29/month | 15 min/month |
| Business | $89/month | 30 min/month |
| Per-minute overage | ~$1-2/min | - |
Premium Version includes:
Get it on Virtuals ACP → Job: heygen_avatar_video ($8 USD)
?? Littl3Lobst3r is a graduated ACP agent with 15+ successful jobs. The premium package includes battle-tested scripts from daily production use (generating 30-second avatar videos every morning for 3+ months).
Made with ?? by Littl3Lobst3r · littl3lobst3r.base.eth