Upload a video or audio file and create a project without starting translation
POST /v1/translate: up to 10 in-progress translations per account. If the limit is reached, requests return CONCURRENT_TRANSLATION_LIMIT_REACHED (HTTP 429).
multipart/form-data with a file upload.
video/mp4, video/quicktime, video/x-matroska, video/webm, video/mpegSupported audio formats: audio/mpeg, audio/wav, audio/mp4, audio/x-m4a, audio/flac, audio/ogg, audio/aacMaximum file size: 20 GBafrikaans, albanian, amharic, arabic, armenian, assamese, azerbaijani, basque, belarusian, bengali, bosnian, bulgarian, catalan, croatian, czech, danish, dutch, english, american english, british english, estonian, finnish, french, french canadian, galician, german, greek, gujarati, hebrew, hindi, hungarian, icelandic, indonesian, irish, italian, japanese, kannada, kazakh, khmer, korean, lao, latvian, lithuanian, macedonian, malay, malayalam, mandarin, marathi, mongolian, nepali, norwegian, persian, polish, portuguese, brazilian portuguese, punjabi, romanian, russian, serbian, slovak, slovenian, spanish, swahili, swedish, tagalog, tamil, telugu, thai, turkish, ukrainian, urdu, vietnamese, welsh, yoruba, zuluen, es, fr, de, ja, zh).Default: auto-detectPOST /v1/translate.
| Status | Code | Description |
|---|---|---|
| 400 | FILE_REQUIRED | No file was uploaded with the request |
| 400 | INVALID_FILE_TYPE | The uploaded file type is not supported |
| 400 | DURATION_DETECTION_FAILED | Could not detect the duration of the uploaded file |
| 400 | VIDEO_TOO_LONG | The media duration exceeds the user’s plan limit |
| 401 | MISSING_API_KEY | API key is required |
| 401 | INVALID_API_KEY | The provided API key is invalid |
| 403 | API_ACCESS_REQUIRED | API access is required for this account |
| 403 | SUBSCRIPTION_REQUIRED | API access requires a paid subscription |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests (limit: 10 requests per minute) |
| 429 | CONCURRENT_TRANSLATION_LIMIT_REACHED | Too many translations in progress (limit: 10 concurrent translations) |
| 500 | INTERNAL_ERROR | Unexpected server error |