Voices & languages
The voice roster, preview clips, and the languages endpoint.
The voice roster
The library ships 320 human-reviewed voices across 78 native languages — every voice speaks all 80 supported languages; its native one is where its accent lives. Fetch the roster at runtime rather than hardcoding a list; store each voice’s voice_id and display its name.
/v1/voicesvoice_idis a stablesv_-prefixed id; it is the only way to address a voice, on both the OpenAI-style and ElevenLabs-style endpointslabels.native_languageis where the voice’s accent comes from; it still speaks every supported language- names change, ids don’t — store the
voice_idand rendernamefrom the response
Voice previews
Every voice has a bundled preview clip; use it instead of live-synthesizing sample audio (it’s instant and free):
/v1/voices/{voice_id}/previewThe preview_url is included in each voice object from /v1/voices, so you rarely construct this URL by hand.
Languages
The model handles 80 languages and code-switches between them within a single request. Drive language pickers from the languages endpoint:
/v1/languagesWhen calling TTS, the lang hint accepts any ISO form: hi, hin, hindi, hi-IN all resolve. Sending it enables number and unit normalization; omit it to auto-detect from the script. See Text to speech for details.