Grok
Grok Text to speech

grok-voice-latest

Context Not specified
tok/s —
Uptime 24h 100.00%
Requests 801
Performance & reliability
Up to 500 recent requests with a measured response time
500 recent requests
Observed output speed— tok/s
Response time P50— ms
Response time P95— ms
Samples—
Not enough data
Up to 500 recent requests with a measured response time
Uptime 100.00% 100.00%
24h agoNow
7 days agoNow
Response similarity to the reference model
The percentage reflects similarity between tested responses and reference data; it does not determine whether a model is genuine or fake.
No reference data yetNot enough data
Direct comparisonsNo direct comparisons yet
Check with my API key

API connection

Base URL

https://api.xah.io/v1
Method POST · application/json
Auth Bearer token (API key)
API kinds Text to speech
Show all 1 endpoints
https://api.xah.io/v1/audio/speech

Quickstart

Setup guide
curl 'https://api.xah.io/v1/audio/speech' --output speech.mp3 \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "namth/grok-voice-latest",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/audio/speech', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "namth/grok-voice-latest",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
})
});
const audioBlob = await res.blob(); // Browser: player.src = URL.createObjectURL(audioBlob)
import json, requests

url = 'https://api.xah.io/v1/audio/speech'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"namth/grok-voice-latest\",\n    \"input\": \"Hello world from Ckey AI\",\n    \"voice\": \"alloy\",\n    \"response_format\": \"mp3\",\n    \"speed\": 1\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
res.raise_for_status()
with open('speech.mp3', 'wb') as audio:
    audio.write(res.content)
{
    "model": "namth/grok-voice-latest",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
}

Voices & languages

This model has not published a voice catalog.

Try it

Send a prompt with your API key — uses real credits, streams back instantly.

Reviews & comments

0.0 / 0 reviews
Contact Support
We are always ready to help you