Platform
Catalog/Generate speech/Grok Text to Speech
TEXT → AUDIO · xAI

Grok Text to Speech

xAI TTS v1 is xAI's text-to-speech model, made for narration, assistants and voice apps.
PRICE0.02813 creditsper 1k chars
AVG TIME~5.0sestimate
OUTPUTaudiosync
Open in playground

Inputs

promptoptional · text
textoptional · Text — artifact id or https URL
params.voicealtair | ara | atlas | carina | castor | celeste | cosmo | eve | helios | helix | iris | kepler | leo | lumen | luna | lux | naksh | orion | perseus | rex | rigel | sal | sirius | ursa | zagan | zenith · default altair
Monthly estimate
1,000 × 0.02813 credits28.13 credits
curl https://platform.4i.app/api/v1/run \
  -H "Authorization: Bearer $FOURI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service": "xai/grok-text-to-speech",
    "input": {},
    "params": {
      "voice": "altair"
    }
  }'
Every output has an artifact_id. Pass it as input to any compatible service.
Get your API key →