Install
openclaw skills install huo15-comic-dub读 script.json 对白,按角色分配音色,调火山方舟 Seed-TTS 生成每条对白的 wav,命名 {sceneId}_{charId}_{idx}.wav。触发词:对白配音、TTS 配音、角色配音。
openclaw skills install huo15-comic-dub每条 dialogue → 一个 wav,角色音色固定。
python scripts/dub.py \
--script output/demo/script.json \
--out-dir output/demo/audio
输出:
audio/
├── S01_C1_0.wav
├── S02_C1_0.wav
├── S02_C2_0.wav
├── ...
└── manifest.json
zh_male_qingnian(青年)/ zh_male_shenchen(沉稳) / zh_male_wennuan(温暖)zh_female_qingxin(清新)/ zh_female_wenrou(温柔) / zh_female_ganxing(感性)若 script.json 的 character.voice 为空,按角色 age/personality 自动分配。
字数 × ¥0.0008/字。200 字对白 ≈ ¥0.16。