Classes
Voice
Configure voices using Python
The PolyAI platform supports flexible voice selection for external providers such as ElevenLabs, AWS Polly, and Microsoft Azure TTS.
Provider classes
When picking models, adjusting stability, or accessing third-party providers — use provider-specific TTSVoice
classes:
Example: ElevenLabs
Example: AWS Polly
Example: Microsoft Azure TTS
Cache behavior
- Changing
model_id
does not automatically invalidate cached audio. - To reset cached audio:
- Go to Audio > Cache and delete existing entries.
- Or, create a new voice entry with a different
voice_id
. - You can prepend model ID to voice ID (e.g.
eleven_flash_v2/a1b2c3
…) if you want to isolate caches across models.