Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Text-to-speech request

input
string
required
model
string
required
voice
string
required
instructions
string
provider
string

Provider is gateway routing metadata, stripped before dispatching upstream.

response_format
string
speed
number

Response

Binary audio in the requested response_format

The response is of type file.