火山引擎数字人视频生成技能。用户上传照片并提供对白或配音文案后,系统自动完成形象创建、TTS配音(性别检测与多音色匹配)及视频合成,并将结果返回。触发词:数字人、视频合成、口播视频、数字人视频。
This skill requires Volcengine Access Key (AK) and Secret Key (SK).
Option 1: Config file (recommended)
Create config.json (in the skill directory):
json
{
"ak": "your_access_key_here",
"sk": "your_secret_key_here"
}
Option 2: Environment variables
bash
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 toolbash
cd /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 GenderHuman VoiceCartoon Voicefemalezh-CN-XiaoxiaoNeural (natural female)zh-CN-XiaoyiNeural (lively female)malezh-CN-YunxiNeural (sunny male)zh-CN-YunxiaNeural (cute male)unknownzh-CN-XiaoxiaoNeural (default female)zh-CN-XiaoyiNeural
Manual override:
See references/volc_api.md
ParameterDescriptionimage_urlPublic URL (required), uploaded to file hostaudio_urlPublic URL for audio MP3 (required)resource_idAvatar ID returned after creation, can be reusedreq_keycreate= realman_avatar_picture_create_role, synthesize= realman_avatar_picture_v2
zh-CN-XiaoyiNeural as defaultError CodeMeaningSolution50430Rate limitWait 1-5 min, retry50207Image decode errorUse jpg/png format401AK/SK errorCheck credentials