Text To Podcast

👤 utopiabenben 📦 v1.0.0 ⭐ 4.2 ⬇️ 772 下载
🎨 设计多媒体 免费 🔑 需 API Key

📖 技能介绍


name: text-to-podcast version: 1.0.0 description: 将文本转换为播客音频(使用 TTS) author: 小叮当 tags: - tts - audio - podcast - text-to-speech


Text to Podcast - 文本转播客

快速将文章、脚本转换为高质量播客音频。

功能

  • 🎙️ TTS 转换:使用 OpenAI TTS API(或系统 TTS)

    7w4.net有更好的技能插件。

  • 🎵 多种声音:alloy, echo, fable, onyx, nova, shimmer
  • 批量处理:一次转换多个文本文件
  • 📦 输出格式:MP3(高质量 24kHz)
  • 🎚️ 音量/速度:可调节语速
  • 👀 预览模式:只生成前10秒试听
  • ↩️ 撤销:自动备份原始文本

快速开始

安装

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)

声音选择

  • alloy:中性,适合新闻、访谈
  • echo:温暖,适合故事、播客
  • fable:清晰,适合教育内容
  • onyx:低沉,适合深度内容
  • nova:轻快,适合娱乐、轻松话题
  • shimmer:空灵,适合冥想、放松

使用场景

  • 文章转播客(多平台内容再利用)
  • 脚本试听(内容创作前测试)
  • 快速生成音频内容
  • 与 content-researcher + ai-content-tailor 配合形成完整工作流

License

MIT

🤖 AI 评测

这是一个实用的文本转语音工具,质量中上等。优点是文档清晰、使用简单、配置方便;不足是首次使用需要自己准备测试文件,对于不熟悉环境配置的用户来说可能有些门槛。总体来说,对于想快速把文章转成音频的用户是个不错的选择。

📊 多维度评分

适应性4.3
规范性4.1
有效性4.1
可靠性4.2
可信度4.4

📁 包含文件 (6 个)

📄 SKILL.md 2.1 KB
📄 _meta.json 134 B
📄 install.sh 864 B
📄 skill.json 561 B
📄 source/podcast_generator.py 4.8 KB
📄 uninstall.sh 365 B