Skip to main content
POST
Generate Audio Sample

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The ID of the voice to generate the audio sample for, or it’s name (like “maya”).

Request Body

string
required
The text content to be spoken in the voice sample.Character limit: 200 characters.
object
Alternate voice_settings can be passed in to override the preset’s default settings.
string
The language of the text content. Default is ENG.Some other language codes: “ESP”, “GER”, “FRE”

Response

audio
The generated audio file of the spoken text using the specified or overridden voice preset settings.