Authorizations
Body
The voice engine used to synthesize the voice. Must be either Play3.0-mini
or PlayDialog
.
Dialog 1.0
: Our flagship model with best quality and multi-turn dialogue capabilities.Play 3.0 Mini
: Our fast and efficient model for single-voice text-to-speech.
ℹ️ NOTE: We also offer Dialog 1.0 Turbo which is a faster version of Dialog 1.0 from a separate endpoint.
💡 Tip: For more information, see Models.
PlayDialog
, Play3.0-mini
"PlayDialog"
The text to be converted to speech. Limited to 20k characters for Play3.0-mini
, 50k characters for PlayDialog
.
"Country Mouse: Welcome to my humble home, cousin! Town Mouse: Thank you, cousin. It's quite... peaceful here. Country Mouse: It is indeed. I hope you're hungry. I've prepared a simple meal of beans, barley, and fresh roots. Town Mouse: Well, it's... earthy. Do you eat this every day?"
The unique ID for a voice to be used.
💡 Tip: Check out the How to Get ID of Voices guide
"s3://voice-cloning-zero-shot/baf1ef41-36b6-428c-9bdf-50ba54682bd8/original/manifest.json"
The unique ID for a second PlayAI Voice. Used for multi-turn dialogues only in PlayDialog
.
💡 Tip: Check out the How to Get ID of Voices guide
"s3://voice-cloning-zero-shot/baf1ef41-36b6-428c-9bdf-50ba54682bd8/original/manifest.json"
"Country Mouse:"
"Town Mouse:"
Only supported with Play3.0-mini
.
draft
, low
, medium
, high
, premium
mp3
, mulaw
, raw
, wav
, ogg
, flac
0.1 <= x <= 5
1
8000 <= x <= 48000
24000
x >= 0
null
0 <= x <= 2
null
Only for Play3.0-mini
.
1 <= x <= 6
null
1 <= x <= 30
null
1 <= x <= 2
1
afrikaans
, albanian
, amharic
, arabic
, bengali
, bulgarian
, catalan
, croatian
, czech
, danish
, dutch
, english
, french
, galician
, german
, greek
, hebrew
, hindi
, hungarian
, indonesian
, italian
, japanese
, korean
, malay
, mandarin
, polish
, portuguese
, russian
, serbian
, spanish
, swedish
, tagalog
, thai
, turkish
, ukrainian
, urdu
, xhosa