> Convert text to speech and send via Telegram
> Impersonal — works for any agent
Axiomata Voice converts text messages to speech audio using ElevenLabs TTS API and delivers via Telegram.
Requires:
Use when: Converting long messages to audio, voice messaging, accessibility features.
| Variable | Description |
|---|---|
| ---------- | ------------- |
ELEVENLABS_API_KEY | ElevenLabs API key |
TELEGRAM_BOT_TOKEN | Telegram bot token |
# Convert text to speech
python3 scripts/voice_tts.py --text "Hello world" --output audio.mp3
# Send voice via Telegram
python3 scripts/voice_send.py --text "Hello" --chat_id <chat_id>
curl -X POST "https://api.elevenlabs.io/v1/text-to-speech/<voice_id>" \
-H "xi-api-key: $ELEVENLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Hello world", "voice_settings": {"stability": 0.5}}'
axiomata-voice/
├── SKILL.md
├── scripts/
│ ├── voice_tts.py # Text-to-Speech
│ └── voice_send.py # Telegram delivery
└── references/
└── elevenlabs-api.md
_In Altum Per Vocem._
Axiomata Voice v1.0.0
共 1 个版本