inpainting-product-fixes
Installation
SKILL.md
Inpainting and Erasing
edit_image supports inpainting and erasing via masked regions. That means you can fix one part of an image and leave the rest untouched — which is almost always what you actually want.
The alternative is regenerating, which fixes the problem and changes everything else you liked.
When to inpaint rather than regenerate
| Problem | Inpaint |
|---|---|
| A stray object in the frame | Erase it |
| A halo left by background removal | Repair the edge |
| Dust, scratch, fingerprint on the product | Remove it |
| An unwanted reflection | Erase or replace |
| A cable, tag or sticker that shouldn't be there | Erase |
| A blemish on a model's skin | Retouch |
| A distorted small area from a generation | Repair locally |
| A logo you don't have rights to in the background | Erase |