Skip to main content
POST

Headers

string
required
Bearer token authentication. Format: Authorization: Bearer sk-xxxxxx
string
required
Must be multipart/form-data

Body

file
required
Audio file to translate. Binary format, supports multiple audio formats (e.g., mp3, mp4, mpeg, mpga, m4a, wav, webm).
string
required
Model ID. For example whisper-1.
string
Optional text prompt to guide the model’s style or continue a previous audio segment. The prompt should be in English.
string
default:"json"
Translation output format. Allowed values are json, text, srt, verbose_json, vtt. Defaults to json.
number
Sampling temperature, between 0 and 1. Defaults to 0.

Response

string
Translated English text.
Last modified on October 28, 2026