{
  "schemaVersion": "1.3",
  "kind": "template",
  "id": "productpulse-app",
  "variantId": "productpulse-app",
  "template": "productpulse",
  "engine": "remotion",
  "engineLabel": "Remotion",
  "title": "App Product Pulse",
  "url": "https://cliphou.se/templates/productpulse-app/",
  "editorUrl": "https://cliphou.se/#/v/productpulse-app",
  "templateVersion": 1,
  "latestTemplateVersion": 1,
  "sourceHash": "24b0328cc293b6a4",
  "generation": {
    "model": "GPT-5",
    "modelId": "gpt-5",
    "provider": "OpenAI",
    "effort": "medium"
  },
  "siteCommit": "1339c8397c731da9921c763821bea988e0126bbf",
  "license": "MIT-0",
  "licenseUrl": "https://cliphou.se/license/",
  "price": "Free",
  "attributionRequired": false,
  "format": {
    "aspectRatio": "9:16",
    "width": 1080,
    "height": 1920,
    "fps": 30,
    "durationInFrames": 300,
    "seconds": 10
  },
  "scenes": [
    {
      "type": "title-reveal",
      "label": "Title reveal",
      "from": 0,
      "duration": 120,
      "roles": [
        "brand",
        "headline"
      ]
    },
    {
      "type": "list",
      "label": "List",
      "from": 120,
      "duration": 120,
      "roles": [
        "point1",
        "point2",
        "point3"
      ]
    },
    {
      "type": "end-screen",
      "label": "End screen",
      "from": 240,
      "duration": 60,
      "roles": [
        "cta"
      ]
    }
  ],
  "props": {
    "texts": {
      "brand": "Lumen",
      "headline": "Notes that think",
      "point1": "Instant sync",
      "point2": "Smart search",
      "point3": "Offline first",
      "cta": "Get the app"
    },
    "theme": {
      "background": "#f6f3ee",
      "surface": "#e7e0d4",
      "foreground": "#14161a",
      "accent": "#2f5bff",
      "accent2": "#ff7a45"
    },
    "hidden": [],
    "audio": {
      "enabled": true
    }
  },
  "editableFields": {
    "texts": {
      "brand": {
        "label": "Brand",
        "maxLength": 18,
        "current": "Lumen"
      },
      "headline": {
        "label": "Headline",
        "maxLength": 24,
        "current": "Notes that think"
      },
      "point1": {
        "label": "Point 1",
        "maxLength": 16,
        "current": "Instant sync"
      },
      "point2": {
        "label": "Point 2",
        "maxLength": 16,
        "current": "Smart search"
      },
      "point3": {
        "label": "Point 3",
        "maxLength": 16,
        "current": "Offline first"
      },
      "cta": {
        "label": "Call to action",
        "maxLength": 20,
        "current": "Get the app"
      }
    },
    "theme": {
      "background": {
        "format": "#RRGGBB",
        "current": "#f6f3ee"
      },
      "surface": {
        "format": "#RRGGBB",
        "current": "#e7e0d4"
      },
      "foreground": {
        "format": "#RRGGBB",
        "current": "#14161a"
      },
      "accent": {
        "format": "#RRGGBB",
        "current": "#2f5bff"
      },
      "accent2": {
        "format": "#RRGGBB",
        "current": "#ff7a45"
      }
    },
    "hidden": {
      "format": "List of optional text roles",
      "options": [
        "point3"
      ],
      "current": [],
      "note": "Hidden roles disappear with their accent notes. brand, headline, and cta cannot be hidden."
    },
    "audio": {
      "format": "{\"enabled\": boolean}",
      "current": {
        "enabled": true
      },
      "note": "When enabled, the MP4 includes the generated score as AAC 48 kHz stereo audio."
    }
  },
  "music": {
    "bpm": 120,
    "meter": "4/4",
    "bars": 5,
    "seconds": 10,
    "scenes": [
      {
        "type": "title-reveal",
        "bars": 2,
        "roles": [
          "brand",
          "headline"
        ]
      },
      {
        "type": "list",
        "bars": 2,
        "roles": [
          "point1",
          "point2",
          "point3"
        ]
      },
      {
        "type": "end-screen",
        "bars": 1,
        "roles": [
          "cta"
        ]
      }
    ],
    "accentSlots": [
      {
        "role": "brand",
        "scene": 0,
        "beat": 0,
        "beats": 1,
        "maxHits": 1
      },
      {
        "role": "headline",
        "scene": 0,
        "beat": 1,
        "beats": 3,
        "maxHits": 4
      },
      {
        "role": "point1",
        "scene": 1,
        "beat": 0,
        "beats": 1,
        "maxHits": 2
      },
      {
        "role": "point2",
        "scene": 1,
        "beat": 1,
        "beats": 1,
        "maxHits": 2
      },
      {
        "role": "point3",
        "scene": 1,
        "beat": 2,
        "beats": 1.5,
        "maxHits": 3
      },
      {
        "role": "cta",
        "scene": 2,
        "beat": 0,
        "beats": 1,
        "maxHits": 2
      }
    ],
    "loudness": "-14 LUFS integrated, -1 dBTP ceiling",
    "sampleRate": 48000,
    "note": "Text edits change only accent notes inside each role's slot. Tempo, bars, scene timing, and length never change."
  },
  "jsonSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "texts": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "string",
            "minLength": 1,
            "maxLength": 18,
            "role": "brand"
          },
          "headline": {
            "type": "string",
            "minLength": 1,
            "maxLength": 24,
            "role": "headline"
          },
          "point1": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "role": "point1"
          },
          "point2": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "role": "point2"
          },
          "point3": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "role": "point3"
          },
          "cta": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "role": "cta"
          }
        },
        "required": [
          "brand",
          "headline",
          "point1",
          "point2",
          "point3",
          "cta"
        ],
        "additionalProperties": false
      },
      "theme": {
        "type": "object",
        "properties": {
          "background": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "background"
          },
          "surface": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "surface"
          },
          "foreground": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "foreground"
          },
          "accent": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "accent"
          },
          "accent2": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "accent2"
          }
        },
        "required": [
          "background",
          "surface",
          "foreground",
          "accent",
          "accent2"
        ],
        "additionalProperties": false
      },
      "hidden": {
        "maxItems": 1,
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "point3"
          ]
        },
        "kind": "hidden",
        "options": [
          "point3"
        ],
        "required": [
          "brand",
          "headline",
          "cta"
        ]
      },
      "audio": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "texts",
      "theme",
      "hidden",
      "audio"
    ],
    "additionalProperties": false
  },
  "handoff": {
    "urlTemplate": "https://cliphou.se/#/v/productpulse-app?props=<url-encoded props JSON>",
    "example": "https://cliphou.se/#/v/productpulse-app?props=%7B%22texts%22%3A%7B%22brand%22%3A%22Lumen%22%2C%22headline%22%3A%22Notes%20that%20think%22%2C%22point1%22%3A%22Instant%20sync%22%2C%22point2%22%3A%22Smart%20search%22%2C%22point3%22%3A%22Offline%20first%22%2C%22cta%22%3A%22Get%20the%20app%22%7D%2C%22theme%22%3A%7B%22background%22%3A%22%23f6f3ee%22%2C%22surface%22%3A%22%23e7e0d4%22%2C%22foreground%22%3A%22%2314161a%22%2C%22accent%22%3A%22%232f5bff%22%2C%22accent2%22%3A%22%23ff7a45%22%7D%2C%22hidden%22%3A%5B%5D%2C%22audio%22%3A%7B%22enabled%22%3Atrue%7D%7D",
    "maxEncodedLength": 8000,
    "note": "cliphou.se validates the props before it opens them. Invalid props are rejected and never saved."
  },
  "source": {
    "package": "https://cliphou.se/source/productpulse/v1.tar.gz",
    "packageSha256": "4ea4134ef8a3bf672406d9e7c32c82fdcb9096740fa98b9eb153833d4d653c0b",
    "templateVersion": 1,
    "renderCommand": "npm ci && node music/render.mjs",
    "repository": "https://github.com/sunmer/voodoo",
    "path": "src/videos/productpulse/",
    "contents": "Remotion component, schema, scene metadata, shared helpers, exact dependency versions, lockfile, example props, the score, audio generator, generated WAV, render script, and MIT-0 license. Fonts install from pinned Fontsource packages.",
    "note": "Rendering uses Remotion, which has separate license terms: https://remotion.dev/license"
  },
  "instructions": [
    "For text, color, and image edits, change only props.texts, props.theme, and props.media when present. Keep each text within maxLength, each color as #RRGGBB, and each image as one of its listed options.",
    "For music templates, props.hidden lists optional roles to remove and props.audio.enabled turns the score on or off in the MP4.",
    "Return text and color edits as handoff.urlTemplate with the props JSON URL-encoded.",
    "For layout, motion, timing, or scene edits, download source.package, extract it, and edit the code.",
    "Render the source package with source.renderCommand. Edit props.json to change text and colors.",
    "Never send code through the handoff URL. It accepts props only."
  ]
}
