跳转到主要内容
POST
/
api
/
v1
/
audio
/
transcriptions
Transcribes an audio file into text.
curl --request POST \
  --url https://api.bibigpt.co/api/v1/audio/transcriptions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'language=<string>' \
  --form 'timestamp_granularities=<string>' \
  --form response_format=text

授权

Authorization
string
header
必填

API Token for authentication. Use format 'Bearer YOUR_API_TOKEN'

请求体

multipart/form-data
file
file
language
string
timestamp_granularities
string
response_format
enum<string>

The format of the response.

可用选项:
text,
json,
verbose_json,
srt,
vtt

响应

The transcription result.