Skip to main content
POST

Headers

string
required
Bearer token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

Format: multipart/form-data
file
required
Audio file to transcribe. Supports multiple formats (e.g., mp3, mp4, mpeg, mpga, m4a, wav, webm).
string
required
Model ID. For example whisper-1.
string
Language of the audio file, encoded in ISO-639-1 format (e.g. zh, en, ja).
string
Optional text prompt to guide the model’s style or continue a previous audio segment. The prompt should match the audio language.
string
default:"json"
Transcription output format. Allowed values are json, text, srt, verbose_json, vtt. Defaults to json.
number
Sampling temperature, between 0 and 1. Defaults to 0.
array
List of timestamp granularities. Allowed values are word or segment. Only effective when response_format is set to verbose_json.

Response

string
Transcribed text.
Last modified on October 28, 2026