> ## Documentation Index
> Fetch the complete documentation index at: https://www.vozo.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Visual Translate API

The Visual Translate API localizes on-screen text in videos while preserving its layout, style, and animations. Use it to automate visual text translation for presentations, product demos, marketing videos, and other videos with embedded text. The API returns a translated video and can optionally create an editable project in the Vozo web app.

## Inputs

| Field | Values | Requirement | Description |
| - | - | - | - |
| `video_url` | Publicly accessible video URL | Required | URL of the input video. The maximum supported duration is 20 minutes. |
| `source_language` | Supported language code | Required | Source language of the on-screen text. Automatic detection is not supported. |
| `target_language` | Supported language code, with an optional locale | Required | Target language for the translated on-screen text. |
| `glossary_ids` | Array of up to 3 IDs | Optional; Studio plan or higher required | Applies glossaries created in the Vozo web app to keep terminology consistent. |
| `user_prompt` | String | Optional | Provides instructions for the visual text translation style. |
| `project_mode` | `none`, `editable` | Optional | Controls whether an editable Visual Translate project is created in the Vozo web app. Defaults to `none`. |
| `callback_url` | URL | Optional | Receives a webhook whenever the job status changes. |

## Outputs

* translated `video_url`
* `project_url` when `project_mode` is `editable`

## How it works

**1. Host your video at a publicly accessible URL**

Upload your input video so our servers can retrieve it. The video must be no longer than 20 minutes.

**2. Send a visual translation request**

Provide the required inputs and any optional settings needed for the job.

**3. Wait or query status**

Use your webhook callback or poll the API with the returned task ID until processing is complete.

**4. Download the translated video**

When the job is done, retrieve the translated video from the provided URL. If you created an editable project, open the project URL to review or edit it in the web dashboard.

## Usage Limitation

