Audio file object (not file name) to be transcribed, in the format: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav or webm.
Example:
file://D:\Backup\Downloads\123.mp3
model
string
required
The model ID to use. Currently only whisper-1 is available.
Example:
whisper-1
language
string
optional
Enter the language of the audio. Providing the input language in ISO-639-1 format improves accuracy and latency.
prompt
string
optional
An optional text to guide the model's style or to continue the previous audio paragraph. The prompt should match the audio language.
temperature
number
optional
Default is 0 Sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will automatically increase the temperature using log probability until a specific threshold is reached.
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/v1/audio/transcriptions' \
--form'file=@"D:\\Backup\\Downloads\\123.mp3"' \
--form'model="whisper-1"'
Responses
🟢200success
application/json
Body
text
string
required
Example
{"text":"Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that."}