POST
/
audio
/
translations
Translate audio to English text
curl --request POST \
  --url https://api.anyapi.ai/v1/audio/translations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file \
  --form model=whisper-1
{
  "text": "<string>",
  "language": "<string>",
  "duration": 123
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Body

multipart/form-data

Response

200
application/json

Successful response

The response is of type object.