Skip to main content
POST
Speech to Text
Transcribe an audio file to text. Uses multipart form upload (not JSON). Maximum file size: 25 MB.

Authentication

Requires a Bearer token. See Authentication.

Request Body (multipart/form-data)

file
Blob
required
Audio file to transcribe. Supported formats: MP3, MP4, MPEG, MPGA, M4A, WAV, WEBM.
language
string
Language hint (ISO 639-1 code, e.g., "en", "es", "fr"). If omitted, language is auto-detected.

Request Examples

Response

id
string
Unique transcription ID (prefixed stt_).
created
string
ISO 8601 timestamp.
text
string
The transcribed text.
language
string | null
Detected or specified language.
duration_seconds
number | null
Duration of the audio file in seconds.
usage
object

Example Response

Errors