Documentation renewed! For old docs, visit doc.newapi.pro
New APINew API
User GuideInstallationAPI ReferenceAI ApplicationsHelp & SupportBusiness Cooperation
AI Model APIAudio

Audio Transcriptions

Convert audio to text

POST
/v1/audio/transcriptions

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Request Body

multipart/form-data

file*string

音频文件

model*string
language?string

ISO-639-1 语言代码

prompt?string
response_format?string
Default"json"
Value in"json" | "text" | "srt" | "verbose_json" | "vtt"
temperature?number
timestamp_granularities?array<string>

Response Body

application/json

curl -X POST "https://api.example.com/v1/audio/transcriptions" \  -F file="" \  -F model="whisper-1"
{
  "text": "string"
}

How is this guide?

Last updated on