API & MCP

Everything a person can do on Pixel Sprite Atlas (Aseprite JSON), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Pixel Sprite Atlas (Aseprite JSON)

Paste a Flipline Pixel Studio project (.flipline-pixels.json). Get one sheet PNG and an atlas in the JSON layout Aseprite exports, which Phaser, Godot and many engine importers read: frame rectangles, durations, tags, layers and slices. Identical frames, such as linked cels, can share one sheet cell.

Inputs of Pixel Sprite Atlas (Aseprite JSON)
FieldTypeDefaultDescription
projecttextarea"{\"format\":\"flipline-pixels\",\"version\":4,\"name\":\"A small sprout\",\"widFlipline pixel project (JSON)
scaleinteger1Scale (whole pixels)
paddinginteger0Padding (px)
columnsinteger0Columns (0 = square-ish grid)
layoutselect (hash, array)"hash"JSON frames layout
mergeDuplicatesbooleantrueIdentical frames share one cell

Example request

The sprout with a linked hold frame

curl -X POST https://fliplinepixelatlas.usefulweb.app/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-pixel-atlas": { "type": "http", "url": "https://fliplinepixelatlas.usefulweb.app/mcp" }
  }
}