Skip to main content
Both endpoints take the OpenAI-compatible speech and transcription request bodies and return the matching responses. Speech and transcription models appear in the main catalog; pick an id whose row lists the audio modality.

Text to speech

POST /v1/audio/speech takes a JSON body and returns audio bytes.

Transcription

POST /v1/audio/transcriptions is multipart/form-data with a file part and a model field.
Set SPEECH_MODEL and TRANSCRIBE_MODEL to ids from the catalog. Available voices, formats, and other fields depend on the model; check its catalog row. Both calls return the usual x-predev-* headers and are billed from usage.cost.