API & MCP

Everything a person can do on Exposure Fusion (Blend Bracketed Photos), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Exposure Fusion (Blend Bracketed Photos)

Upload a ZIP of 2–5 bracketed photos of the same scene. The photos are aligned automatically and blended with Mertens exposure fusion: every pixel is weighted by contrast, saturation and good exposure, and a Laplacian pyramid hides the seams. No HDR file or tone mapping is needed, and the result is an ordinary 8-bit PNG. Photo Lab in Lumina runs the same engine on your device for larger photos.

Inputs of Exposure Fusion (Blend Bracketed Photos)
FieldTypeDefaultDescription
images (required)file—ZIP of 2–5 photos (PNG, JPEG or WebP; 12 megapixels together). All photos must have the same size. ZIP order is kept; the middle photo is the alignment reference.
alignbooleantrueAlign the photos (shift, rotation and scale)
cropbooleantrueCrop to the area every photo covers
modelselect (similarity, affine)"similarity"Alignment transform
contrastnumber1Contrast weight (exponent). 0 ignores local contrast; higher values prefer detailed areas.
saturationnumber1Saturation weight (exponent). 0 ignores colour saturation; higher values prefer vivid pixels.
exposurenumber1Well-exposedness weight (exponent). 0 ignores brightness; higher values prefer pixels near mid-grey.
sigmanumber0.2Well-exposedness width (σ). Smaller values accept a narrower band around mid-grey (0.5).

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-exposure-fusion": { "type": "http", "url": "https://luminaexposurefusion.usefulweb.app/mcp" }
  }
}