Using Templates
Terminal
index.html composition and any required assets.
Available Templates
- blank
- title-card
- video-edit
blank
An empty 1920x1080 composition with a GSAP timeline wired up and nothing else. Start from scratch.What it produces: A black (empty) canvas at 1920x1080 resolution. No visible elements, no animations. The timeline is registered and ready for you to add tweens.When to use it: You have a specific design in mind and want full control. Good for AI agent workflows that will generate the entire composition programmatically.Terminal
Choosing a Template
| Template | Best for | Complexity |
|---|---|---|
blank | Full control, agent-generated compositions | Minimal |
title-card | Text intros, outros, chapter markers | Simple |
video-edit | Video cutting, overlays, multi-track editing | Moderate |
Custom Templates
Any directory with anindex.html can serve as a template. You can copy a directory manually or build your own init workflow.
Your custom template needs:
- An
index.htmlwith adata-composition-idroot element - A GSAP timeline registered in
window.__timelines - Any assets in the same directory or a subdirectory
index.html
Terminal
Next Steps
Quickstart
Create, preview, and render your first video
GSAP Animation
Add animations to your template
Compositions
Understand the composition data model
Rendering
Render your composition to MP4