{
  "schemaVersion": "1.2",
  "kind": "template",
  "id": "credits-rolling",
  "variantId": "credits-rolling",
  "template": "credits",
  "title": "Rolling End Credits",
  "url": "https://cliphou.se/templates/credits-rolling/",
  "editorUrl": "https://cliphou.se/#/v/credits-rolling",
  "templateVersion": 1,
  "latestTemplateVersion": 1,
  "sourceHash": "42de30123aca7b4a",
  "generation": {
    "model": "Claude Opus 5.5",
    "modelId": "claude-opus-5-5",
    "provider": "Anthropic",
    "effort": "medium"
  },
  "siteCommit": "27d0f0df8e4cf1d189d78476bbbb4d8c7f2dacaa",
  "license": "MIT-0",
  "licenseUrl": "https://cliphou.se/license/",
  "price": "Free",
  "attributionRequired": false,
  "format": {
    "aspectRatio": "16:9",
    "width": 1920,
    "height": 1080,
    "fps": 30,
    "durationInFrames": 360,
    "seconds": 12
  },
  "scenes": [
    {
      "type": "credits",
      "label": "Credits",
      "from": 0,
      "duration": 270,
      "roles": [
        "headline",
        "items"
      ]
    },
    {
      "type": "end-screen",
      "label": "End screen",
      "from": 270,
      "duration": 90,
      "roles": [
        "brand",
        "cta"
      ]
    }
  ],
  "props": {
    "texts": {
      "headline": "A film by North Light",
      "items": "Director: Mara Chen, Editor: Leo Park, Music: Sol Rivera, Camera: Ana Ruiz, Sound: Ben Ito",
      "brand": "NORTH LIGHT",
      "cta": "Thanks for watching"
    },
    "theme": {
      "background": "#050505",
      "surface": "#151515",
      "foreground": "#f4efe6",
      "accent": "#c9a45c",
      "accent2": "#e05d44"
    }
  },
  "editableFields": {
    "texts": {
      "headline": {
        "label": "Headline",
        "maxLength": 24,
        "current": "A film by North Light"
      },
      "items": {
        "label": "List",
        "maxLength": 120,
        "format": "Separate 2 to 6 items with commas.",
        "current": "Director: Mara Chen, Editor: Leo Park, Music: Sol Rivera, Camera: Ana Ruiz, Sound: Ben Ito"
      },
      "brand": {
        "label": "Brand",
        "maxLength": 18,
        "current": "NORTH LIGHT"
      },
      "cta": {
        "label": "Call to action",
        "maxLength": 20,
        "current": "Thanks for watching"
      }
    },
    "theme": {
      "background": {
        "format": "#RRGGBB",
        "current": "#050505"
      },
      "surface": {
        "format": "#RRGGBB",
        "current": "#151515"
      },
      "foreground": {
        "format": "#RRGGBB",
        "current": "#f4efe6"
      },
      "accent": {
        "format": "#RRGGBB",
        "current": "#c9a45c"
      },
      "accent2": {
        "format": "#RRGGBB",
        "current": "#e05d44"
      }
    }
  },
  "jsonSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "texts": {
        "type": "object",
        "properties": {
          "headline": {
            "type": "string",
            "minLength": 1,
            "maxLength": 24,
            "role": "headline"
          },
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[^,]*[^,\\s][^,]*(,[^,]*[^,\\s][^,]*){1,5}$",
            "role": "items"
          },
          "brand": {
            "type": "string",
            "minLength": 1,
            "maxLength": 18,
            "role": "brand"
          },
          "cta": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "role": "cta"
          }
        },
        "required": [
          "headline",
          "items",
          "brand",
          "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
      }
    },
    "required": [
      "texts",
      "theme"
    ],
    "additionalProperties": false
  },
  "handoff": {
    "urlTemplate": "https://cliphou.se/#/v/credits-rolling?props=<url-encoded props JSON>",
    "example": "https://cliphou.se/#/v/credits-rolling?props=%7B%22texts%22%3A%7B%22headline%22%3A%22A%20film%20by%20North%20Light%22%2C%22items%22%3A%22Director%3A%20Mara%20Chen%2C%20Editor%3A%20Leo%20Park%2C%20Music%3A%20Sol%20Rivera%2C%20Camera%3A%20Ana%20Ruiz%2C%20Sound%3A%20Ben%20Ito%22%2C%22brand%22%3A%22NORTH%20LIGHT%22%2C%22cta%22%3A%22Thanks%20for%20watching%22%7D%2C%22theme%22%3A%7B%22background%22%3A%22%23050505%22%2C%22surface%22%3A%22%23151515%22%2C%22foreground%22%3A%22%23f4efe6%22%2C%22accent%22%3A%22%23c9a45c%22%2C%22accent2%22%3A%22%23e05d44%22%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/credits/v1.tar.gz",
    "packageSha256": "1af71d2791c8f3ffdd4bad0fde42ba968595d448321013f08dc88e1425e7fcaa",
    "templateVersion": 1,
    "renderCommand": "npm ci && npx remotion render src/index.ts credits out/video.mp4 --props=props.json",
    "repository": "https://github.com/sunmer/voodoo",
    "path": "src/videos/credits/",
    "contents": "Remotion component, schema, scene metadata, shared helpers, exact dependency versions, lockfile, example props, 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 and color edits, change only props.texts and props.theme. Keep each text within maxLength and each color as #RRGGBB.",
    "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."
  ]
}
