Async TTS

Returns a TTS job. Check the job status with Async Retrieve Job /api/v1/tts/{jobId} API using the returned id.

Use callbackUrls get a callback when a TTS job completed.

Body Params
string
required
length between 1 and 500

Text to be converted to audio

string
required

Speaker ID. You can retrieve speaker ID with Retrieve Speakers /api/v1/speakers API.

string

Speaker style id for the chosen speaker. You can retrieve speaker styles with /api/v1/speakers API. Only some of our speakers have multiple speaker styles.

number
0.05 to 3
Defaults to 1

Speed of the audio to be generated

callbackUrls
array of strings

Callback urls for any async job. Max size of callback urls is 4.

The callback will be sent only once. It will be a POST request with the same data format as Async Retrieve Job /api/v1/tts/{jobId} API.
Your endpoints should return 2xx status code and should not take more than 10 seconds to respond. Otherwise, the callback will be considered as failed.

callbackUrls
Responses

400

API key expired

401

API key invalid

402

No active subscription

422

API key not found

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json