Skip to main content
POST
/
v1
/
audio
/
translations
Audio Translation
curl --request POST \
  --url https://utoken.yoostudio.ai/v1/audio/translations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'model=<string>' \
  --form 'prompt=<string>' \
  --form 'response_format=<string>' \
  --form temperature=123
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

Use Bearer Token authentication Format: Authorization: Bearer sk-xxxxxx

Body

multipart/form-data
file
file
required
model
string
required
prompt
string
response_format
string
temperature
number

Response

200 - application/json

Success - Translation completed

text
string