← 返回
效率工具 中文

Piper TTS

Local text-to-speech using Piper for voice message delivery. Use when the user asks for voice responses, audio messages, TTS, text-to-speech, voice notes, or...
使用Piper进行本地文字转语音,用于语音消息发送。当用户请求语音回复、音频消息、TTS、文字转语音或语音笔记时使用。
bewareofddog
效率工具 clawhub v1.0.1 1 版本 99778.8 Key: 无需
★ 0
Stars
📥 1,353
下载
💾 16
安装
1
版本
#latest

概述

Piper TTS — Local Voice Messages

Generate voice messages using Piper, a fast local TTS engine. Zero cloud calls, zero cost, zero API keys.

Setup

If Piper is not installed, run the setup script:

scripts/setup-piper.sh

This installs piper-tts via pip and downloads a default voice (en_US-kusal-medium).

Generating Voice Messages

Use scripts/piper-speak.sh to generate and deliver voice:

scripts/piper-speak.sh "<text>" [voice]
  • text: The text to speak (required)
  • voice: Piper voice name (default: en_US-kusal-medium)

The script outputs an MP3 path. Include it in your reply as:

[[audio_as_voice]]
MEDIA:<path-to-mp3>

This delivers the audio as a native voice message on supported channels (Telegram, Discord, etc.).

Example Workflow

  1. User asks: "Tell me a joke as audio"
  2. Run: scripts/piper-speak.sh "Why do programmers prefer dark mode? Because light attracts bugs!"
  3. Get MP3 path from output
  4. Reply with [[audio_as_voice]] + MEDIA:

Available Voices

After setup, download additional voices:

scripts/setup-piper.sh --voice en_US-ryan-high
scripts/setup-piper.sh --voice en_GB-northern_english_male-medium

Popular voices:

  • en_US-kusal-medium — Clear male voice (default, recommended)
  • en_US-ryan-high — High quality US male
  • en_US-hfc_male-medium — US male
  • en_GB-northern_english_male-medium — British male
  • Browse all: https://huggingface.co/rhasspy/piper-voices

Important Notes

  • Speed: Local generation is ~0.5-1s. Much faster than cloud TTS.
  • No API keys: Works completely offline after setup.
  • Platform: macOS (Apple Silicon + Intel), Linux. Requires Python 3.9+.
  • Do NOT set messages.tts.auto: "always" in OpenClaw config — it makes every response slow. Keep TTS on-demand.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 08:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

ClawTime Setup

bewareofddog
安装、配置、启动并排查 ClawTime —— 一款支持密钥认证(Face ID)、Piper TTS 语音和 3D 头像的 OpenClaw 私有自托管网页聊天界面。
★ 0 📥 1,011
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,458
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,797