Skip to main content

Import

Quick Reference


Container Components

Render

Root container for video composition. Required for all videos.
Common resolutions:

Clip

Time segment container. Clips play sequentially.
Transition options:
67 GL-transitions available.

Media Components

Image

AI-generated or static image.
Element function props: Component props:

Video

AI-generated or source video.
Video.duration controls AI generation length. Clip.duration controls how long the clip appears in the final composition. For source videos, use Clip.duration, cutFrom, and cutTo for timeline and trimming behavior. Prompt formats:

Speech

Text-to-speech voiceover.
Available voices: rachel, adam, bella, josh, sam, antoni, elli, arnold, domi

Music

Background music generation.

Text Components

Title

Text overlay on video.

Captions

Auto-generated subtitles from speech.
Caption styles:

Layout Components

Overlay

Positioned layer on top of content.
For a video directly inside a Clip, set keepAudio on Video. For a video inside an Overlay, set keepAudio on Overlay.

Split

Side-by-side layout.

SplitLayout

Before/after comparison layout.

Grid

Grid layout for multiple items.

Slider

Before/after reveal slider.

Swipe

Tinder-style card swipe.

Special Components

TalkingHead

Complete talking character with automatic lipsync.

Packshot

End card with call-to-action.

FFmpeg processing

Slice

Split a video into segments with automatic first-frame extraction. Returns an array of segments, each with a video URL, full-resolution first frame (JPEG), and 480px thumbnail (WebP).
Four split modes are available:
Element function props Exactly one of every, at, count, or ranges must be provided. Segment properties Each segment in the returned array has: