API & MCP
Everything a person can do on RAW & DNG Inspector and Developer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://luminarawinfo.usefulweb.app/api/v1/calculate– run RAW & DNG Inspector and DeveloperGET https://luminarawinfo.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
RAW & DNG Inspector and Developer
Upload a DNG to see its camera, raw layout, compression, black and white levels, colour matrices and as-shot white balance, and get a developed PNG made from the raw sensor data with your white balance, exposure and tone settings. For Canon CR2, Nikon NEF, Sony ARW, Olympus ORF, Panasonic RW2 and Pentax PEF files it reports the metadata and extracts the embedded JPEG preview, saying clearly that the raw data itself is not decoded.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | DNG or camera RAW file (DNG, CR2, NEF, ARW, ORF, RW2, PEF; up to 50 MB). Deleted after processing; the developed PNG can be downloaded for about 2 hours. |
output | select (auto, raw, preview, none) | "auto" | Image output |
size | integer | 1024 | Longest side of the developed PNG (px) |
whiteBalance | select (as-shot, daylight, cloudy, shade, tungsten, fluorescent, flash, custom) | "as-shot" | White balance |
temperature | integer | 5500 | Temperature for custom white balance (K) |
tint | integer | 0 | Tint for custom white balance (−100 green … 100 magenta) |
exposure | number | 0 | Exposure (EV) |
baselineExposure | boolean | true | Apply the file’s baseline exposure |
tone | select (base, linear) | "base" | Tone curve |
demosaic | select (mhc, bilinear) | "mhc" | Demosaicing |
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://luminarawinfo.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
lumina_raw_info - Local stdio connector:
node src/mcp-stdio.ts --tool=lumina-raw-info
{
"mcpServers": {
"lumina-raw-info": { "type": "http", "url": "https://luminarawinfo.usefulweb.app/mcp" }
}
}