xAI
Use xAI for text-to-speech in Vapi.
xAI provides text-to-speech for Vapi voice agents.
You can use xAI through Vapi’s default integration, or connect your own account in Integrations.
Supported capability
Text-to-speech
Set voice.provider to xai and choose one of the five voices Vapi currently supports. The language and speed fields are optional.
For additional API configuration options, review the XaiVoice fields in the Create Assistant API reference.