← All Models
Grok TTS
xAI's text-to-speech model. Generate natural speech from text in multiple voices.
Specifications
| Provider | xAI |
| Category | Audio |
Pricing (Starter tier)
546.00 credits / 1M input characters
Higher tiers get volume discounts. See tiers
Quick Start
curl -X POST https://query.genx.sh/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-tts",
"params": {
"text": "Hello world, this is Grok speaking.",
"language": "en"
}
}'
Example Request Body
// POST /api/v1/generate
{
"model": "grok-tts",
"params": {
"text": "Hello world, this is Grok speaking.",
"language": "en"
}
}