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 Developer
  • GET https://luminarawinfo.usefulweb.app/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

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.

Inputs of RAW & DNG Inspector and Developer
FieldTypeDefaultDescription
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.
outputselect (auto, raw, preview, none)"auto"Image output
sizeinteger1024Longest side of the developed PNG (px)
whiteBalanceselect (as-shot, daylight, cloudy, shade, tungsten, fluorescent, flash, custom)"as-shot"White balance
temperatureinteger5500Temperature for custom white balance (K)
tintinteger0Tint for custom white balance (−100 green … 100 magenta)
exposurenumber0Exposure (EV)
baselineExposurebooleantrueApply the file’s baseline exposure
toneselect (base, linear)"base"Tone curve
demosaicselect (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" }
  }
}