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 GBamerican english, arabic, brazilian portuguese, british english, bulgarian, canadian french, chinese, croatian, czech, danish, dutch, finnish, french, german, greek, hindi, hungarian, indonesian, italian, japanese, korean, malay, mandarin, norwegian, polish, portuguese, romanian, russian, slovak, spanish, swedish, tagalog, tamil, turkish, ukrainian, vietnameseen, es, fr, de, ja, zh).Default: auto-detectPOST /v1/translate but ignored by this endpoint.POST /v1/translate but ignored by this endpoint.POST /v1/translate but ignored by this endpoint.POST /v1/translate but ignored by this endpoint.POST /v1/translate but ignored by this endpoint.POST /v1/translate if you need lip sync after translation.| 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 |
| 400 | INVALID_BOOLEAN_VALUE | A boolean parameter has an invalid value (use “true” or “false”) |
| 400 | INVALID_JSON_FORMAT | The voiceCloningSettings JSON is malformed |
| 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 |