xAI.<VoiceId>
xAI Grok voices are expressive, multilingual text-to-speech voices. They support inline speech tags for pauses, vocal sounds, emphasis, pitch, pace, and intensity.
Voices
Voice Samples
WebSocket
xAI Grok voices are not available on the public TTS WebSocket API. Use the REST API for direct text-to-speech generation, or use xAI Grok voices with AI Assistants.REST API
Fields
Response
Default (binary_output): chunked audio bytes.
With output_type: "base64_output": JSON with base64-encoded audio.
With output_type: "audio_id": JSON with an audio_url for deferred retrieval.
Expressive speech tags
Use speech tags inline intext when you want more expressive delivery.
AI Assistants
For AI Assistants, choose an xAI Grok voice such asxAI.eve and enable Expressive Mode to let the assistant decide when speech tags improve the caller experience.
AI Assistants
Build voice AI assistants using xAI Grok voices with Expressive Mode.
TTS REST API
Generate speech directly with REST TTS requests.