AI productsLuma AI
Multimodal Repair & Verification Harness
Repairs facial identity and product details in generated campaign images using targeted edits, reference images, and visual verification.
- Role
- Built the repair and verification harness.
- Problem
- With several people and products in one frame, one wrong face, logo or item gets an otherwise good image rejected.
- Outcome
- In customer evaluation, some previously rejected examples reached delivery standard after repair.
- When · stack
- 2026 · Vision-language models, Face matching, Verification, Paired evaluation
Impact
Quality: a failure becomes a local task that can be found, repaired on its own and verified again, instead of a reason to regenerate the whole image.
Delivery: each repair gets the reference that fits the region it fixes, and the composition the customer already approved is kept.
Evaluation: in customer evaluation, some examples that had been rejected reached delivery standard after repair.
My contribution
I turned “the whole image is rejected” into local tasks that can be located, repaired one at a time and verified again.
- A drifted face is matched against the character’s reference; a product is located with a vision-language model.
- Only that region is edited, with the reference that fits it, so the rest of an approved composition stays exactly as it was.
Before and after

BeforeAfterBefore, close up
After, close up
Drag the handle to compare. Only the face on the left differs between the two images: the composition, the second model and the product are pixel for pixel the same. Made with Luma for this page; the people and the brand are fictional.
Context
Campaign images often have several people and several products in one frame. The composition can be right while one face no longer matches its character, a logo loses detail or someone wears the wrong item.
Regenerating the whole image throws away everything that was right. Repairing just the part that is wrong is better, if you can be sure the repair is an improvement.
What I built
- Localization: face matching against character references, and a vision-language model to find products and logos.
- Targeted, high-resolution edits on just that region, each with the reference that fits it.
- Verification that accepts or rejects each edit, and feeds the reason for a rejection into the next attempt.
- Bounded retries and a fallback that keeps the original when they run out.
- A paired evaluation run: the same fixed inputs through the old and new method, compared side by side.
How it works
Illustrative pattern · not the production pipeline
At run time: locate, edit, verify
Two jobs of the harness
At run time
Should this edit be accepted?
Locate, edit with the right reference, verify. A rejection carries its reason into a limited number of retries; when they run out, the original stays.
In evaluation
Is this method better than the last one?
Run the same fixed inputs through both methods and compare the outputs in pairs for identity and product detail, so a change is judged on evidence rather than a few good examples.
Decisions
01
Fix the region, not the image
A small edit is cheaper and leaves what the customer already approved untouched.
02
Failing safe is a feature
When retries can’t produce a better result, the original is returned. The worst case is no change, not a regression.
What this page shows
The before and after images were made with Luma’s public tools for this page: the “before” face was swapped in on purpose, and the “after” uses Luma’s face swap with the character’s reference. They illustrate the idea, not the production pipeline; no customer content is shown.