Remove a distracting object from a photo
Remove a named object and its visual traces while continuing the surrounding surfaces into the gap.
Tools: ChatGPT Images or an image editor that accepts a reference image. The example was run with the Codex built-in image tool.
What to provide
- Attach the displayed synthetic reference to reproduce the example, or a photo you have permission to edit.
Example Recorded test output
Input
Attach the displayed synthetic portrait. Exact prompt used: Edit the attached photo. Remove the cobalt-blue ceramic mug on the right side of the table, including its handle, contact shadow, and any residual blue edge. Fill only the vacated area by continuing the pale oak grain below the tabletop line and the olive plaster wall above it from the nearby image. Keep the seated woman, glasses, curls, hands, shirt, and the rest of the table and wall fixed, including the original framing and light direction. Add no replacement object. Return a single edited image.
Output
The mug, handle and contact shadow disappeared, and the table edge remained coherent. Grain and wall texture in the patch are synthesized; they do not reveal what the camera captured behind the mug.


Tool settings
One opaque result from the displayed source. Saved at 1536 × 1024 pixels. No seed, quality setting or exact underlying model was exposed.
Improve the result
- Untested follow-up: If a faint contact shadow remains, request correction of that patch alone.
What to inspect before using the result
The mug, handle and contact shadow disappeared, and the table edge remained coherent. Grain and wall texture in the patch are synthesized; they do not reveal what the camera captured behind the mug.
Read the photo editing guide to see this edit alongside two other changes made from the same original. AI tools assisted with this example and its review.