playht/play-dialog
playht/play-dialog 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
Price pending
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
| Field | Kind | Default | Description |
|---|---|---|---|
text required | text | — | Text for speech generation |
seed | number (whole) | — | Random seed. Set for reproducible generation |
speed | number 0.1 to 5 | 1 | Control how fast the generated audio should be. |
voice | JSON | Angelo (Young male US conversational voice) | Voice to use for generation |
prompt | text | A prompt to guide the style of the output generated by the first voice. | |
prompt2 | text | A prompt to guide the style of the output generated by the second voice. | |
voice_2 | JSON | None | Optional second voice to use for generation |
language | JSON | english | The language of the text to be spoken. |
turnPrefix | text | Voice 1: | The prefix to indicate the start of a turn in a multi-turn dialogue for the first voice. |
temperature | number 0 to 2 | 1 | The 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. |
turnPrefix2 | text | Voice 2: | The prefix to indicate the start of a turn in a multi-turn dialogue for the second voice. |
voice_conditioning_seconds | number (whole) 1 to 60 | 20 | The 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_2 | number (whole) 1 to 60 | 20 | The 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>"
}
}'