3.0kโ
by hopyky
tts-whatsapp โ OpenClaw Skill
tts-whatsapp is an OpenClaw Skills integration for design workflows. Send high-quality text-to-speech voice messages on WhatsApp in 40+ languages with automatic delivery
Skill Snapshot
| name | tts-whatsapp |
| description | Send high-quality text-to-speech voice messages on WhatsApp in 40+ languages with automatic delivery OpenClaw Skills integration. |
| owner | hopyky |
| repository | hopyky/tts-whatsapp |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @hopyky/tts-whatsapp |
| last updated | Feb 7, 2026 |
Maintainer

name: tts-whatsapp version: 1.0.0 description: Send high-quality text-to-speech voice messages on WhatsApp in 40+ languages with automatic delivery user-invocable: true disable-model-invocation: false tags:
- tts
- voice
- messaging
- multilingual
- audio author: Community repository: https://github.com/clawdbot/clawdhub
๐๏ธ TTS WhatsApp - Voice Messages in 40+ Languages
Send high-quality text-to-speech voice messages on WhatsApp with automatic delivery. Supports 40+ languages, personal messages, and group broadcasts.
โจ Features
- ๐๏ธ High-quality TTS powered by Piper (40+ languages)
- ๐ต Automatic conversion to OGG/Opus (WhatsApp format)
- ๐ค Automatic sending via Clawdbot
- ๐ฅ Group support - Send to individuals or WhatsApp groups
- ๐ Multi-language - French, English, Spanish, German, and 40+ more
- ๐งน Smart cleanup - Auto-delete files after successful send
- โก Fast - ~2-3s from command to delivery
๐ฆ Prerequisites
- Piper TTS:
pip3 install --user piper-tts - FFmpeg:
brew install ffmpeg(macOS) orapt install ffmpeg(Linux) - Voice models: Download from Hugging Face
- Place in
~/.clawdbot/skills/piper-tts/models/ - Example:
fr_FR-siwis-medium.onnx
- Place in
๐ Quick Start
Basic usage
tts-whatsapp "Hello, this is a test" --target "+15555550123"
Send to WhatsApp group
tts-whatsapp "Hello everyone" --target "120363257357161211@g.us"
Change language
tts-whatsapp "Hola mundo" --lang es_ES --voice carlfm --target "+34..."
Different quality levels
tts-whatsapp "High quality" --quality high --target "+1..."
๐ Supported Languages
- ๐ซ๐ท French (
fr_FR): siwis, upmc, tom - ๐ฌ๐ง English GB (
en_GB): alan, alba - ๐บ๐ธ English US (
en_US): lessac, amy, joe - ๐ช๐ธ Spanish (
es_ES,es_MX): carlfm, davefx - ๐ฉ๐ช German (
de_DE): thorsten, eva_k - ๐ฎ๐น Italian (
it_IT): riccardo - ๐ต๐น Portuguese (
pt_BR,pt_PT): faber - ๐ณ๐ฑ Dutch (
nl_NL): mls, rdh - ๐ท๐บ Russian (
ru_RU): dmitri, irina - And 30+ more!
๐ง Configuration
Configure in ~/.clawdbot/clawdbot.json:
{
"skills": {
"entries": {
"tts_whatsapp": {
"enabled": true,
"env": {
"WHATSAPP_DEFAULT_TARGET": "+15555550123",
"PIPER_DEFAULT_LANG": "en_US",
"PIPER_DEFAULT_VOICE": "lessac",
"PIPER_DEFAULT_QUALITY": "medium"
}
}
}
}
}
๐๏ธ All Options
--target NUMBER WhatsApp number or group ID
--message TEXT Text message with audio
--lang LANGUAGE Language (default: fr_FR)
--voice VOICE Voice name (default: auto)
--quality QUALITY x_low, low, medium, high
--speed SPEED Playback speed (default: 1.0)
--no-send Don't send automatically
๐ Performance
~2.3s total for a 10-second message:
- TTS generation: ~1s
- Format conversion: ~0.2s
- WhatsApp delivery: ~1s
๐ Full Documentation
See README.md for complete documentation, examples, and troubleshooting.
๐๏ธ TTS WhatsApp - Text-to-Speech Voice Messages
Send voice messages on WhatsApp with high-quality text-to-speech in 40+ languages.
โจ Features
- ๐๏ธ High-quality TTS powered by Piper (40+ languages)
- ๐ต Automatic conversion to OGG/Opus (WhatsApp format)
- ๐ค Automatic sending via Clawdbot
- ๐ฅ Group support - Send to individuals or WhatsApp groups
- ๐ Multi-language - French, English, Spanish, German, and 40+ more
- ๐งน Smart cleanup - Auto-delete files after successful send
- โก Fast - ~2-3s from command to delivery
๐ฆ Prerequisites
-
Piper TTS installed:
pip3 install --user piper-tts -
FFmpeg installed:
# macOS brew install ffmpeg # Linux apt install ffmpeg # or yum, pacman, etc. -
Piper voice models downloaded:
- Download from Hugging Face
- Place in
~/.clawdbot/skills/piper-tts/models/ - Default:
fr_FR-siwis-medium.onnx
๐ Quick Start
Basic usage (with environment variables)
tts-whatsapp "Hello, this is a test message"
Specify recipient
tts-whatsapp "Hello" --target "+15555550123"
Send to a WhatsApp group
tts-whatsapp "Hello everyone" --target "120363257357161211@g.us"
Change language
# English
tts-whatsapp "Hello world" --lang en_US --voice lessac
# Spanish
tts-whatsapp "Hola mundo" --lang es_ES --voice carlfm
# German
tts-whatsapp "Guten Tag" --lang de_DE --voice thorsten
Adjust voice quality
tts-whatsapp "High quality audio" --quality high
Generate without sending
tts-whatsapp "Test" --no-send
๐ง Configuration
Environment Variables
Set these in ~/.clawdbot/clawdbot.json under the skill configuration:
{
"skills": {
"entries": {
"tts_whatsapp": {
"enabled": true,
"env": {
"PIPER_BIN_PATH": "/path/to/piper",
"WHATSAPP_DEFAULT_TARGET": "+15555550123",
"PIPER_DEFAULT_LANG": "en_US",
"PIPER_DEFAULT_VOICE": "lessac",
"PIPER_DEFAULT_QUALITY": "medium"
}
}
}
}
}
Available Environment Variables
| Variable | Description | Default |
|---|---|---|
PIPER_BIN_PATH | Path to piper executable | ~/Library/Python/3.9/bin/piper |
WHATSAPP_DEFAULT_TARGET | Default recipient phone number or group ID | None (required) |
PIPER_DEFAULT_LANG | Default language code | fr_FR |
PIPER_DEFAULT_VOICE | Default voice name | siwis |
PIPER_DEFAULT_QUALITY | Default quality level | medium |
๐ Supported Languages
Piper supports 40+ languages. Here are some examples:
| Language | Code | Example Voices |
|---|---|---|
| ๐ซ๐ท French | fr_FR | siwis, upmc, tom |
| ๐ฌ๐ง English (GB) | en_GB | alan, alba, northern_english_male |
| ๐บ๐ธ English (US) | en_US | lessac, libritts, amy, joe |
| ๐ช๐ธ Spanish | es_ES | carlfm, davefx |
| ๐ฒ๐ฝ Spanish (MX) | es_MX | claude |
| ๐ฉ๐ช German | de_DE | thorsten, eva_k, karlsson |
| ๐ฎ๐น Italian | it_IT | riccardo |
| ๐ต๐น Portuguese (BR) | pt_BR | faber |
| ๐ต๐น Portuguese (PT) | pt_PT | tugรฃo |
| ๐ณ๐ฑ Dutch | nl_NL | mls, rdh |
| ๐ท๐บ Russian | ru_RU | dmitri, irina |
| ๐จ๐ณ Chinese | zh_CN | huayan |
Full list: Piper Voice Samples
๐๏ธ All Options
tts-whatsapp "text to speak" [OPTIONS]
Options:
--target NUMBER WhatsApp number or group ID
Examples: +15555550123, 120363257357161211@g.us
--message TEXT Text message accompanying the audio
--lang LANGUAGE Language code (default: fr_FR)
Examples: en_US, es_ES, de_DE, it_IT
--voice VOICE Specific voice name (default: auto per language)
Examples: lessac, siwis, thorsten
--quality QUALITY Audio quality: x_low, low, medium, high
Default: medium
--speed SPEED Playback speed (default: 1.0)
Examples: 0.8 (slower), 1.2 (faster)
--no-send Generate audio file without sending
๐ How It Works
- Text โ Speech - Piper generates high-quality audio (~1s)
- Convert - FFmpeg converts to OGG/Opus format (~0.2s)
- Send - Clawdbot sends to WhatsApp (~1s)
- Cleanup - File deleted after successful send
Total time: ~2.3s for a 10-second message
๐๏ธ File Management
- Auto-delete after send - Files removed after successful WhatsApp delivery
- Auto-cleanup old files - Files older than 24h are deleted on next run
- Keep on error - Files preserved if sending fails
๐ก Examples
Personal message
tts-whatsapp "Don't forget the meeting at 3pm" --target "+15555550123"
Group announcement
tts-whatsapp "Meeting in 5 minutes!" --target "120363257357161211@g.us"
With text caption
tts-whatsapp "Important update" --message "๐ข Please listen"
Different language and voice
tts-whatsapp "Guten Morgen" --lang de_DE --voice thorsten --target "+491234567890"
Slow speech for learning
tts-whatsapp "Practice your pronunciation" --speed 0.7 --lang en_US
High quality for music/podcast
tts-whatsapp "Welcome to my podcast" --quality high --lang en_US --voice lessac
๐ Troubleshooting
Model not found error
ERROR: Modรจle introuvable: ~/.clawdbot/skills/piper-tts/models/en_US-lessac-medium.onnx
Solution: Download the model from Hugging Face
No default target error
โ ๏ธ Erreur: Aucun destinataire dรฉfini
Solution: Either set WHATSAPP_DEFAULT_TARGET in your config or use --target
Clawdbot not found
Solution: Make sure Clawdbot is installed and in your PATH
๐ License
MIT License - Feel free to use and modify
๐ Credits
- Piper TTS by Rhasspy
- Clawdbot by clawdbot team
- FFmpeg by the FFmpeg team
๐ Links
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
Configuration
Configure in `~/.clawdbot/clawdbot.json`: ```json { "skills": { "entries": { "tts_whatsapp": { "enabled": true, "env": { "WHATSAPP_DEFAULT_TARGET": "+15555550123", "PIPER_DEFAULT_LANG": "en_US", "PIPER_DEFAULT_VOICE": "lessac", "PIPER_DEFAULT_QUALITY": "medium" } } } } } ```
FAQ
How do I install tts-whatsapp?
Run openclaw add @hopyky/tts-whatsapp in your terminal. This installs tts-whatsapp into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/hopyky/tts-whatsapp. Review commits and README documentation before installing.
