piper-tts
Local text-to-speech using Piper ONNX voices - fast, private, no cloud needed.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- piper-tts
- metadata
- { "openclaw": { "emoji": "?", "requires": { "bins": [ "ffmpeg" ] } } }
- description
- Local text-to-speech using Piper ONNX voices - fast, private, no cloud needed.
02 资源文件 2
- 参考文档_meta.json293 B
- 脚本scripts/piper-tts.py8.5 KB
03 SKILL.md 正文
Local TTS (Piper)
Fast local text-to-speech using Piper ONNX voices. Runs entirely offline with no cloud dependencies. Supports multiple languages and voice styles.
Usage
# Default voice (en_US-amy-medium)
~/.openclaw/skills/piper-tts/scripts/piper-tts.py "Hello, how are you today?"
# Select a specific voice
~/.openclaw/skills/piper-tts/scripts/piper-tts.py "Guten Tag" -v de_DE-thorsten-medium
# Pipe text from stdin
echo "Read this aloud" | ~/.openclaw/skills/piper-tts/scripts/piper-tts.py -
# Custom output path and format
~/.openclaw/skills/piper-tts/scripts/piper-tts.py "Hello" -o greeting.mp3 -f mp3
# Adjust speaking rate and send to Matrix room
~/.openclaw/skills/piper-tts/scripts/piper-tts.py "Slow and steady" --rate 0.8 --room-id '!abc:matrix.org'
# List available downloaded voices
~/.openclaw/skills/piper-tts/scripts/piper-tts.py --list-voices
# Quiet mode (suppress progress)
~/.openclaw/skills/piper-tts/scripts/piper-tts.py "Hello" --quiet
Options
-v/--voice: Voice model name (default:en_US-amy-medium)-o/--output: Output file path (default: auto-generated in /tmp)-f/--format: Output format:wav,mp3,ogg(default:wav)--rate: Speaking rate multiplier, 0.5-2.0 (default: 1.0)--room-id: Matrix room ID to send audio to--list-voices: List downloaded voice models-q/--quiet: Suppress progress messages
Voices
Piper supports 900+ voices across 60+ languages. Voice models are auto-downloaded from HuggingFace on first use.
Popular voices
| Voice | Language | Quality |
|---|---|---|
en_US-amy-medium (default) |
English (US) | Medium |
en_US-lessac-high |
English (US) | High |
en_GB-alba-medium |
English (UK) | Medium |
de_DE-thorsten-medium |
German | Medium |
fr_FR-siwis-medium |
French | Medium |
es_ES-davefx-medium |
Spanish | Medium |
Benchmark
| Voice Quality | Synthesis Time (100 words) | RTF |
|---|---|---|
| Medium | ~0.3s | 0.04x |
| High | ~0.8s | 0.10x |
openclaw.json
{
"tools": {
"media": {
"tts": {
"enabled": true,
"models": [
{
"type": "cli",
"command": "~/.openclaw/skills/piper-tts/scripts/piper-tts.py",
"args": ["--quiet", "-f", "ogg", "-o", "{{OutputPath}}", "{{Text}}"],
"timeoutSeconds": 30
}
]
}
}
}
}
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.