API & MCP

Everything a person can do on Lottie Inspector & Compactor, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Lottie Inspector & Compactor

Inspect Lottie dimensions, timing, layers, keyframes, expressions and asset references. Minify JSON without changing rendering fields, optionally remove root metadata, and open compatible shape animations in Flipline Motion Desk.

Inputs of Lottie Inspector & Compactor
FieldTypeDefaultDescription
jsontextarea"{\n \"v\": \"5.7.4\",\n \"fr\": 30,\n \"ip\": 0,\n \"op\": 90,\n \"w\": 48Lottie JSON
removeMetadatabooleanfalseRemove root metadata

Example request

Inspect a two-layer animation

curl -X POST https://fliplinelottieinspector.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "flipline-lottie-inspector": { "type": "http", "url": "https://fliplinelottieinspector.usefulweb.site/mcp" }
  }
}