Skip to main content

Inputs & Outputs

Input:
  • video_url
  • source language & target language
  • [optional] glossary_ids
  • [optional] user_prompt
  • [optional] project_mode
Output:
  • 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

Include the source and target language codes, and optional glossary IDs or prompt instructions for terminology and style.
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 video_url. If you created an editable project, open project_url to review or edit it in the web dashboard.

Usage Limitation

  • Only users who can create API Keys may use this API.
  • Studio plan is required; non-Studio users are not allowed.
  • 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

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

Job Error Codes

CodeDescription
40002Uploaded file has no video stream.
40010Transcoding failed.
40050Translation failed.
40020OCR extraction failed.
40032No valid callouts in video.
40040Matching ocr to callouts failed.
40041Fail to match any callout to ocr.
40060Failed to refine callouts.
40061Failed to extract style in refine.
40080Generating preview video failed.
Last modified on July 9, 2026