Skip to main content
Speech routes handle audio generation and transcription.

Text to speech

The response body is audio. The Content-Type comes from provider output, usually audio/mpeg or the requested format.

Transcription

Set response_format to text when you want a plain text body.