TERMINAL
clawhub install text-to-podcast📖 About This Skill
name: text-to-podcast version: 1.0.0 description: 将文本转换为播客音频(使用 TTS) author: 小叮当 tags: - tts - audio - podcast - text-to-speech
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) |
声音选择
使用场景
License
MIT