Typed variables
Declare strings, numbers, booleans, URLs, colors and enums with defaults. Values are type-checked at render time — a bad value fails fast with the exact path.
movie.variables
Save a movie as a template with typed variables, then render personalized videos from data with a single API call.
Declare strings, numbers, booleans, URLs, colors and enums with defaults. Values are type-checked at render time — a bad value fails fast with the exact path.
Design once in the editor, save as a template, and render it from the API with nothing but a variables object.
Map a CSV row, a CRM record or a webhook payload onto variables and render a personalized video per record.
A referenced-but-undeclared variable is an error, not a silent blank. Unused declarations are flagged too.
Start from ready-made templates for shorts, promos and slideshows, then make them yours.
Templates are documents — diff them, review them, store them in git alongside the code that renders them.
{
"variables": {
"customerName": { "type": "string" },
"discount": { "type": "number", "default": 10 },
"productImage": { "type": "url" }
},
"scenes": [
{
"id": "offer",
"elements": [
{
"id": "greeting",
"type": "text",
"text": "{{customerName}}, here's {{discount}}% off"
}
]
}
]
}