Close menu
Explore Plans
Mobile menu Close menu
HeyGen

Translate a video

This action will submit a video to be translated and dubbed into a target language with lip-sync; the finished translation is delivered by the "Video translation finished" trigger.

Developer info

API endpoint slug
heygen.translate_a_video
Filter code method
Heygen.translateAVideo.skip(string?: reason)
Runtime method
runAction("heygen.translate_a_video", {})

Action fields

Source video url Text input

Label
Which video should be translated?
Helper text
URL of the video to translate. It must contain speech and be 360x360 to 4096x4096. Translation uses HeyGen API credits.
Slug
source_video_url
Required
true
Can have default value
true
Filter code method
Heygen.translateAVideo.setSourceVideoUrl(string: source_video_url)

Target language Dropdown list

Label
Translate into which language?
Helper text
The language to dub the video into.
Slug
target_language
Required
true
Can have default value
false

Title Text input > Title

Label
Video title
Helper text
An optional title for the translated video.
Slug
title
Required
false
Can have default value
true
Filter code method
Heygen.translateAVideo.setTitle(string: title)