* Only users who can create API Keys may use this API.
* The default concurrency limit is 10 jobs. The limit is shared by all members of a team. See [Concurrency limits](https://www.vozo.ai/docs/api_reference/get_started.md#concurrency-limits) for details.
* Input must be a video file. Audio-only export is not supported.
* The maximum supported input duration is 20 minutes.
* Source language auto-detection is not supported. Pass a supported source language code explicitly.
* Language code follows IETF BCP 47 style, e.g., `en-US`, `zh-CN`, `zh-CN-GUANGXI`.

## API Error Codes

| Code | Description |
| - | - |
| 5 | Invalid request parameters. |
| 7 | No permission to request. |
| 104 | Insufficient credits. |
| 814 | Your account is not a member and is not allowed to call the API. |
| 1000 | Internal Server Error. |
| 1301 | Callback Challenge failed. |
| 1302 | API key has been revoked. |
| 1304 | API key has reached the maximum number of concurrent requests. |
| 1503 | Your account is not authorized to call the API. |

## Job Error Codes

| Code | Description |
| - | - |
| 40002 | Uploaded file has no video stream. |
| 40010 | Transcoding failed. |
| 40050 | Translation failed. |
| 40020 | OCR extraction failed. |
| 40032 | No valid callouts in video. |
| 40040 | Matching ocr to callouts failed. |
| 40041 | Fail to match any callout to ocr. |
| 40060 | Failed to refine callouts. |
| 40061 | Failed to extract style in refine. |
| 40080 | Generating preview video failed. |

## Supported Languages

### Source Languages

Automatic detection is not supported. Pass one of the following language codes:

| Code | Name |
| - | - |
| sq-AL | Albanian |
| ar-EG | Arabic |
| az-AZ | Azerbaijani |
| eu-ES | Basque |
| bs-BA | Bosnian |
| bg-BG | Bulgarian |
| yue-CN | Cantonese |
| ca-ES | Catalan |
| zh-CN | Chinese (Simplified) |
| zh-TW | Chinese (Traditional) |
| hr-HR | Croatian |
| cs-CZ | Czech |
| da-DK | Danish |
| nl-NL | Dutch |
| en-US | English |
| et-EE | Estonian |
| fil-PH | Filipino |
| fi-FI | Finnish |
| fr-FR | French |
| gl-ES | Galician |
| de-DE | German |
| el-GR | Greek |
| hi-IN | Hindi |
| hu-HU | Hungarian |
| is-IS | Icelandic |
| id-ID | Indonesian |
| ga-IE | Irish |
| it-IT | Italian |
| ja-JP | Japanese |
| kk-KZ | Kazakh |
| ko-KR | Korean |
| lv-LV | Latvian |
| lt-LT | Lithuanian |
| mk-MK | Macedonian |
| ms-MY | Malay |
| mt-MT | Maltese |
| mr-IN | Marathi |
| mn-MN | Mongolian |
| ne-NP | Nepali |
| nb-NO | Norwegian |
| fa-IR | Persian |
| pl-PL | Polish |
| pt-PT | Portuguese |
| ro-RO | Romanian |
| ru-RU | Russian |
| sr-RS | Serbian |
| sk-SK | Slovak |
| sl-SI | Slovenian |
| es-ES | Spanish |
| sw-KE | Swahili |
| sv-SE | Swedish |
| ta-IN | Tamil |
| th-TH | Thai |
| tr-TR | Turkish |
| uk-UA | Ukrainian |
| ur-IN | Urdu |
| uz-UZ | Uzbek |
| vi-VN | Vietnamese |

### Target Languages

| Code | Name | Locale variants |
| - | - | - |
| en | English | en-US, en-GB, en-AU, en-CA, en-HK, en-KE, en-NZ, en-NG, en-PH, en-SG, en-ZA, en-TZ, en-IE, en-IN |
| zh | Chinese | zh-CN, zh-HK, zh-TW, zh-CN-shandong, zh-CN-liaoning, zh-CN-sichuan, zh-CN-henan, zh-CN-shaanxi, zh-CN-GUANGXI, zh-wuu |
| es | Spanish | es-ES, es-MX, es-US, es-AR, es-BO, es-CL, es-CO, es-CR, es-CU, es-DO, es-EC, es-SV, es-GQ, es-GT, es-HN, es-NI, es-PA, es-PY, es-PE, es-PR, es-UY, es-VE |
| ar | Arabic | ar-DZ, ar-BH, ar-IQ, ar-JO, ar-KW, ar-LB, ar-LY, ar-MA, ar-OM, ar-QA, ar-SY, ar-TN, ar-AE, ar-YE, ar-EG, ar-SA |
| ru | Russian | |
| pt | Portuguese | pt-PT, pt-BR |
| fr | French | fr-FR, fr-CA, fr-BE, fr-CH |
| de | German | de-DE, de-AT, de-CH, de-GSW |
| ko | Korean | |
| ja | Japanese | |
| hi | Hindi | |
| tr | Turkish | |
| fil | Filipino | |
| fi | Finnish | |
| cs | Czech | |
| da | Danish | |
| nl | Dutch | nl-BE, nl-NL |
| pl | Polish | |
| ro | Romanian | |
| sk | Slovak | |
| sv | Swedish | |
| hr | Croatian | |
| id | Indonesian | |
| it | Italian | |
| bg | Bulgarian | |
| el | Greek | |
| ms | Malay | |
| ta | Tamil | ta-IN, ta-MY, ta-SG, ta-LK |
| uk | Ukrainian | |
| th | Thai | |
| vi | Vietnamese | |
| am | Amharic | |
| bn | Bengali | bn-BD |
| as | Assamese | |
| bs | Bosnian | |
| ca | Catalan | |
| et | Estonian | |
| eu | Basque | |
| gl | Galician | |
| gu | Gujarati | |
| he | Hebrew | |
| hu | Hungarian | |
| iu | Inuktitut | iu-CANS-CA, iu-LATN-CA |
| jv | Javanese | |
| mk | Macedonian | |
| mr | Marathi | |
| nb | Norwegian Bokmål | |
| ne | Nepali | |
| or | Oriya | |
| pa | Punjabi | |
| ps | Pashto | |
| sl | Slovenian | |
| sw | Swahili | sw-KE, sw-TZ |
| te | Telugu | |
| ur | Urdu | ur-IN, ur-PK |
| zu | Zulu | |
| af | Afrikaans | |
| az | Azerbaijani | |
| cy | Welsh | |
| fa | Persian | |
| ga | Irish | |
| hy | Armenian | |
| is | Icelandic | |
| ka | Georgian | |
| kk | Kazakh | |
| km | Khmer | |
| kn | Kannada | |
| lo | Lao | |
| lt | Lithuanian | |
| lv | Latvian | |
| ml | Malayalam | |
| mn | Mongolian | |
| mt | Maltese | |
| my | Burmese | |
| si | Sinhala | |
| so | Somali | |
| sq | Albanian | |
| sr | Serbian | |
| su | Sundanese | |
| uz | Uzbek | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.