ReplicateAudioComing soon

xai/grok-text-to-speech

xai/grok-text-to-speech is an audio tool from Replicate that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Pricing

Coming soon

$0.0195 per 1,000 characters of text.

Limits

Runs
In the background
Returns
audio
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
255 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
text requiredtext—

Text to synthesize into speech. Maximum 15000 characters. Supports inline speech tags like '[pause]', '[laugh]', and wrapping tags like '<whisper>...</whisper>' for expressive delivery.

voiceJSONeve

Voice to use for synthesis. 'eve' is energetic and upbeat (default), 'ara' is warm and friendly, 'rex' is confident and clear, 'sal' is smooth and balanced, 'leo' is authoritative and strong.

bit_rateJSON128000

MP3 bit rate in bits per second. Only used when 'output_format' is 'mp3'. Higher bit rates produce better quality at the cost of file size.

languageJSONauto

BCP-47 language code for the input text. Set to 'auto' to let the model auto-detect the language.

sample_rateJSON24000

Audio sample rate in Hz. Higher rates produce better quality at the cost of file size.

output_formatJSONmp3

Audio codec. 'mp3' is best for general use, 'wav' for lossless audio, 'pcm' for raw audio pipelines, 'mulaw'/'alaw' for telephony.

text_normalizationtrue or falsefalse

Normalize written-form text (numbers, abbreviations, symbols) into spoken-form before generating audio.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "xai/grok-text-to-speech",
    "input": {
      "text": "<text>"
    }
  }'