Voice ID format
Voice IDs follow the patternProvider.Model.voice_name. To find a voice:
- Browse the voice library
- Copy the voice ID (e.g.
Minimax.speech-2.8-turbo.English_radiant_girl) - Pass it to
telnyx.TTS(voice="...")
Examples
Available providers and models
Browse all voices and models in the voice library →
Parameters
Telnyx Ultra
Ultra isn’t available over WebSocket, sotelnyx.TTS can’t use Ultra voices. To use Ultra in a LiveKit agent, call the TTS REST API from a custom TTS class.
Ultra voice IDs use the UUID form Telnyx.Ultra.<voice-id> (for example Telnyx.Ultra.01eaafa9-308a-4276-a017-6ab0cf061b1f); name-style IDs are rejected by the REST API. Copy the exact voice ID from the voice library.
LiveKit sends a REST-based TTS one sentence at a time, so the first audio of each reply waits for the LLM to finish its first sentence. Expect higher latency than with streaming voices.
ultra_tts.py
telnyx.TTS. It reads your API key from TELNYX_API_KEY: