Skip to main content
POST
Audio transcription

Ủy quyền

Authorization
string
header
bắt buộc

Authenticate with a Bearer Token. Format: Authorization: Bearer sk-xxxxxx

Nội dung

multipart/form-data
file
file
bắt buộc

Audio file

model
string
bắt buộc
Ví dụ:

"whisper-1"

language
string

ISO 639-1 language code

Ví dụ:

""

prompt
string
Ví dụ:

""

response_format
enum<string>
mặc định:json
Tùy chọn có sẵn:
json,
text,
srt,
verbose_json,
vtt
Ví dụ:

"json"

temperature
number
Ví dụ:

0

timestamp_granularities
enum<string>[]
Tùy chọn có sẵn:
word,
segment
Ví dụ:

""

Phản hồi

200 - application/json

Transcription completed successfully

text
string