API & MCP

Everything a person can do on Photo Print Size Planner, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Photo Print Size Planner

Convert image pixel dimensions into print dimensions in inches and centimeters at a specified pixels-per-inch resolution. Compare sizes without an image file.

Inputs of Photo Print Size Planner
FieldTypeDefaultDescription
widthinteger6000Photo width (px)
heightinteger4000Photo height (px)
ppiinteger300Print resolution (PPI)

Example request

24 MP photo at 300 PPI

curl -X POST https://luminaprintplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"width":6000,"height":4000,"ppi":300}'

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-print-planner": { "type": "http", "url": "https://luminaprintplanner.usefulweb.site/mcp" }
  }
}