快速将文章、脚本转换为高质量播客音频。
bash
clawhub install text-to-podcast
cd ~/.openclaw/workspace/skills/text-to-podcast
./install.sh
bash
export OPENAI_API_KEY="your-key"
bash
# 单个文件
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