ReplicateText to speechComing soon

playht/play-dialog

playht/play-dialog 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.

Price pending

Pricing

Price pending.

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 for speech generation
seednumber (whole)—Random seed. Set for reproducible generation
speednumber
0.1 to 5
1Control how fast the generated audio should be.
voiceJSONAngelo (Young male US conversational voice)Voice to use for generation
prompttextA prompt to guide the style of the output generated by the first voice.
prompt2textA prompt to guide the style of the output generated by the second voice.
voice_2JSONNoneOptional second voice to use for generation
languageJSONenglishThe language of the text to be spoken.
turnPrefixtextVoice 1:The prefix to indicate the start of a turn in a multi-turn dialogue for the first voice.
temperaturenumber
0 to 2
1The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.
turnPrefix2textVoice 2:The prefix to indicate the start of a turn in a multi-turn dialogue for the second voice.
voice_conditioning_secondsnumber (whole)
1 to 60
20The number of seconds of conditioning to use from the selected voice. Lower values generate audio less similar to the cloned voice, but lead to more model stability and expressiveness. Higher values create output more similar to the cloned voice, but can lead to model instability and reduced expressiveness.
voice_conditioning_seconds_2number (whole)
1 to 60
20The number of seconds of conditioning to use from the second selected voice.

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": "playht/play-dialog",
    "input": {
      "text": "<text>"
    }
  }'