Skip to main content
POST
/
v1
/
audio
/
transcriptions
音频转文本
curl --request POST \
  --url https://aiapi.xiaoliu.fun/v1/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'model=<string>' \
  --form file='@example-file' \
  --form 'response_format=<string>'
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
model
string
file
file
response_format
string

Response

200 - application/json

成功响应

text
string