---
title: "Can AI Edit Only Part of an Image? | ImageQuarry"
url: https://www.imagequarry.com/faq/can-ai-edit-only-part-of-an-image/
last_updated: 2026-10-20
---

# Can AI edit only part of an image?

Yes. You can mark an area with a mask, or describe the part to change in words, and the model concentrates the edit there. It is not a hard boundary: the rest of the image is usually regenerated too, so check the untouched areas after each edit.

Mask-based editing (often called [inpainting](https://www.imagequarry.com/faq/what-is-inpainting/)) fills only the marked region. Hugging Face's Diffusers documentation describes the mask as white for the area to change and black for the area to keep, and notes that inpainting models are "more likely to change your unmasked area" while blending the edge.

Instruction editing without a mask works by description: "replace the sky", "make the mug blue". Google's Gemini documentation shows prompts that end with "Do not change any other elements of the image" for this reason.

In ImageQuarry you describe the part to change in plain words on the version you selected. The result is a new version, and the earlier one stays, so a partial edit that spilled over is easy to undo.

_Source: Hugging Face Diffusers inpainting documentation, Google's Gemini image generation documentation and the ImageQuarry homepage, checked October 20, 2026._

Next step: [What is a mask in AI image editing?](https://www.imagequarry.com/faq/what-is-a-mask-in-ai-image-editing/)

## Related questions

- [What is a mask in AI image editing?](https://www.imagequarry.com/faq/what-is-a-mask-in-ai-image-editing/): A map of the area to change and the area to keep.
- [What is inpainting?](https://www.imagequarry.com/faq/what-is-inpainting/): Filling a marked area of an image with new content.
- [Why does AI change my whole image when I ask for one change?](https://www.imagequarry.com/faq/why-does-ai-change-my-whole-image/): Most editors redraw the whole frame, not only the part you named.
- [Can AI remove an object from a photo?](https://www.imagequarry.com/faq/can-ai-remove-an-object-from-a-photo/): Yes, usually, by filling the area behind it.

Last reviewed 2026-10-20 by ImageQuarry.

## Change only the part you mean

Select a version, describe the area and the change, and keep the earlier version beside it.

