Endpoint
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file | file | ✅ | Audio file (mp3, mp4, wav, m4a, webm, ogg) |
model | string | ✅ | whisper-1 |
language | string | — | ISO-639-1 language code (e.g. "en", "ja") |
prompt | string | — | Context hint to improve accuracy |
response_format | string | — | json (default), text, srt, vtt |
temperature | number | — | Sampling temperature 0–1 |
Code Examples
Subtitle Generation (SRT)
Supported Languages
Whisper supports 99 languages including English, Spanish, French, German, Japanese, Chinese, Arabic, Hindi, Portuguese, and more.Pricing
whisper-1: **0.006)