{
  "template": "tpl_galleryPromo",
  "name": "Product promo",
  "version": 1,
  "canvas": {"w": 1080, "h": 1920, "fps": 30, "duration": 12},
  "variables": {
    "headline": {"type": "text", "max": 40},
    "clip": {"type": "video", "trim": [0, 4]},
    "photo": {"type": "image", "required": true},
    "cta": {"type": "text", "max": 24},
    "logo": {"type": "image", "required": false},
    "music": {"type": "audio", "required": false},
    "brand_color": {"type": "color"}
  },
  "tracks": [
    {
      "id": "V1",
      "kind": "video",
      "clips": [
        {"id": "v1a", "kind": "video", "src": "{{clip}}", "start": 0, "dur": 4},
        {
          "id": "v1b",
          "kind": "image",
          "src": "{{photo}}",
          "start": 4,
          "dur": 5,
          "move": "zoom_in"
        },
        {
          "id": "v1c",
          "kind": "color",
          "src": "{{brand_color}}",
          "start": 9,
          "dur": 3
        }
      ]
    },
    {
      "id": "T1",
      "kind": "text",
      "clips": [
        {
          "id": "t1a",
          "kind": "text",
          "src": "{{headline}}",
          "start": 0.5,
          "dur": 3,
          "size": 110,
          "edge": "top",
          "anim": "fade_in"
        },
        {
          "id": "t1b",
          "kind": "text",
          "src": "{{cta}}",
          "start": 9.2,
          "dur": 2.5,
          "size": 84,
          "edge": "bottom",
          "anim": "slide_up"
        }
      ]
    },
    {
      "id": "O1",
      "kind": "overlay",
      "clips": [
        {
          "id": "o1",
          "kind": "overlay",
          "src": "{{logo}}",
          "start": 0,
          "dur": 12,
          "anim": "fade_in"
        }
      ]
    },
    {
      "id": "A1",
      "kind": "audio",
      "clips": [
        {
          "id": "a1",
          "kind": "audio",
          "src": "{{music}}",
          "start": 0,
          "dur": 12,
          "gain": 0.6,
          "anim": "fade_out"
        }
      ]
    }
  ]
}
