assistant-api decouples speech synthesis from provider-specific logic through the same transformer layer as STT. Each TTS provider implements Transformers[LLMPacket] and is resolved at call time by the factory.
Transformer Interface
LLMPacket Types
TheLLMPacket interface is satisfied by three packet types that TTS providers must handle:
Factory Function
Supported TTS Providers
Provider Pages
Deepgram Aura
Low-latency WebSocket synthesis
ElevenLabs
High-fidelity voice cloning
Cartesia
Ultra-low latency
Google Cloud
WaveNet / Neural2
Azure
Neural voices, 140+ languages
Sarvam AI
Indian languages
Configure Your Own
Implement the Transformers interface