Skip to main content
POST
Error

授权

Authorization
string
header
必填

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

请求体

multipart/form-data
file
file
必填

Audio file to transcribe

model
string
必填

Model ID

language
string

Input language (ISO-639-1)

prompt
string

Optional text to guide the model

response_format
string

json, text, srt, verbose_json, or vtt

temperature
number

Sampling temperature (0-1)

timestamp_granularities[]
string[]

Timestamp granularities to populate: word and/or segment

stream
boolean

Relay the transcript as server-sent events while the provider produces it

响应

Transcription in the requested response_format: a JSON object for json/verbose_json, a text/plain body for text/srt/vtt, or a text/event-stream when stream=true

The response is of type object.