Grok
Grok Text to Speech

namth/grok-voice-latest

Modell-ID: namth/grok-voice-latest
Modellfamilie
Grok
Kontext
Nicht angegeben
Pro Request
0.0134 €
Anfragen
0
Erfolg
—
Tokens
0
Uptime
vor 24 StundenJetzt
vor 7 TagenJetzt

Preisliste

Pro Request
0.0134 €
Preisverlauf

Alle zuvor angewendeten Preisstufen. Die mit „aktuell“ gekennzeichnete Zeile ist der aktive Preis.

Aktuell Seit 12/10/2026 - 01:35:29
Pro Request0.0134 €
Unterstützte Endpoints
https://api.xah.io/v1/audio/speech
Methode POST · application/json
Authentifizierung Bearer-Token (API-Key)
API-Typen Text to Speech

Technische Hinweise

Dùng tiếng Việt thì language=vi để cho kết quả tốt nhất.

Teilen

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"
}'
// 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"
})
});
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}")

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"
}

Schnelltest

Senden Sie einen Prompt mit Ihrem API-Key — echte Credits werden verwendet, das Ergebnis wird sofort gestreamt.

Bewertungen & Kommentare
★ 0.0 / 0 Bewertungen
Bewertungen werden geladen...
Support kontaktieren
Wir helfen Ihnen jederzeit gern