Install
openclaw skills install text-to-podcast将文本转换为播客音频(使用 TTS)
openclaw skills install text-to-podcast快速将文章、脚本转换为高质量播客音频。
clawhub install text-to-podcast
cd ~/.openclaw/workspace/skills/text-to-podcast
./install.sh
export OPENAI_API_KEY="your-key"
# 单个文件
text-to-podcast convert script.md --voice alloy --output podcast.mp3
# 批量
text-to-podcast batch ./scripts/ --output ./podcasts/
# 预览(10秒)
text-to-podcast convert script.md --preview
# 调整语速
text-to-podcast convert script.md --speed 1.2
| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
input | 路径 | 是 | 输入文本文件 |
--voice | 选项 | 否 | 声音:alloy/echo/fable/onyx/nova/shimmer(默认:alloy) |
--output | 路径 | 否 | 输出MP3文件 |
--speed | 浮点数 | 否 | 语速倍数(0.5-2.0,默认:1.0) |
--preview | 布尔 | 否 | 预览模式(只生成前10秒) |
--model | 选项 | 否 | TTS 模型:tts-1/tts-1-hd(默认:tts-1) |
MIT