Speech to text transcription
Convert audio to text using advanced speech recognition.
Complete File Upload (Standard)
Use Content-Type: multipart/form-data to upload the complete audio file in one request. Maximum file size: 25MB.
Example:
Chunked Upload (Streaming)
Use Transfer-Encoding: chunked header to stream audio data in chunks as it’s being recorded. No need to know total file size upfront. Server buffers chunks until complete before processing. Maximum total size: 25MB.
Example:
Supported Formats: FLAC, MP3, MP4, MPEG, MPGA, M4A, OGG, WAV, WebM
Query Parameters:
model(optional): Transcription model identifier. Defaults to ‘auto’.language(optional): ISO-639-1 or BCP-47 language code (e.g., “en”, “en-US”). Auto-detects if not specified.prompt(optional): Legacy prompt parameter retained for backward compatibility.temperature(optional): Legacy temperature parameter retained for backward compatibility.include_speaker_data(optional): Whentrue, include speaker diarization data and require WAV/PCM input. Otherwise transcription uses the standard compatibility path.
Response: Returns transcribed text in JSON format.
Authorizations
Query Parameters
Body
Audio file to transcribe.
File Requirements:
- Maximum size: 25MB
- Supported formats: FLAC, MP3, MP4, MPEG, MPGA, M4A, OGG, WAV, WebM
- Speaker diarization currently requires WAV / PCM input
Upload Options:
- Standard: Upload complete file using multipart/form-data
- Chunked: Stream file chunks using Transfer-Encoding: chunked header (useful for real-time recording)
Note: For chunked uploads, server buffers all chunks before processing. Transcription begins only after the complete file is received.
Response
OK
Response from the transcription endpoint containing the transcribed text, detected language, confidence score, and optional speaker segments.