Skip to main content
POST
Create translation

Autorisations

Authorization
string
header
requis

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

Corps

multipart/form-data
file
file
requis

Source audio file.

model
string
requis

Model ID, such as whisper-1.

prompt
string

Optional English prompt.

response_format
enum<string>
défaut:json
Options disponibles:
json,
text,
srt,
verbose_json,
vtt
temperature
number
défaut:0

Sampling temperature.

Plage requise: 0 <= x <= 1

Réponse

English translation result.

text
string

English translation of the uploaded audio.