跳转到主要内容
POST
/
v1
/
audio
/
transcriptions
cURL
curl --request POST \
  --url https://proxy.innk.cc/v1/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file": "<string>",
  "model": "<string>"
}
'
{
  "text": "<string>"
}
兼容OpenAI SDK。OpenAI API Reference

授权

Authorization
string
header
必填

身份验证标头格式为 Bearer <API_KEY>,其中 <API_KEY> 是您的API令牌。

请求体

application/json
file
file
必填

音频文件

model
string
必填

模型

示例:

"whisper-1"

响应

200 - application/json

成功响应

text
string

转录的文本内容