This page requires Python familiarity. It covers programmatic voice configuration using provider classes. For no-code voice selection, see the Voice library. The PolyAI platform supports flexible voice selection for external providers including Cartesia, ElevenLabs, Hume, Rime, Minimax, PlayHT, and Google TTS.Documentation Index
Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
Use this file to discover all available pages before exploring further.
Provider classes
When picking models, adjusting stability, or accessing third-party providers – use provider-specificTTSVoice classes. See the Voice classes reference for the full list of providers and parameters.
Example: Cartesia
Cartesia is the recommended provider for new projects due to its low latency and natural output.Example: ElevenLabs
eleven_monolingual_v1, eleven_multilingual_v1, eleven_turbo_v2, eleven_turbo_v2_5, eleven_flash_v2_5, and eleven_v3. The default is eleven_turbo_v2_5.
Example: Hume
Cache behavior
- Changing
model_iddoes not automatically invalidate cached audio. - To reset cached audio after changing models:
- Go to Channels > Voice > Audio management and delete existing cache entries.
- Or, create a new voice entry with a different voice ID.
Related pages
Voice library
Browse and select voices
Agent Voice
Configure voice settings and fine-tuning
Multi-voice
Use multiple voices in a single agent
Voice configuration
Configure model selection and call settings

