Skip to main content
POST
/
v1
/
audio
/
translations
音频翻译
curl --request POST \
  --url https://api.qclawrouter.com/v1/audio/translations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form model=whisper-1 \
  --form file='@example-file'
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

使用您的 API Key 作为 Bearer Token。在控制台创建令牌获取。

Body

multipart/form-data
model
string
required
Example:

"whisper-1"

file
file
required

Response

200 - application/json

翻译结果

text
string