xAI
This page is auto-generated from model configurations. Last updated: 2026-11-05.
This reference lists all available xAI audio generation models and their parameters. Use these parameter names when calling the Generation API.
xAI Grok TTS
Section titled “xAI Grok TTS”Convert text to natural-sounding speech using xAI’s Grok TTS with multiple voices, codecs, and multilingual support including speech tags like [pause] and <whisper>.
Model ID: model_xai-grok-tts
Capabilities: txt2audio
LLM Markdown: https://app.scenario.com/api/models/model_xai-grok-tts/markdown
| Parameter | Type | Required | Default | Min | Max | Allowed Values | Description |
|---|---|---|---|---|---|---|---|
text |
string | Yes | - | - | - | - | Text to synthesize. Max 15,000 characters. Supports speech tags like [pause], <whisper>text</whisper> |
voice |
string | No | eve |
- | - | ara, eve, leo, rex, sal |
Voice to use for synthesis |
language |
string | No | auto |
- | - | auto, ar, bn, zh, en, fr, de, hi, id, it, ja, ko, pt, ru, es, tr, vi |
The language of your text. Auto detects it from the text. |
sampleRate |
number | No | 44100 |
- | - | 8000, 16000, 22050, 24000, 44100, 48000 |
Higher rates sound clearer but make larger files. 44.1 kHz suits most uses; 8 to 16 kHz suits phone audio. |