TTS WhatsApp
Send high-quality text-to-speech voice messages on WhatsApp in 40+ languages with automatic delivery
hopyky
@hopyky
What This Skill Does
Generates high-quality text-to-speech audio from text and automatically sends it as a voice message to a WhatsApp contact or group. Supports 40+ languages with configurable voice, quality, and speed.
Replaces manually recording and sending voice messages by converting text to natural-sounding speech and delivering it directly to WhatsApp.
When to Use It
- Send a personalized voice greeting to a WhatsApp contact in their native language
- Broadcast an announcement to a WhatsApp group as an audio message
- Deliver a reminder or notification via voice message to a phone number
- Create a multilingual voice message for a WhatsApp chat without recording audio
- Automate sending daily updates or alerts as WhatsApp voice messages
Install
$ openclaw skills install @hopyky/tts-whatsapp๐๏ธ 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.
Top skills in this category
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Slack
@steipeteUse when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
PollyReach
@pollyreachPollyReach gives every AI agent a phone number and the ability to get things done over the phone โ finding contacts, making calls, and completing tasks. Just...
imap-smtp-email
@gzlicanyiRead and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Supports multiple accounts. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip
Answer Overflow
@rhyssullivanSearch indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that only exist in Discord conversations.