Skip to main content
POST
Create translation

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required

Source audio file.

model
string
required

Model ID, such as whisper-1.

prompt
string

Optional English prompt.

response_format
enum<string>
default:json
Available options:
json,
text,
srt,
verbose_json,
vtt
temperature
number
default:0

Sampling temperature.

Required range: 0 <= x <= 1

Response

English translation result.

text
string

English translation of the uploaded audio.