Text to Speech
Get Text to Speech Result
Retrieves the result of a specific Text to Speech run using the provided run_id
.
GET
This endpoint upon completion of the run, it returns URLs for the audio and dialogue files, along with the transcription if requested.
Example for Saving the File:
stream=True
is required to stream the file else the file will be downloaded in memory and then saved to disk.Authorizations
The x-api-key
is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
Path Parameters
The unique identifier for the run, which was generated during the creation process and returned upon task completion.
Response
200 - audio/wav
The generated audio file bytes in WAV format, representing the speech created from the Text to Speech task.