ReplicateText to speechComing soon

xai/grok-text-to-speech

xai/grok-text-to-speech is a text to speech 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.

Priced by usage

Pricing

$0.0195 per 1,000 characters of text.

Limits

Runs
In the background
Returns
audio
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
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.
voiceJSONeveVoice 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_rateJSON128000MP3 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.
languageJSONautoBCP-47 language code for the input text. Set to 'auto' to let the model auto-detect the language.
sample_rateJSON24000Audio sample rate in Hz. Higher rates produce better quality at the cost of file size.
output_formatJSONmp3Audio codec. 'mp3' is best for general use, 'wav' for lossless audio, 'pcm' for raw audio pipelines, 'mulaw'/'alaw' for telephony.
text_normalizationtrue or falsefalseNormalize 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>"
    }
  }'