Skip to main content
POST
Create transcription

授權

Authorization
string
header
必填

Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.

主體

multipart/form-data
file
file
必填

Audio file up to 25 MB.

model
string
必填

Model ID, such as whisper-1.

language
string

ISO-639-1 language code, such as en, zh, or ko.

prompt
string

Optional prompt for biasing the transcript.

response_format
enum<string>
預設值:json
可用選項:
json,
text,
srt,
verbose_json,
vtt
temperature
number
預設值:0

Sampling temperature.

必填範圍: 0 <= x <= 1

回應

Transcript. When response_format is verbose_json, the response also includes task, language, duration, and per-segment timing metadata.

text
string

Transcript text.