API & MCP

Everything a person can do on Image Grid Splitter, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Image Grid Splitter

Split one image into a row-and-column grid and download every tile as a PNG in one ZIP. Uneven dimensions are distributed across the tiles so the complete photo can be reconstructed.

Inputs of Image Grid Splitter
FieldTypeDefaultDescription
images (required)file—Single photo (PNG, JPEG, WebP or GIF). Exactly one PNG, JPEG, WebP or GIF image (first frame), up to 16 MP decoded; a ZIP containing exactly one photo also works. To split several photos, run the tool once per photo.
rowsinteger3Rows
columnsinteger3Columns

Example request

Three-by-three tiles

curl -X POST https://luminaimagesplitter.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"images":{"filename":"sample.png","contentType":"image/png","contentBase64":"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAABlBMVEX/////AADrWueTAAAAEklEQVQI12NgIBb8/09dgjgAAPcnH+GApkH4AAAAAElFTkSuQmCC"},"rows":3,"columns":3}'

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": {
    "lumina-image-splitter": { "type": "http", "url": "https://luminaimagesplitter.usefulweb.site/mcp" }
  }
}