Community程式設計與開發github.com

planetis-m/tts-tool

一個終端文字轉語音(TTS)工具,支援多種語言與語音引擎。

tts-tool 是什麼?

planetis-m/tts-tool 是一個專為開發者與進階使用者設計的指令列文字轉語音工具。它支援多種 TTS 引擎(如 eSpeak、Festival、Microsoft SAPI 等),並提供靈活的參數調整,包括語速、音高、音量及語音選擇。此工具可跨平台運作於 Linux、macOS 與 Windows,適合整合到腳本、自動化流程或 CLI 應用程式中。透過其簡潔的指令介面,使用者能快速將文字轉換為語音輸出,而無需依賴圖形介面,大幅提升開發與測試效率。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add planetis-m/tts-tool

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

tts-tool 是做什麼的?

planetis-m/tts-tool 是一個指令列工具,用於將文字轉換為語音。

功能特色

  • 支援多種 TTS 引擎(eSpeak、Festival、Microsoft SAPI 等)
  • 可調整語速、音高、音量
  • 選擇不同的語音
  • 跨平台支援(Linux、macOS、Windows)

安裝

請參考 planetis-m/tts-tool 官方儲存庫 以取得安裝說明。

使用方式

tts-tool "Hello, world!"

或指定引擎與語音:

tts-tool --engine espeak --voice en "Hello, world!"

選項

  • --engine:指定 TTS 引擎(espeak、festival、sapi)
  • --voice:選擇語音
  • --rate:設定語速(字數/分鐘)
  • --pitch:調整音高
  • --volume:調整音量

授權

此專案採用 MIT 授權條款。

相關技能