API & MCP
Everything a person can do on PSD Layer Inspector & Lumina Import, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://luminapsdinfo.usefulweb.app/api/v1/calculate– run PSD Layer Inspector & Lumina ImportGET https://luminapsdinfo.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
PSD Layer Inspector & Lumina Import
Upload a Photoshop PSD or PSB file to see its size, color mode, bit depth, resolution, color profile and every layer with groups, visibility, opacity, blend mode, clipping, masks, text and effects. Download the merged image as PNG and a Lumina Design Layers project with the layers as editable image layers, plus a list of everything that had to be simplified. The file is uploaded to the server; Lumina Design Layers imports PSD files locally in your browser.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | Photoshop file (PSD or PSB; up to 50 MB; uploaded to the server) |
import | select (layers, flat) | "layers" | Lumina design download |
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)
- Streamable HTTP endpoint:
https://luminapsdinfo.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
lumina_psd_info - Local stdio connector:
node src/mcp-stdio.ts --tool=lumina-psd-info
{
"mcpServers": {
"lumina-psd-info": { "type": "http", "url": "https://luminapsdinfo.usefulweb.app/mcp" }
}
}