Skip to main content
POST
Text to speech

Authorizations

chariotai-api-key
string
header
required

Your Chariot API key, generated from the dashboard. Send it in the chariotai-api-key header on every request.

Body

application/json
voice_id
string<uuid>
required

The voice to synthesize with. Get valid ids from GET /v1/voices.

Example:

"bac7d666-094d-4698-91fa-741d60fce662"

text
string
required

The text to synthesize. 1 to 500 characters after trimming whitespace.

Required string length: 1 - 500
Example:

"Hello from Chariot."

model_type
enum<string>
default:v0

The TTS model to use. Currently only v0 is available.

Available options:
v0

Response

The synthesized speech as a WAV file.

The response is of type file.