Element Reference
Template Element
1. Shape
interface TemplateClip extends BaseClip {
type: "template";
template: string;
data?: Record<string, unknown>;
}2. Supported template names
Current documented names:
product-introslideshowsubtitle-videotalking-headcomparisoncountdowntext-revealnewsquotelist
3. Runtime boundary
template clips expand into normal clips at runtime. The exact generated structure depends on the selected template and its data.
Template-level inheritance of transform, style, animations, keyframes, or transition is not documented as a stable child-clip behavior.
4. Example
{
"type": "template",
"template": "talking-head",
"start": 0,
"duration": 6,
"data": {
"src": { "$ref": "host" },
"words": { "$ref": "sub-main" },
"title": "Weekly Update",
"speaker": "Alex Chen",
"role": "Founder",
"showLowerThird": true
}
}