AI Translate API
Overview
The AI Translate API allows you to translate videos from one language to another with or without synchronized mouth movements (lipdub). We support translating into 30+ languages for videos with a single speaker.
Choose your language
Use the /supported-languages
path to list the available languages you can translate your video to.
Translate your video
Use the /submit
path to translate your video with or without Lipdub.
Requirements to using the API
To use the Captions API, you must:
-
Accept the Captions API Terms
-
Have enough credits to complete your request
Usage, credits, and limitations
-
The AI Translate API consumes 1 credit per second of video
-
For example, translating a 30-second video would consume 30 credits
-
You can view remaining credits and purchase additional credits on the API Dashboard.
-
The maximum length of a video you can translate without Lipdub is 5 minute.
-
The maximum length of a video you can translate with Lipdub is 1 minute.
Instructions
/supported-languages
List languages supported to be used for translation.
Request
Response Types
/submit
Begin the video translation process.
Request
videoUrl
- required - Link to the video to be translated. Please note that your video can be hosted anywhere, but must be a publicly available direct link. If you would like to upload a Google Drive link, please read these instructions.
sourceLanguage
- required - Language spoken in the original video.
targetLanguage
- required - Language desired in the translated video.
translateAudioOnly
- optional - Default value is false
. If the video doesn’t contain faces or you only want to dub the audio, set this to true
.
Response Types
/poll
Check the status of an AI Translate video generation.
Request
We recommend polling first after 30 seconds, and every 5 seconds thereafter.
Response Types
Frequently Asked Questions
Was this page helpful?