{
  "schemaVersion": "1.2",
  "kind": "template",
  "id": "photoquote-studio",
  "variantId": "photoquote-studio",
  "template": "photoquote",
  "title": "Light Photo Quote",
  "url": "https://cliphou.se/templates/photoquote-studio/",
  "editorUrl": "https://cliphou.se/#/v/photoquote-studio",
  "templateVersion": 1,
  "latestTemplateVersion": 1,
  "sourceHash": "80bc7fe9a97c2f7a",
  "generation": {
    "model": "Claude Opus 5.5",
    "modelId": "claude-opus-5-5",
    "provider": "Anthropic",
    "effort": "medium"
  },
  "siteCommit": "1faf7b30639adf63cdb3201d08c74b3d2a697c1b",
  "license": "MIT-0",
  "licenseUrl": "https://cliphou.se/license/",
  "price": "Free",
  "attributionRequired": false,
  "format": {
    "aspectRatio": "9:16",
    "width": 1080,
    "height": 1920,
    "fps": 30,
    "durationInFrames": 240,
    "seconds": 8
  },
  "scenes": [
    {
      "type": "quote",
      "label": "Quote",
      "from": 0,
      "duration": 240,
      "roles": [
        "brand",
        "quote"
      ]
    },
    {
      "type": "byline",
      "label": "Byline",
      "from": 100,
      "duration": 140,
      "roles": [
        "author"
      ]
    }
  ],
  "props": {
    "texts": {
      "quote": "Slow mornings, good light, and a cup of coffee. That is where the best ideas start.",
      "author": "Studio Notes",
      "brand": "DAILY"
    },
    "theme": {
      "background": "#f6f1e7",
      "surface": "#e6dccb",
      "foreground": "#1a1714",
      "accent": "#b45309",
      "accent2": "#0f766e"
    },
    "media": {
      "background": "studio"
    }
  },
  "editableFields": {
    "texts": {
      "quote": {
        "label": "Quote",
        "maxLength": 140,
        "current": "Slow mornings, good light, and a cup of coffee. That is where the best ideas start."
      },
      "author": {
        "label": "Author",
        "maxLength": 40,
        "current": "Studio Notes"
      },
      "brand": {
        "label": "Brand",
        "maxLength": 18,
        "current": "DAILY"
      }
    },
    "theme": {
      "background": {
        "format": "#RRGGBB",
        "current": "#f6f1e7"
      },
      "surface": {
        "format": "#RRGGBB",
        "current": "#e6dccb"
      },
      "foreground": {
        "format": "#RRGGBB",
        "current": "#1a1714"
      },
      "accent": {
        "format": "#RRGGBB",
        "current": "#b45309"
      },
      "accent2": {
        "format": "#RRGGBB",
        "current": "#0f766e"
      }
    },
    "media": {
      "background": {
        "format": "Image ID",
        "options": [
          {
            "id": "mountain",
            "label": "Mountain ridge"
          },
          {
            "id": "studio",
            "label": "Window light"
          }
        ],
        "current": "studio"
      }
    }
  },
  "jsonSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "texts": {
        "type": "object",
        "properties": {
          "quote": {
            "type": "string",
            "minLength": 1,
            "maxLength": 140,
            "role": "quote"
          },
          "author": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40,
            "role": "author"
          },
          "brand": {
            "type": "string",
            "minLength": 1,
            "maxLength": 18,
            "role": "brand"
          }
        },
        "required": [
          "quote",
          "author",
          "brand"
        ],
        "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
      },
      "media": {
        "type": "object",
        "properties": {
          "background": {
            "type": "string",
            "enum": [
              "mountain",
              "studio"
            ],
            "kind": "image",
            "options": [
              {
                "id": "mountain",
                "label": "Mountain ridge"
              },
              {
                "id": "studio",
                "label": "Window light"
              }
            ]
          }
        },
        "required": [
          "background"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "texts",
      "theme",
      "media"
    ],
    "additionalProperties": false
  },
  "handoff": {
    "urlTemplate": "https://cliphou.se/#/v/photoquote-studio?props=<url-encoded props JSON>",
    "example": "https://cliphou.se/#/v/photoquote-studio?props=%7B%22texts%22%3A%7B%22quote%22%3A%22Slow%20mornings%2C%20good%20light%2C%20and%20a%20cup%20of%20coffee.%20That%20is%20where%20the%20best%20ideas%20start.%22%2C%22author%22%3A%22Studio%20Notes%22%2C%22brand%22%3A%22DAILY%22%7D%2C%22theme%22%3A%7B%22background%22%3A%22%23f6f1e7%22%2C%22surface%22%3A%22%23e6dccb%22%2C%22foreground%22%3A%22%231a1714%22%2C%22accent%22%3A%22%23b45309%22%2C%22accent2%22%3A%22%230f766e%22%7D%2C%22media%22%3A%7B%22background%22%3A%22studio%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/photoquote/v1.tar.gz",
    "packageSha256": "8bf5aa053ad4a9262988be440a08d34610a0f54bd5fa6be875ac51a4522f2357",
    "templateVersion": 1,
    "renderCommand": "npm ci && npx remotion render src/index.ts photoquote out/video.mp4 --props=props.json",
    "repository": "https://github.com/sunmer/voodoo",
    "path": "src/videos/photoquote/",
    "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, 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.",
    "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."
  ]
}
