Stream Speech in Turbo Mode
Stream speech with our fastest and best-quality model, Dialog 1.0 Turbo.
Convert text to speech and receive audio bytes in real-time in Turbo mode.
This endpoint only supports Dialog 1.0 Turbo: Our fastest model with best quality and multi-turn dialogue capabilities, but with a narrower feature set than Dialog 1.0 and Play 3.0 Mini.
For more information, see Models.
Check out the How to use Dialog 1.0 Text-to-Speech API guide for a step-by-step approach to using the PlayAI API to convert text into natural human-like sounding audio.
Or click “Try it” above to see the API in action!
Authorizations
Your secret API key from PlayAI, formatted as Bearer YOUR_SECRET_API_KEY
.
Body
The voice engine used to synthesize the voice.
PlayDialog-turbo
"PlayDialog-turbo"
The text to be converted to speech. Limited to 20,000 characters.
"Hello, this is a test of the PlayDialog-turbo model."
The unique ID for a PlayAI PlayDialog-turbo
Voice.
Available voices depend on the selected language:
- For Arabic:
Nasser-PlayAI
,Khalid-PlayAI
,Amira-PlayAI
,Ahmad-PlayAI
- For English:
Arista-PlayAI
,Atlas-PlayAI
,Basil-PlayAI
,Briggs-PlayAI
,Calum-PlayAI
,Celeste-PlayAI
,Cheyenne-PlayAI
,Chip-PlayAI
,Cillian-PlayAI
,Deedee-PlayAI
,Fritz-PlayAI
,Gail-PlayAI
,Indigo-PlayAI
,Mamaw-PlayAI
,Mason-PlayAI
,Mikail-PlayAI
,Mitch-PlayAI
,Quinn-PlayAI
,Thunder-PlayAI
More voices will be available soon.
Arista-PlayAI
, Atlas-PlayAI
, Basil-PlayAI
, Briggs-PlayAI
, Calum-PlayAI
, Celeste-PlayAI
, Cheyenne-PlayAI
, Chip-PlayAI
, Cillian-PlayAI
, Deedee-PlayAI
, Fritz-PlayAI
, Gail-PlayAI
, Indigo-PlayAI
, Mamaw-PlayAI
, Mason-PlayAI
, Mikail-PlayAI
, Mitch-PlayAI
, Quinn-PlayAI
, Thunder-PlayAI
, Nasser-PlayAI
, Khalid-PlayAI
, Amira-PlayAI
, Ahmad-PlayAI
"Atlas-PlayAI"
The format for the output audio. More will be available soon.
wav
The language of the voice. More will be available soon.
arabic
, english
"english"
Response
The response is of type file
.