25 magazine covers, 25 AI agents, one JSON file each
A retoucher gets a mood board: a magazine cover and a note saying "make it look like this". They read the light, the blacks, the skin, the grain, then grade the photo until it matches. 25 AI agents got the same job, one cover each, from Vogue, Harper's Bazaar and Elle. Each one graded two portraits in that style and saved the style as a small JSON file that any new photo can be run through.
It cost 62k tokens and a little over three minutes per cover. The agents wrote no image code: every step was one rawroom command. Most of the tokens did not go to processing pixels. They went to looking.
The experiment
The first agent was sent to collect covers from the magazines' sites. Those sites refuse AI agents, and the agent stopped there. The covers were saved by hand instead: 29 of them, then one per photographer, so 25 looks. The list goes from Peter Lindbergh and Steven Meisel to Tyler Mitchell, Inez & Vinoodh and Mert Alas.
Every look was done by a fresh agent (Claude Opus 5.5) with the same brief:
- Two photos to grade. A, an 18 MP JPEG of a woman against a dark hedge. B, a 24 MP Sony a6000 RAW of a woman in a hat, backlit at golden hour.
- rawroom only, through a wrapper that logged the time and peak memory of every call.
- Three preview rounds per photo at most, then a full-size render cropped to the cover's format.
-
Save the style as
look.json: only the part that does not depend on the photo, and check that it alone reproduces the style on both photos.
Four agents ran at once on an 8-core laptop (Intel Core Ultra 7 258V). Looks are named by magazine and number: V for Vogue, B for Bazaar, E for Elle.
From a cover to a look
The agent reads the cover twice. Once by eye, once with
rawroom analyze, which turns the picture into about a
kilobyte of numbers: black and white points, brightness, colour cast,
skin tone. "Lifted milky blacks" becomes p01 ≈ 0.21.
"Porcelain skin" becomes a skin lightness of 0.88 with low saturation.
The agent then translates that into grading terms and builds the
look.
For Tyler Mitchell's September 2018 Vogue US cover, the agent read "bright natural daylight, deep blacks, warm skin, vibrance-led colour, light 35 mm grain". The saved look is 27 settings. The per-photo part is left out and replaced by targets:
sh | apply the V11 look to any photorawroom auto PHOTO --look neutral --face <box> --style looks/V11/look.json \
--target frameL=0.5,a=-1,b=5,p01=0.02,p99=0.97,skinSat=0.5,skinHue=28 \
--render out.jpg
# look.json: contrast 15, blacks -12, vibrance 22, green hue -12 / sat +15,
# shadows toned 200° / highlights 50°, clarity 6, grain 10, a soft S-curve
auto solves exposure and white balance for each new
photo so that the result hits the look's own numbers: how bright the
frame is, how warm, how saturated the skin. That is what makes "this
photo, in the Tyler Mitchell look" one command.
Where the tokens go
Over the 21 looks that ran without interruption:
- 62k tokens per look on average (53k to 86k), 1.54 million for all 25.
- 24 tool calls and 3 min 14 s of agent time per look.
- 26 rawroom calls and 61 s of rawroom time per look. About 670 calls in total, 25 rejected with a clear error (a wrong option or path, fixed on the next call), no crash.
- 790 MB peak for the heaviest call: a full-size develop of the 24 MP RAW.
An image is expensive for a model. A 1024 px preview costs an estimated
930 tokens; the analyze answer, about 500. So the cheap
moves are the ones that avoid looking: read numbers instead of
pictures, put both previews on one contact sheet, let
auto solve exposure instead of iterating by eye. Two
rules added to the brief along the way show it.
The first five looks averaged 72.9k tokens and 219 s. The 15 clean looks after the 640 px rule averaged 57.6k tokens and 169 s, 21% less. The Bazaar and Elle looks all came after the rule, so the rule and the covers cannot be told apart in this run.
The 25 looks, next to their covers
Each row below is one cover. Then the two hand-graded results, A and B, cropped to the cover's format. Then the saved look applied automatically to A and to B, uncropped.
Vogue, 12 covers
Harper's Bazaar, 7 covers
The agents also wrote down what grading cannot do. A dark hedge does not become a white studio. A backlit field does not become a blue sky. Flash cannot be added after the fact. Black and white looks were built as a mix (orange and red lifted for luminous skin, greens and blues darkened) rather than a plain desaturation, the way a printer uses filters.
The same look without rawroom
To check what the tool changes, one look (V11, an average one) was done again by a fresh agent with the tools agents usually reach for: Python, numpy, Pillow, rawpy (LibRaw), ImageMagick, libvips, darktable-cli and RawTherapee-cli, all preinstalled. Same photos, same deliverables, same three-preview limit. The agent chose Python, numpy and rawpy, and wrote its own 137-line grading pipeline.
The token gap is the smallest one, and that is the point of this post. Both agents spent most of their tokens looking at the cover and at previews, which costs the same with any tool. The extra 17% is the code: writing and debugging a pipeline. Every new agent in every new session pays that again, and ends up with a private, untested script. The gaps in time and memory are much larger: numpy allocates a full float array per step, 576 MB for one RGB copy at 24 MP, and runs on one core.
rawroom: A and B, V11
Python + numpy + rawpy: A and B, V11
A style in a JSON file
Styles have long been files. What differs is who can use them:
-
A 3D LUT (
.cube, HaldCLUT) works everywhere, but it is a fixed colour table. It expects a correctly exposed input, cannot hold grain or clarity, and is opaque. - A Lightroom, Capture One or darktable preset holds the sliders, but needs its application. Lightroom is ahead on local, masked adjustments.
-
A
look.jsonis plain JSON with a published schema. An agent can write it from a cover, and another agent or a person can read it and change it ("same look, less grain"). It carries targets, so it adapts exposure and white balance to each photo. It runs headless, on a JPEG or a RAW, in 4.8 s for the 18 MP JPEG and 6.0 s for the 24 MP RAW, with no agent and no tokens.
It only runs in rawroom. rawroom can import LUTs and the preset formats above, but not export to them.
Limits
-
Reuse works on both photos for about half the looks.
The hand grades matched every cover. Through
auto, the saved look was good on the JPEG for nearly all, and on both photos for about half. The failures are on the backlit RAW:automeasures the whole frame, so the bright sky pushes white balance and blacks to their limits and washes the skin out. Weighting the targets on the face would fix most of it. It is not done yet. - Small samples. 25 looks, two photos, one run each. The comparison without rawroom is a single look (n = 1).
- Four runs were cut by an account usage limit (B06, E02, E03, E04) and resumed later. Their counts are partial and left out of the averages.
- Timings under load. From V05 on, four agents shared the 8 cores, so per-call times in the logs are inflated. The 4.8 s and 6.0 s figures come from a separate pass on a quiet machine.
- Global edits only. rawroom has no masks, dodge and burn or background replacement, and caps HSL hue shifts at about 30°.
- A bug found on the way: rawroom does not read the Sony a6000's as-shot white balance, so it was set by hand in every look.
- Memory. rawroom uses about 40% less memory than darktable and RawTherapee on a raw, but more than single-threaded LibRaw or rawpy (635 MB against 243 to 332 MB for a 24 MP ARW).
hand-graded: E06 on B
saved look via auto: E06 on B
Credits and data
Covers © their publishers and photographers, shown here for comparison and commentary, with each photographer and subject named in the captions. Photo A: Christopher Campbell, Unsplash via Wikimedia Commons, CC0. Photo B: "summer portrait" by fwolny, discuss.pixls.us, CC BY-SA 4.0; the renders of photo B in this post are under the same licence. Benchmarks of rawroom against the usual tools are in the rawroom post.