Skip to main content
Glama

Glowly

Relight, never retouch.An MCP server that regrades your photos in a new light and hands back the same you.

MCP server Python 3.12+ Nano Banana Code: Apache-2.0 Data: CC BY 4.0 Process: SPDD Status: in design

Brief · Looks · Roadmap · Changelog · How we work


Glowly changes the light, color, tone and grain of a photo to match a look, either one of its codenamed looks or the reference shots you pick, and gives you back the same photo: the same face, expression, body, hair, clothes and framing. It runs as an MCP server inside the assistant you already use, and it generates on the quota of the Google AI plan you already pay for.

Status: Glowly is in design. The research and the 1.0 brief are done; code starts in phase 1. The design documents are written in Portuguese.

Relight, never retouch

Image models rebuild the whole picture on every edit, so asking them to "keep the face" is a request, not a guarantee. Glowly turns it into a guarantee: by default it never ships the model's pixels.

flowchart LR
  P["Your photo"] --> S["Scene reading<br/><sub>faces · regions · scopes</sub>"]
  L["Look<br/><sub>codename or your references</sub>"] --> G
  S --> G["Nano Banana<br/><sub>on your plan quota</sub>"]
  G --> A["Align and check<br/><sub>landmarks · hair · clothes · framing</sub>"]
  A --> T["Transfer light and color<br/><sub>onto the original, full resolution</sub>"]
  P --> T
  T --> O["Same photo,<br/>new light"]

Step

What happens

Read the scene

Faces, hair, skin, clothes and background are mapped locally, along with the light direction, its quality and the color scopes of the photo

Plan the light

Only light that agrees with the existing shadows is allowed, so a noon photo never gets a fake sunset backlight

Generate

Nano Banana proposes the new light and color from a technical prompt that spells out what must stay exactly as it is

Check

The result is aligned to your photo and compared region by region: framing, facial landmarks, expression, hair, clothes and structure

Transfer

A bilateral grid learns the light and color change from the valid pixels and applies it to your original at full resolution. Every edge, texture and facial feature comes from your photo

If a check fails, Glowly retries from your original, never from a previous edit. It never delivers an image that changes the person.

Related MCP server: mcp-relight-harmonize

Looks

Every look has a codename that describes its light and color, never the name of a person. Twelve make up the core of 1.0:

Look

Light and color

Best for

riviera

Hard summer sun, natural warm color, restrained sea blues, firm shadows

beach, coastal towns, outdoor tables

poolside

Luminous 60s slide film, pool turquoise, warm skin

pools, resorts, terraces

alpine

Subtle timeless grade, true skin, restrained greens

mountains, lakes, snow, forests

ember

Warm sunset backlight, lifted midtones, clean highlights

backlight, sunsets, cold landscapes

neon

Lifted night, cyan shadows, magenta and orange lights

night streets with signs, rain

umbrella

Overcast, low saturation with reds kept alive, soft haze

cloudy days, a single accent of color

prism

Pure saturated color blocks, complementary contrast, colored blacks

walls, shop windows, colorful interiors

asphalt

Extreme-contrast black and white, coarse grain

streets, night, flash

petal

High-key pastels, lifted blacks, light grain

mornings, window light, quiet scenes

linen

Natural light, soft medium-format color, visible grain

travel, window light, outdoor portraits

honey

ISO 400 color negative: open shadows, warm skin, fine grain

daylight portraits and travel

tungsten

Tungsten cinema film: cool balance, saturated, red halation around lights

neon, night, bars

Twenty more are in beta, two of them variants of core looks. The full catalog, with where each look fails, is in docs/looks.md, generated from the open data in data/looks/.

Match your references

Hand Glowly one or more photos whose look you love and it breaks them down the way a colorist would: tonal scopes and zones, color balance by shadows, midtones and highlights, saturation and luminance across eight hue bands, memory colors such as skin, sky and foliage, the key-to-fill ratio of the light, grain, halation and vignette. References that disagree are grouped, the closest ones to your photo weigh more, and you get a look sheet with the palette, the zones and the split toning. Save it and it becomes a look of your own, in the same format as the built-in ones.

On your Google AI plan

Glowly calls the official Antigravity CLI, unmodified, in headless mode, as a tool for one photo at a time, the way Google's Antigravity FAQ allows. You sign in to Antigravity yourself; Glowly never reads, copies or reuses your credentials, never automates the Gemini web app and never turns on paid AI credits. When your plan quota runs out, the look is applied in parametric mode, locally and without AI, until the quota comes back.

Tools

Tool

What it does

edit_photo

Applies a look or your references to a photo and returns a before and after, the file and a structured report

