Editor Architecture
Asset → Clip → Track → Timeline- Asset: Raw content (what to show)
- Clip: Presentation control (how to show it)
- Track: Layering container (for stacking multiple clips)
- Timeline: Final composition (the output video)
Clip Parameters
Core Parameters
| Parameter | Type | Description |
|---|---|---|
| asset | Asset | The content to display (VideoAsset, ImageAsset, AudioAsset, TextAsset, CaptionAsset) |
| duration | float | Clip length in seconds |
Geometry Parameters
| Parameter | Type | Description |
|---|---|---|
| fit | Fit | Scaling behavior: Fit.crop, Fit.contain, Fit.cover, Fit.none |
| position | Position | Anchor point (9 zones: top_left, center, bottom_right, etc.) |
| offset | Offset | Fine-tune position with x/y coordinates |
| scale | float | Size multiplier (0.0 to 10.0, default: 1.0) |
Visual Effect Parameters
| Parameter | Type | Description |
|---|---|---|
| filter | Filter | Color treatment (greyscale, blur, contrast, etc.) |
| opacity | float | Transparency (0.0 = invisible, 1.0 = opaque) |
| transition | Transition | Fade in_/out effects |
Scale Parameter
The scale parameter is a size multiplier applied after fit mode. First, the fit mode handles the aspect ratio and scales your content to match the timeline, then scale multiplies that result. This is useful for creating picture-in-picture effects (scale=0.3 for a tiny corner video) or zoom effects (scale=1.5 to enlarge).0.0 to 10.0 (default: 1.0)
Example with scale=0.5 and Position.top_left
Opacity Parameter
The opacity parameter controls transparency, letting you create semi-transparent overlays, subtle watermarks, or fade effects. At1.0 your clip is fully solid, at 0.5 it’s half-transparent, and at 0.0 it’s completely invisible.
0.0 (invisible) to 1.0 (opaque)
Example with opacity=0.3
Filter Parameter
The filter parameter applies color and visual treatments to your clip. These are global effects that change the entire clip’s appearance - you can make it black and white, blur it for backgrounds, adjust contrast, or create stylistic looks. Each clip can have one filter applied.Filter.greyscale
Transition Parameter
The transition parameter controls fade in/out effects, making your clips appear and disappear smoothly instead of cutting abruptly. The fade happens over the first and last N seconds of your clip - so a 2-second fade means the first 2 seconds gradually appear, and the last 2 seconds gradually disappear.in_: Transition type for entry (usein_with underscore becauseinis a Python keyword)out: Transition type for exitduration: Length of transition in seconds
Complete Example
Here’s a clip using multiple parameters:Parameter Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
| asset | Asset | Required | Content to display |
| duration | float | Required | Clip length in seconds |
| fit | Fit | Fit.crop | Scaling mode |
| position | Position | None | Anchor point (9 zones) |
| offset | Offset | None | Fine position adjustment |
| scale | float | 1.0 | Size multiplier (0.0-10.0) |
| opacity | float | 1.0 | Transparency (0.0-1.0) |
| filter | Filter | None | Color treatment |
| transition | Transition | None | Fade effects |
What You Can Build
Intro & Outro Automation
Use clip positioning and transitions for seamless brand intros
Brand Elements
Overlay logos and watermarks with opacity and positioning
TikTok Lyric Videos
Combine clips with text overlays and visual effects
Faceless Video Creator
Layer multiple clips with filters and transitions
Next Steps
Clip Control Layer
Hands-on experimentation with all Clip parameters, effects, and transitions.