Skip to content
Motif
Esc
↑↓navigate↵open⌘Jpreview
On this page

Relight a photo

Relight to a described light or a Mood.

Synopsis

motif relight [image] [light] [options]

Example

The same kitchen, lit evenly instead of by one hard window.

motif relight kitchen.jpg "even overcast light"
A kitchen lit by hard window light
Before
The same kitchen in even overcast light
After

Options

Flag What it does
--even Restore natural, even lighting.
--flat Strip baked-in light and shadow.
--mood <id> Light a house mood (choices: “window”, “dawn”, “raking”, “overcast”, “lamplit”, “nocturne”).
--mask <path> Mask image: white marks what to relight.
--tier <tier> Trade cost against quality: fast, balanced, quality.
--dry-run Validate and price the call without running it.

It also takes the common options.

Models and price

Motif picks the Model for the Tier. Prices are per image where a Model has one; any other shows how it is billed. A rate that depends on the size of the file or the length of the clip is a rate, not a total, so check it with a dry run.

Model Chosen at Price
IC-Light v2 Balanced $0.10/megapixel
Qwen Lighting Restoration Balanced, with --even $0.035/megapixel
Qwen Remove Lighting Balanced, with --flat $0.035/megapixel

Dry run

Check the cost before you spend. The output path is where the file would go.

motif relight kitchen.jpg "even overcast light" --dry-run --fields cost,costBasis,output
{
  "cost": 0.144,
  "costBasis": "projected",
  "output": "kitchen-relight.png"
}