Handler for the /speak endpoint
Request body
Example request
{
"text": "Hello, world!",
"tts_config": {
"audio_format": "linear16",
"connection_timeout": 30,
"model": "aura-asteria-en",
"pronunciations": [
{
"pronunciation": "A P I",
"word": "API"
}
],
"provider": "deepgram",
"request_timeout": 60,
"sample_rate": 24000,
"speaking_rate": 1,
"voice_id": "aura-asteria-en"
}
}Response
Audio generated successfully
Changes
Changed in 3 of the 13 revisions of this API.15
- ○
added the new optional request property
/new-optional-request-property
- ○
- ○
the endpoint scheme security
authwas added to the APIapi-security-added
- ○
the endpoint scheme security
bearer_authwas removed from the APIapi-security-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the request property
/request-property-removed
- ○
the endpoint scheme security
bearer_authwas added to the APIapi-security-added
- ○
the endpoint scheme security
authwas removed from the APIapi-security-removed
This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●