Install
openclaw skills install @xiaoxiaole2025/volc-digital-human火山引擎数字人视频生成技能。当用户发送照片并提供对白或配音文案,要求生成数字人口播视频时触发。全自动完成:图片上传、形象创建、TTS配音(自动性别检测、多音色匹配)、视频合成、最后发回给用户。触发词包括数字人、视频合成、口播视频、数字人视频。
openclaw skills install @xiaoxiaole2025/volc-digital-humanThis skill requires Volcengine Access Key (AK) and Secret Key (SK).
Option 1: Config file (recommended)
Create config.json (in the skill directory):
{
"ak": "your_access_key_here",
"sk": "your_secret_key_here"
}
Option 2: Environment variables
export VOLC_AK="your_access_key_here"
export VOLC_SK="your_secret_key_here"
⚠️ Security: Never hardcode AK/SK in scripts or commit to public repos!
This skill uploads images and generated audio/video to third-party file hosts (catbox.moe, 0x0.st) to create publicly accessible URLs required by the Volcengine API.
/root/.openclaw/media/inbound/realman_avatar_picture_create_role APIrealman_avatar_picture_v2 API, poll for resultmessage toolcd /root/.openclaw/workspace-employee-xiaozhua
python3 skills/volc-digital-human/scripts/volc_digital_human.py "$image_path" "$dialog_text" [gender]
Parameters:
image_path: Image path, None=auto-fetch latest imagedialog_text: Script/dialog contentgender: Optional, male|female|None (auto-detect)| Detected Gender | Human Voice | Cartoon Voice |
|---|---|---|
| female | zh-CN-XiaoxiaoNeural (natural female) | zh-CN-XiaoyiNeural (lively female) |
| male | zh-CN-YunxiNeural (sunny male) | zh-CN-YunxiaNeural (cute male) |
| unknown | zh-CN-XiaoxiaoNeural (default female) | zh-CN-XiaoyiNeural |
Manual override:
See references/volc_api.md
| Parameter | Description |
|---|---|
image_url | Public URL (required), uploaded to file host |
audio_url | Public URL for audio MP3 (required) |
resource_id | Avatar ID returned after creation, can be reused |
req_key | create=realman_avatar_picture_create_role, synthesize=realman_avatar_picture_v2 |
zh-CN-XiaoyiNeural as default| Error Code | Meaning | Solution |
|---|---|---|
50430 | Rate limit | Wait 1-5 min, retry |
50207 | Image decode error | Use jpg/png format |
401 | AK/SK error | Check credentials |