OpenAI
OpenAI offers versatile multilingual voices balancing low latency and good quality. While voices are optimized for English, they perform well across all supported languages.
Consult OpenAI’s Text-to-Speech documentation for more information and audio samples for available voices.
Models
OpenAI offers two TTS models with different quality and latency characteristics:
Voices
OpenAI provides 6 fully multilingual voices optimized for natural-sounding speech:
Languages
All OpenAI voices are fully multilingual and automatically adapt to the input text language.
Consult OpenAI’s supported languages resource for an up-to-date list.
Usage
OpenAI voice IDs conform to the following format:
Parameters:
voice(required): One of: alloy, echo, fable, onyx, nova, shimmermodel(optional):tts-1(default) ortts-1-hd
Examples:
Examples
Learn how to use OpenAI voices on the SignalWire platform.
SWML
RELAY Realtime SDK
Call Flow Builder
Use the
languages
SWML method to set one or more voices for an AI agent.
Alternatively, use the say_voice parameter
of the play
SWML method to select a voice for basic TTS.