๐ฆ ClawHub
TTS WhatsApp
by @hopyky
Send high-quality text-to-speech voice messages on WhatsApp in 40+ languages with automatic delivery
TERMINAL
clawhub install tts-whatsapp๐ About This Skill
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: - whatsapp - 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
๐ฆ Prerequisites
1. Piper TTS: pip3 install --user piper-tts
2. FFmpeg: brew install ffmpeg (macOS) or apt install ffmpeg (Linux)
3. Voice models: Download from Hugging Face
- Place in ~/.clawdbot/skills/piper-tts/models/
- Example: fr_FR-siwis-medium.onnx
๐ 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
fr_FR): siwis, upmc, tomen_GB): alan, albaen_US): lessac, amy, joees_ES, es_MX): carlfm, davefxde_DE): thorsten, eva_kit_IT): riccardopt_BR, pt_PT): fabernl_NL): mls, rdhru_RU): dmitri, irina๐ง 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:
๐ Full Documentation
See README.md for complete documentation, examples, and troubleshooting.