telnyx-tts
Generate speech audio from text using Telnyx Text-to-Speech API. Use when you need to convert text to spoken audio, create voice messages, or generate audio content.
Why use this skill?
Integrate high-quality speech generation into your OpenClaw agent using the Telnyx API. Create realistic voice notes, audio content, and automated messages easily.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dotcom-squad/telnyx-ttsWhat This Skill Does
The telnyx-tts skill provides a seamless interface for the Telnyx Text-to-Speech (TTS) API, allowing the OpenClaw agent to transform text into high-quality, human-like audio files. By utilizing sophisticated models like Telnyx NaturalHD and KokoroTTS, this skill enables the agent to vocalize responses, generate voice notes, or create audio content on the fly. It handles the API handshake, voice selection, and local file generation, outputting a clear file path that the agent can then serve to the user via chat interfaces, such as Telegram voice messages.
Installation
To integrate this capability into your agent, ensure you have your Telnyx API credentials ready. Run the following command in your terminal:
clawhub install openclaw/skills/skills/dotcom-squad/telnyx-tts
Once installed, you must configure your environment by setting the TELNYX_API_KEY environment variable. Without this key, the agent will be unable to authenticate with the Telnyx servers and will return an error during execution.
Use Cases
This skill is highly versatile for any agent requiring auditory feedback. Use it for:
- Creating personalized voice greetings for users.
- Converting long-form articles or reports into audiobooks for hands-free listening.
- Generating automated voice notes for messaging platforms.
- Enhancing accessibility by providing text content in an audio format.
- Creating dynamic narration for interactive storytelling agents.
Example Prompts
- "Convert this text to a voice note: 'Reminder: Your meeting with the development team starts in ten minutes.'"
- "Read the last paragraph of the summary aloud using the Telnyx NaturalHD luna voice and save it to /tmp/voice_note.mp3."
- "Generate an audio file saying 'Welcome to the system' using the default voice."
Tips & Limitations
- Voice Selection: Always choose the right model for the job. Use
Telnyx.NaturalHDfor professional presentations or emotional nuance, andTelnyx.KokoroTTSif you are generating massive volumes of audio where cost-efficiency is the priority. - Storage: Note that this skill writes files to the
/tmp/directory by default. If you are generating long recordings, ensure your system has enough disk space to handle the resulting audio files. - Cleanup: Since this skill creates files on your local filesystem, consider scheduling periodic cleanup of the output directory to prevent storage buildup.
- Network: An active internet connection is mandatory, as this skill relies entirely on the external Telnyx API to render the audio data.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dotcom-squad-telnyx-tts": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, external-api
Related Skills
telnyx-rag
Semantic search and Q&A over workspace files using Telnyx Storage + AI embeddings. Index your memory, knowledge, and skills for natural language retrieval and AI-powered answers.
telnyx-network
Private mesh networking and public IP exposure via Telnyx WireGuard infrastructure. Connect nodes securely or expose services to the internet.
10dlc-registration
Register for 10DLC as a sole proprietor to enable SMS messaging in the USA. Use when setting up A2P SMS, registering brands/campaigns, or assigning phone numbers for compliant US messaging. Requires Telnyx CLI.
sip-voice-call-control
Voice interface using Telnyx Call Control API. Answer phone calls with AI, function calling, and natural conversation. Use for hands-free assistant access, phone-based reminders, or voice-controlled tools. Requires Node.js and Telnyx API key.
backup-to-telnyx-storage
Backup and restore your OpenClaw workspace to Telnyx Storage. Simple CLI-based scripts with no external dependencies.