API & MCP
Everything a person can do on Lumina, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://lumina.usefulweb.site/api/v1/tools– catalogGET https://lumina.usefulweb.site/api/v1/tools/{id}– inputs, output schema, examplesPOST https://lumina.usefulweb.site/api/v1/tools/{id}/calculate– run a toolGET https://lumina.usefulweb.site/api/v1/workflows·POST https://lumina.usefulweb.site/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Lumina
- Depth of Field, Field of View & Exposure Calculator – Near and far sharpness limits, hyperfocal distance, angle of view, crop factor and ND filters.
lumina_depth_of_field - Lens Distortion, Color Fringe & Vignetting Correction – Straighten barrel or pincushion distortion, shrink red/blue fringes and brighten dark corners.
lumina_lens_correct - Exposure Fusion (Blend Bracketed Photos) – Blend dark, normal and bright exposures into one photo with detail in shadows and highlights.
lumina_exposure_fusion - Focus Stacking (Combine Photos Focused at Different Distances) – Merge photos focused near and far into one image that is sharp throughout.
lumina_focus_stack - Local Photo Adjustments with Masks (Gradient, Radial, Brush, Range) – Brighten, darken or recolor parts of a photo with gradient, radial, brush and range masks.
lumina_local_adjust - Spot Healing & Clone Stamp – Remove dust spots and blemishes with seamless healing or a clone stamp.
lumina_spot_heal - Background Remover – Remove plain backgrounds from product photos and logos (colour-based, no AI) → transparent PNG.
background_remover - SVG Repeat Pattern Generator – Create a seamless, editable SVG pattern from simple shapes.
lumina_repeat_pattern - Vector Shape Generator – Make editable SVG polygons, stars and spirals from simple settings.
lumina_vector_shape_generator - Color Region Cutout & Mask – Select a matching color region and export a transparent cutout and feathered mask.
lumina_color_region - Font File Inspector & Glyph Coverage – Read TTF, OTF and WOFF names, tables, metrics, axes, kerning and Unicode coverage.
lumina_font_inspector - TrueType & Variable Font Builder – Turn glyph outlines or a grid font into a verified TTF, including variable weight fonts.
lumina_font_builder - Handwriting to Font – Print a template, write your letters, upload the photo and get your handwriting as a TTF font.
lumina_handwriting_font - Pixel & Grid Font Maker – Type pixel letters as # and . grids and get an installable TTF font: merged, dotted or tiled.
lumina_grid_font - OpenType Feature Playground – See which OpenType features and variable axes a font has, and what they do to your text.
lumina_font_features - Webfont Subsetter (WOFF & TTF) – Shrink a font to the characters your site uses and get a WOFF file with its CSS unicode-range.
lumina_font_subset - Font Monospacer – Turn a proportional TrueType font into a monospaced one for code, tables and terminals.
lumina_font_monospace - Letterform Mask Comparison – Compare two binary text masks by letterform overlap and aspect ratio.
lumina_letterform_compare - Raster Artwork to SVG – Trace logos and flat artwork into real SVG paths with a limited color palette.
lumina_raster_vectorizer - Binary Silhouette to SVG – Turn a 0/1 pixel grid into exact SVG outlines with holes, optionally smoothed with curves.
lumina_silhouette_tracer - Bézier Curve Fitter for SVG Paths – Turn jagged traced outlines or freehand polylines into a few smooth Bézier curves.
lumina_curve_fit - Color Harmony & Shift Generator – Build HSL harmonies with eased shifts, locked colors and reusable palette exports.
lumina_palette_generator - Palette Contrast Matrix – Check every palette color pairing against WCAG text contrast thresholds.
lumina_palette_contrast - Photo Crop & Resize Planner – Plan a precise crop and output size before resizing a photo.
lumina_resize_planner - Photo Print Size Planner – Find how large your photo can print at your chosen resolution.
lumina_print_planner - Photo Palette & Text Contrast – Check palette luminance and choose readable text for photos and graphics.
lumina_color_analyzer - Photo Collage & Image Joiner – Make a photo grid or join photos horizontally and vertically.
lumina_photo_layout - Image Grid Splitter – Slice a photo into numbered tiles without losing edge pixels.
lumina_image_splitter - Photo to Animated GIF – Turn an ordered set of photos into a looping animated GIF.
lumina_gif_maker - Layer Transform & Bounds Planner – Calculate a layer transform, rotated corners and canvas bounds.
lumina_layer_transform - Layer Blend Color Mixer – Preview eight blend modes and opacity for two opaque colors.
lumina_blend_mixer - Image Shape Mask & Feather – Clip a photo into a soft rectangle or ellipse with PNG transparency.
lumina_image_mask - Photo Histogram & Clipping Analyzer – Inspect RGB histograms, clipped channels and tonal percentiles in a photo.
lumina_histogram_analyzer - Photo Tone Curves & Profile Processor – Apply levels, RGB curves and white balance, or reuse a Lumina photo profile.
lumina_tone_processor - FITS Header & Image Inspector – Read a FITS header, check BITPIX, scaling and Bayer keywords, and preview the image.
lumina_fits_inspector - Star Detector & FWHM Meter – Find stars in an astro image and measure centroids, FWHM, HFR and roundness.
lumina_star_detector - Astro Image Stacker (align & stack) – Calibrate, align and stack astro frames with sigma clipping; download a 32-bit FITS.
lumina_image_stacker - Node Compositor for Images and Short Clips – Run a node graph — keying, grading, LUTs, masks, merges — on images or a short clip.
lumina_compositor - Apply a .cube LUT to a Photo – Grade a photo with a 1D or 3D .cube LUT, tetrahedral or trilinear, at any strength.
lumina_lut_apply - Chroma Key: Green Screen to Transparent PNG – Key out a green or blue screen into a transparent PNG with spill suppression.
lumina_chroma_key - Color Converter & Gamut Mapper (OKLCH, Lab, P3) – Convert any CSS color to HEX, RGB, HSL, Lab, LCH, OKLab, OKLCH and Display P3.
lumina_color_converter - Delta E Color Difference (CIEDE2000) – Measure color differences with CIEDE2000, CIE94, CIE76 and OKLab, with a pass/fail tolerance.
lumina_color_difference - OKLCH Palette & Tint Scale Generator – Build perceptually even tint scales and hue harmonies in OKLCH, gamut-mapped for CSS.
lumina_oklch_palette - Color Blindness Palette Simulator – Simulate protan, deutan and tritan vision for a palette and find colors that become confusable.
lumina_cvd_simulator - Wallpaper Group Pattern Maker (17 Symmetries) – Tile one motif with any of the 17 wallpaper symmetry groups into a seamless SVG and CSS.
lumina_wallpaper_pattern - Perceptual Gradient Generator (OKLCH, OKLab, CSS) – Build smooth multi-stop CSS gradients in OKLab or OKLCH, with a fallback for every browser.
lumina_gradient_generator - Contrast Fixer: Nearest Accessible Color – Find the closest color that reaches WCAG 3:1, 4.5:1 or 7:1 contrast — and repair a palette.
lumina_contrast_fixer - Image Palette Extractor (k-means, median cut) – Pull a 2–32 color palette from a photo with k-means in OKLab, median cut or a histogram.
lumina_palette_extractor
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://lumina.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
lumina_depth_of_field,lumina_lens_correct,lumina_exposure_fusion,lumina_focus_stack,lumina_local_adjust,lumina_spot_heal,background_remover,lumina_repeat_pattern,lumina_vector_shape_generator,lumina_color_region,lumina_font_inspector,lumina_font_builder,lumina_handwriting_font,lumina_grid_font,lumina_font_features,lumina_font_subset,lumina_font_monospace,lumina_letterform_compare,lumina_raster_vectorizer,lumina_silhouette_tracer,lumina_curve_fit,lumina_palette_generator,lumina_palette_contrast,lumina_resize_planner,lumina_print_planner,lumina_color_analyzer,lumina_photo_layout,lumina_image_splitter,lumina_gif_maker,lumina_layer_transform,lumina_blend_mixer,lumina_image_mask,lumina_histogram_analyzer,lumina_tone_processor,lumina_fits_inspector,lumina_star_detector,lumina_image_stacker,lumina_compositor,lumina_lut_apply,lumina_chroma_key,lumina_color_converter,lumina_color_difference,lumina_oklch_palette,lumina_cvd_simulator,lumina_wallpaper_pattern,lumina_gradient_generator,lumina_contrast_fixer,lumina_palette_extractor - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://lumina.usefulweb.site/mcp" }
}
}