edit_batch

Gives a whole series the same look from one generation

analyze_photo

Reads the scene and suggests the three looks that fit it best

analyze_references

Breaks your reference photos down into a look sheet

list_looks, get_look

Browse the catalog

save_look, export_look

Keep a look, or export it as a .cube LUT or an ASC CDL

check_photo

Compares any two photos with Glowly's checks

setup_status

Shows the install, the Antigravity sign-in and the quota used

Modes: faithful (default), parametric (no AI, no quota), lut and generative (the model's own pixels, only when every check passes).

Privacy: only a downscaled copy of the photo, stripped of its metadata, leaves your machine, through the Antigravity CLI. No telemetry.

Inside

flowchart TB
  Clients["MCP clients<br/>Claude · Antigravity · Cursor · VS Code"] --> Server["server<br/>tools · resources · progress"]
  Mac["Mac app (optional)"] --> CLI["glowly CLI"]
  Server --> Pipeline
  CLI --> Pipeline["pipeline<br/>ingest → scene → look → plan → generate → align → check → transfer → output"]
  Pipeline --> Look["look<br/>LookSpec · references · vocabulary · parametric engine"]
  Pipeline --> Vision["vision<br/>landmarks · segmentation · scopes · bilateral grid · LUT"]
  Pipeline --> Providers["providers<br/>Antigravity CLI · optional own-key providers, off by default"]
  Look --> Data["data<br/>looks · rules · thresholds · prompts"]

Layer

What it uses

Protocol

Official MCP Python SDK, stdio, structured outputs, progress

Vision

MediaPipe (478 facial landmarks, 52 expression blendshapes, hair, skin and clothes segmentation), OpenCV (alignment, structure)

Color

numpy in Oklab and CIELAB, bilateral grid of local affine color transforms, 3D LUT, ASC CDL

Generation

Antigravity CLI with Nano Banana, on your Google AI plan

Data

YAML validated by JSON Schema, open under CC BY 4.0

Quality

pytest, a private evaluation set of consented photos, a lab that measures every model and prompt change

How we work

Every change follows SPDD (Structured-Prompt-Driven Development, from open-spdd). The structured prompt of each change, its REASONS Canvas, is versioned with the code and approved before any code is written.

flowchart LR
  A["Analysis<br/><sub>spdd/analysis</sub>"] --> C["REASONS Canvas<br/><sub>spdd/prompt</sub>"]
  C -->|approved| G["Generation<br/><sub>operation by operation</sub>"]
  G --> R["Review<br/><sub>canvas · code</sub>"]
  R --> M["Merge into development<br/><sub>with lab and eval results</sub>"]
  M -. what we learned .-> C

Change

Delivers

State

GLW-001

Foundation: package, schemas, looks as data, validation, CLI skeleton

planned

GLW-002

Lab: the plan route measured first, then prompt, references and resolution

planned

GLW-003

Color engine and checks: parametric engine, bilateral grid, LUT and CDL, retries

planned

GLW-004

Looks and references: LookSpec, reference breakdown, visual calibration of the core

planned

GLW-005

Server and setup: tools, Antigravity provider, quota guard, zero-config install

planned

GLW-006

1.0: PyPI, one-click bundle, MCP registry

planned

GLW-007

Mac app (optional)

optional

The rules above everything else are in the constitution; the decisions and their reasons are in the ADRs.

Getting started

There is nothing to install yet. The plan for 1.0 is one command that registers Glowly in every MCP client on your machine, with no configuration file to edit:

uvx glowly setup

Contributing

The package, the looks as open data and the maintenance CLI are in place; the MCP server comes in a later phase. With uv installed:

uv sync
uv run glowly looks --status core
scripts/verify.sh --quick

A new look is one YAML file in data/looks/ with a codename that describes its light and color. uv run glowly data validate checks it against the schema, and uv run glowly data docs regenerates the catalog page.

License

The code is under the Apache License 2.0. The looks, rules and prompts under data/ are under CC BY 4.0. Use only photos you have the right to edit; Glowly exists to change the light, not the people in it.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables analysis of an image's optical properties (color temperature, light vectors, luminance dynamics) and generation of physically grounded relighting variants, harmonized composites with contact shadows, and calibrated diffusion prompts for GPT Image and Nano Banana targets.
      5
      18 npm
      2
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to drive a full photo-editing engine through validated, non-destructive operations — exposure and colour grading, effects, geometry, text/watermarks, style matching from a reference image, natural-language looks, and batch processing over folders. Originals stay untouched, edits live in an open JSON project format, and everything runs locally without network access unless opted in.
      27
      Apache 2.0