Generate Preview video from link
About preview Field in the Response
The preview field provides a link to preview the video. This link allows you to preview the video before rendering it, you can put it in an iframe to show the video in your application. Example: The preview field in the response will look like this:
About override_avatar parameter
When using ‘create video from link’ API, if the ‘override_avatar’ (avatar_id
is passed in the parameters, we will use it as the avatar of the video. If the ‘override_avatar’ is not passed, we will use the matched avatar for the video.
avatar_id
is the unique identifier of an avatar. You can get the avatar_id
by calling the Get avatar endpoint.
About override_voice parameter
When using ‘create video from link’ API, if the ‘override_voice’ is passed in the parameters, we will use it for the voiceover of the video. If the ‘override_voice’ is not passed, we’ll use the matched voice (from the avatar) for the video.
voice_id
is the unique identifier of the voice. You can get the voice_id by calling the Get voices interface.
Tips: foreach voice has multiple accents, you can choose one from the accents as the voice of the video.
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Body
255
255
255
ar
- Arabicbg
- Bulgariancs
- Czechda
- Danishde
- Germanel
- Greek, Modernen
- Englishes
- Spanish; Castilianfi
- Finnishfr
- Frenchhi
- Hindihr
- Croatianid
- Indonesianit
- Italianja
- Japaneseko
- Koreanms
- Malaynl
- Dutchpl
- Polishpt
- Portuguesero
- Romanian, Moldavian, Moldovanru
- Russiansk
- Slovaksv
- Swedishta
- Tamiltl
- Tagalogtr
- Turkishuk
- Ukrainianzh
- Chinese
ar
, bg
, cs
, da
, de
, el
, en
, es
, fi
, fr
, hi
, hr
, id
, it
, ja
, ko
, ms
, nl
, pl
, pt
, ro
, ru
, sk
, sv
, ta
, tl
, tr
, uk
, zh
15
- 1530
- 3060
- 60
15
, 30
, 60
16x9
- 16x91x1
- 1x19x16
- 9x16
16x9
, 1x1
, 9x16
DiscoveryWriter
- DiscoveryDontWorryWriter
- Don't WorryEmotionalWriter
- EmotionalGenzWriter
- Gen ZLetMeShowYouWriter
- Let Me Show YouMotivationalWriter
- MotivationalNarrationWriter
- Music StarterProblemSolutionWriter
- Problem-SolutionResponseBubbleWriter
- Response BubbleStoryTimeWriter
- StorytimeThreeReasonsWriter
- 3 Reasons WhyDIY
- DIY
DiscoveryWriter
, DontWorryWriter
, EmotionalWriter
, GenzWriter
, LetMeShowYouWriter
, MotivationalWriter
, NarrationWriter
, ProblemSolutionWriter
, ResponseBubbleWriter
, StoryTimeWriter
, ThreeReasonsWriter
, DIY
AvatarBubbleTemplate
- Avatar BubbleDramaticTemplate
- DramaticDynamicProductTemplate
- ProductDynamicResponseBubbleTemplate
- Response BubbleFullScreenTemplate
- Full ScreenGreenScreenEffectTemplate
- Green Screen EffectMotionCardsTemplate
- Motion CardsOverCardsTemplate
- Over CardsQuickTransitionTemplate
- Quick TransitionScribbleTemplate
- ScribbleSideBySideTemplate
- Side by SideTopBottomTemplate
- Top & BottomTwitterFrameTemplate
- Twitter FrameVanillaTemplate
- VanillaVlogTemplate
- Vlog
AvatarBubbleTemplate
, DramaticTemplate
, DynamicProductTemplate
, DynamicResponseBubbleTemplate
, FullScreenTemplate
, GreenScreenEffectTemplate
, MotionCardsTemplate
, OverCardsTemplate
, QuickTransitionTemplate
, ScribbleTemplate
, SideBySideTemplate
, TopBottomTemplate
, TwitterFrameTemplate
, VanillaTemplate
, VlogTemplate
255
255
200
normal-black
- NORMAL_BLACKnormal-white
- NORMAL_WHITEnormal-red
- NORMAL_REDnormal-blue
- NORMAL_BLUEneo
- NEObrick
- BRICKfrenzy
- FRENZYverana
- VERANAmustard
- MUSTARDglow
- GLOWmint
- MINTcoolers
- COOLERSbilo
- BILOtoons
- TOONSdeep-blue
- DEEP_BLUEmystique
- MYSTIQUEcaution
- CAUTIONduality
- DUALITY
normal-black
, normal-white
, normal-red
, normal-blue
, neo
, brick
, frenzy
, verana
, mustard
, glow
, mint
, coolers
, bilo
, toons
, deep-blue
, mystique
, caution
, duality
Position of the caption, only center is supported for now, default to null
center
- Center
center
Caption offset x is horizontaly relative to the center of the canvas in percentage, range from -0.5 to 0.5, default to null
Caption offset y is vertically relative to the center of the canvas in percentage, range from -0.5 to 0.5, default to null
Response
pending
- Pendingin_queue
- In Queuerunning
- Runningfailed
- Faileddone
- Donerejected
- Rejected
pending
, in_queue
, running
, failed
, done
, rejected
255
255
255
ar
- Arabicbg
- Bulgariancs
- Czechda
- Danishde
- Germanel
- Greek, Modernen
- Englishes
- Spanish; Castilianfi
- Finnishfr
- Frenchhi
- Hindihr
- Croatianid
- Indonesianit
- Italianja
- Japaneseko
- Koreanms
- Malaynl
- Dutchpl
- Polishpt
- Portuguesero
- Romanian, Moldavian, Moldovanru
- Russiansk
- Slovaksv
- Swedishta
- Tamiltl
- Tagalogtr
- Turkishuk
- Ukrainianzh
- Chinese
ar
, bg
, cs
, da
, de
, el
, en
, es
, fi
, fr
, hi
, hr
, id
, it
, ja
, ko
, ms
, nl
, pl
, pt
, ro
, ru
, sk
, sv
, ta
, tl
, tr
, uk
, zh
15
- 1530
- 3060
- 60
15
, 30
, 60
16x9
- 16x91x1
- 1x19x16
- 9x16
16x9
, 1x1
, 9x16
DiscoveryWriter
- DiscoveryDontWorryWriter
- Don't WorryEmotionalWriter
- EmotionalGenzWriter
- Gen ZLetMeShowYouWriter
- Let Me Show YouMotivationalWriter
- MotivationalNarrationWriter
- Music StarterProblemSolutionWriter
- Problem-SolutionResponseBubbleWriter
- Response BubbleStoryTimeWriter
- StorytimeThreeReasonsWriter
- 3 Reasons WhyDIY
- DIY
DiscoveryWriter
, DontWorryWriter
, EmotionalWriter
, GenzWriter
, LetMeShowYouWriter
, MotivationalWriter
, NarrationWriter
, ProblemSolutionWriter
, ResponseBubbleWriter
, StoryTimeWriter
, ThreeReasonsWriter
, DIY
AvatarBubbleTemplate
- Avatar BubbleDramaticTemplate
- DramaticDynamicProductTemplate
- ProductDynamicResponseBubbleTemplate
- Response BubbleFullScreenTemplate
- Full ScreenGreenScreenEffectTemplate
- Green Screen EffectMotionCardsTemplate
- Motion CardsOverCardsTemplate
- Over CardsQuickTransitionTemplate
- Quick TransitionScribbleTemplate
- ScribbleSideBySideTemplate
- Side by SideTopBottomTemplate
- Top & BottomTwitterFrameTemplate
- Twitter FrameVanillaTemplate
- VanillaVlogTemplate
- Vlog
AvatarBubbleTemplate
, DramaticTemplate
, DynamicProductTemplate
, DynamicResponseBubbleTemplate
, FullScreenTemplate
, GreenScreenEffectTemplate
, MotionCardsTemplate
, OverCardsTemplate
, QuickTransitionTemplate
, ScribbleTemplate
, SideBySideTemplate
, TopBottomTemplate
, TwitterFrameTemplate
, VanillaTemplate
, VlogTemplate
255
255
200
normal-black
- NORMAL_BLACKnormal-white
- NORMAL_WHITEnormal-red
- NORMAL_REDnormal-blue
- NORMAL_BLUEneo
- NEObrick
- BRICKfrenzy
- FRENZYverana
- VERANAmustard
- MUSTARDglow
- GLOWmint
- MINTcoolers
- COOLERSbilo
- BILOtoons
- TOONSdeep-blue
- DEEP_BLUEmystique
- MYSTIQUEcaution
- CAUTIONduality
- DUALITY
normal-black
, normal-white
, normal-red
, normal-blue
, neo
, brick
, frenzy
, verana
, mustard
, glow
, mint
, coolers
, bilo
, toons
, deep-blue
, mystique
, caution
, duality
Position of the caption, only center is supported for now, default to null
center
- Center
center
Caption offset x is horizontaly relative to the center of the canvas in percentage, range from -0.5 to 0.5, default to null
Caption offset y is vertically relative to the center of the canvas in percentage, range from -0.5 to 0.5, default to null