header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Body Params multipart/form-data
Request Code 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' \
--header'Authorization: Bearer <token>' \
--form'file=@"C:\\Users\\Administrator\\Desktop\\test.m4a"' \
--form'model="whisper-1"' \
--form'language="vi"' \
--form'prompt="Đây là một bản âm thanh của Việt Nam"' \
--form'response_format="json"' \
--form'temperature="0"'
Responses
🟢200Thành công
application/json
Body
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."}