{
  "name": "Weekly offer",
  "template": {
    "timeline": {
      "background": "#000000",
      "tracks": [
        {
          "clips": [
            {
              "asset": {
                "type": "rich-text",
                "text": "{{ PRODUCT }}",
                "font": {
                  "family": "Roboto",
                  "size": 56,
                  "weight": 700,
                  "color": "#ffffff"
                },
                "background": {
                  "color": "#000000",
                  "opacity": 0.55,
                  "borderRadius": 20
                },
                "align": {
                  "horizontal": "center",
                  "vertical": "middle"
                }
              },
              "start": 0,
              "length": "end",
              "width": 900,
              "height": 120,
              "position": "top",
              "offset": {
                "x": 0,
                "y": -0.06
              }
            }
          ]
        },
        {
          "clips": [
            {
              "asset": {
                "type": "rich-text",
                "text": "{{ OFFER }}",
                "font": {
                  "family": "Roboto",
                  "size": 64,
                  "weight": 800,
                  "color": "#ffffff"
                },
                "background": {
                  "color": "#000000",
                  "opacity": 0.7,
                  "borderRadius": 24
                },
                "align": {
                  "horizontal": "center",
                  "vertical": "middle"
                }
              },
              "start": 0,
              "length": "end",
              "width": 900,
              "height": 180,
              "position": "bottom",
              "offset": {
                "x": 0,
                "y": 0.06
              }
            }
          ]
        },
        {
          "clips": [
            {
              "asset": {
                "type": "image",
                "src": "{{ PHOTO_URL }}"
              },
              "start": 0,
              "length": "end",
              "fit": "contain",
              "scale": 0.55,
              "transition": {
                "in": "fade"
              }
            }
          ]
        },
        {
          "clips": [
            {
              "asset": {
                "type": "image",
                "src": "{{ BACKGROUND_URL }}"
              },
              "start": 0,
              "length": "{{ DURATION }}",
              "effect": "zoomInSlow"
            }
          ]
        }
      ]
    },
    "output": {
      "format": "mp4",
      "size": {
        "width": 1080,
        "height": 1080
      }
    }
  }
}
