Convert text to speech in real-time with customizable voice characteristics, delivering audio content as it is generated for immediate use in your applications.
Gender | Corresponding Value |
---|---|
Not Known | 0 |
Male | 1 |
Female | 2 |
Not Applicable | 9 |
/list-voices
endpoint./create-custom-voice
endpoint for a truly unique sound./source-languages
or /target-languages
endpoints.
adts
, but you can request other formats).X-Credits-Required
header that transparently shows you the resource cost of your request.output_format
parameter:
Format | Description | Use Case |
---|---|---|
wav | Uncompressed audio format with excellent quality | High-fidelity applications, audio editing |
flac | Lossless compressed audio format that maintains high quality | Storage-efficient high-quality audio |
adts | Standard streaming audio format with good quality | Default format, streaming applications |
pcm_s16le | Standard quality raw audio format | Basic audio processing, lower memory usage |
pcm_s32le | High-quality raw audio format | Professional audio work, highest quality |
stream=True
, you can handle audio generation efficiently even for longer text passages.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.
Generated speech audio in the specified format.
The response is of type file
.