{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "pip", "description": "Picture-in-picture: a second video in a print-bordered, shadowed frame that springs into the corner",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#131210",
    "layers": [
      { "id": "main", "type": "video", "src": "assets/clip.mp4", "width": "100%", "height": "100%", "muted": true,
        "saturation": 0.2, "brightness": 0.4 },
      { "id": "inset", "type": "group", "width": 384, "height": 216, "anchor": "bottom-right", "x": 1232, "y": 672,
        "start": "0.4s", "scale": { "from": 0.6, "to": 1, "spring": { "damping": 13 } },
        "enter": { "type": "fade", "duration": "0.3s" }, "shadow": { "color": "#000a", "blur": 30, "y": 12 },
        "children": [
          { "id": "border", "type": "rect", "width": 400, "height": 232, "cornerRadius": 4, "fill": "#efebe2" },
          { "id": "cam", "type": "video", "src": "assets/clip.mp4", "trimStart": "3s", "width": 384, "height": 216,
            "cornerRadius": 2, "muted": true, "saturation": 0.4, "brightness": 0.85 },
          { "id": "tag", "type": "text", "text": "LIVE", "font": "JetBrains Mono", "fontSize": 14, "fontWeight": 700, "letterSpacing": 2,
            "fill": "#efebe2", "background": "#f05a4e", "padding": 8, "cornerRadius": 2, "anchor": "top-left", "x": 14, "y": 14 }
        ] }
    ]
  }]
}
