Animation Exposure Sheet

Build compact frame ranges for animation layers from cel changes, including initial gaps and explicit clears.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /animation-exposure-sheet/v1/check with an x402 V2 client.

Worked example

Request

{
  "frame_count": 8,
  "layers": [
    {
      "id": "ink",
      "changes": [
        {
          "frame": 3,
          "cel": "a"
        },
        {
          "frame": 5,
          "cel": "a"
        },
        {
          "frame": 7,
          "cel": null
        }
      ]
    },
    {
      "id": "bg",
      "changes": [
        {
          "frame": 1,
          "cel": "room"
        }
      ]
    }
  ]
}

Result

{
  "layers": [
    {
      "id": "ink",
      "exposures": [
        {
          "first_frame": 1,
          "last_frame": 2,
          "cel": null
        },
        {
          "first_frame": 3,
          "last_frame": 6,
          "cel": "a"
        },
        {
          "first_frame": 7,
          "last_frame": 8,
          "cel": null
        }
      ]
    },
    {
      "id": "bg",
      "exposures": [
        {
          "first_frame": 1,
          "last_frame": 8,
          "cel": "room"
        }
      ]
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter