{
  "template": "tpl_galleryUgc",
  "name": "UGC ad",
  "version": 1,
  "canvas": {"w": 1080, "h": 1920, "fps": 30, "duration": 12},
  "variables": {
    "hook": {"type": "text", "max": 40},
    "clip": {"type": "video", "required": true},
    "photo": {"type": "image", "required": true},
    "cta": {"type": "text", "max": 24},
    "brand_color": {"type": "color"},
    "logo": {"type": "image", "required": false}
  },
  "tracks": [
    {"id": "V1", "kind": "video", "clips": [
      {"id": "clip", "kind": "video", "src": "{{clip}}", "start": 0, "dur": 5, "gain": 1, "normalize": true},
      {"id": "photo", "kind": "image", "src": "{{photo}}", "start": 5, "dur": 4, "move": "zoom_in"},
      {"id": "card", "kind": "color", "src": "{{brand_color}}", "start": 9, "dur": 3, "anim": "fade_in"}
    ]},
    {"id": "T1", "kind": "text", "clips": [
      {"id": "hook", "kind": "text", "src": "{{hook}}", "start": 0, "dur": 3, "size": 96, "edge": "top", "anim": "fade_in"},
      {"id": "cta", "kind": "text", "src": "{{cta}}", "start": 9.3, "dur": 2.6, "size": 96, "edge": "bottom", "anim": "slide_up"}
    ]},
    {"id": "O1", "kind": "overlay", "clips": [
      {"id": "logo", "kind": "overlay", "src": "{{logo}}", "start": 0, "dur": 12, "anim": "fade_in"}
    ]}
  ]
}
