Skip to main content
POST
Run TTS Model

Authorizations

Authorization
string
header
required

In the form Bearer <api_key_here>. You can find your api key in your dashboard.

Body

application/json
text
string
required

The text to generate.

voiceId
string
required

The voice ID to use to generate the text.

voiceOptionValues
object[]

An optional configuration for the voice being used.

format
object

The output format for the generated audio. Defaults to WAV_PCM16 at 24000 Hz.

Response

Returns a file with the audio.

The response is of type file.