Install
openclaw skills install @cxhcccvvvsder/lipvoice-ttsopenclaw skills install @cxhcccvvvsder/lipvoice-tts使用 LipVoice 企业 API 实现声音克隆和高质量文本转语音。需要企业会员 API Key。
配置 API Key(二选一):
LIPVOICE_API_KEY 为你的 API Key--api-key YOUR_KEY 参数传入脚本路径:scripts/lipvoice_tts.py(相对于本技能目录)
注意:Windows 下使用 py 命令启动 Python,Linux/macOS 使用 python3。
py scripts/lipvoice_tts.py list
查看已上传的所有声音模型及其ID,合成语音时需要用到 audio-id。
py scripts/lipvoice_tts.py upload --file <音频文件路径> --name "<模型名称>" [--describe "<描述>"]
py scripts/lipvoice_tts.py tts --text "<要合成的文本>" --audio-id <模型ID> [--style 1] [--output <输出路径.wav>]
--style: 合成模式
1: 参考原音频风格(默认,克隆效果更贴近原声)2: 大模型通用风格(更稳定)--output/-o: 自定义输出 wav 文件路径py scripts/lipvoice_tts.py delete --audio-id <模型ID>
list 查看已有模型,或用 upload 上传自己的参考音频创建模型tts 命令传入文本和模型ID,自动合成并下载到本地wav文件合成成功会返回:
已修复Windows控制台GBK编码问题,所有输出直接支持中文。