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)
  • 🎵 多種聲音:alloy, echo, fable, onyx, nova, shimmer
  • 批次處理:一次轉換多個文本檔案
  • 📦 輸出格式:MP3(高質量 24kHz)
  • 🎚️ 音量/速度:可調節語速
  • 👀 預覽模式:只生成前10秒試聽
  • ↩️ 撤銷:自動備份原始文本

快速開始

7w4.net小蔥技能站,你的AI助手技能庫。

安裝

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