# Inpaint / Erase

> Remove objects from photos with an AI eraser: paint over a person, an object or clutter, then erase it or replace it. 6 examples, 4 models compared.

Source: https://nodaro.ai/docs/apps/inpaint-erase

**Inpaint / Erase** is a Nodaro app that removes objects from photos or replaces them, an AI eraser for one part of a picture. You paint over a person, an object or clutter. Then you choose **Remove it**, or you write what goes there. Only the painted area changes. This method is called inpainting.

Open the app at [nodaro.ai/apps/image-inpaint](https://nodaro.ai/apps/image-inpaint).

## When to remove an object from a photo
- A person walked into your photo and you want to remove the person from the photo.
- A bicycle, a car, a sign or a bin spoils a scene.
- A table or a room is full of clutter before you post the photo.
- One item must change: a cap becomes a hat, or a sign gets new words.
- An empty spot needs an object, such as a chair in an empty room.

To change the whole picture with words and without painting, use [Magic Edit](https://nodaro.ai/docs/apps/magic-edit). To cut the subject out of its background, use [Remove Background](https://nodaro.ai/docs/apps/remove-background).

## How to replace an object in a photo
This tutorial replaces a red cap with a straw hat. It takes 6 steps and about 2 minutes. Every screenshot is from the app itself.

### Open the app

Open [Inpaint / Erase](https://nodaro.ai/apps/image-inpaint). The panel on the left holds the picture, the mode, the words, the **Model** and the **Generate** button. The large area on the right shows examples until you add a picture.

![The Inpaint / Erase app before a picture is added: the panel with Add one image, Replace with… and Remove it, What to put there, Model and Generate, and an example of a cap replaced with a beanie.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/app-start-7106c9d4234e.webp)

The app before you add a picture

### Add a picture

In **Add one image**, drag a picture onto the box. You can also click the upload button, or click the **Media** button to choose a picture you already have in Nodaro. The picture fills the large area, and you paint on it there. The panel shows the painting tools under **1. Mark what to change**.

![The app with a photo of a man in a red baseball cap in a park. The panel shows Your picture, the painting tools and Generate.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/app-picture-ada8738fe00a.webp)

The picture is added

### Paint over what to change

Drag over the picture to paint the area that changes. The painted area shows in pink. Paint a little past the edges of the object, so that no part of it is left.

![The cap and the area above it are painted pink. The panel shows Brush size 40px and 10% will be made anew.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/app-mask-179cf476fa9f.webp)

The cap is painted, and 10% of the picture will be made anew

The painting tools are in the panel:

- **Brush size** sets the brush from 8 to 160 px. The app starts at 36 px.
- **Add to marking** paints, and **Remove from marking** takes paint away.
- **Select all** paints the whole picture, **Invert** swaps the painted and the unpainted areas, and **Clear** removes all the paint.
- **Overlay**, **Black & white** and **Original** change the view. **Black & white** shows the painted area alone, in white.
- The line under the views says how much of the picture will be made anew.

**Or let AI mark it** marks a thing that you name in English, such as "the sky". It costs 55 credits for each marking. In the tests for this page, the AI marking did not work, so paint with the brush. See [The AI marking](#ai-marking).

### Choose the mode and write what goes there

Keep **Replace with…** and write what goes in the painted area in **What to put there**. Describe the new thing itself, with its color and material. The **Generate** button becomes active and shows the price.

![The panel with Replace with… selected, the words about a beige straw fedora in What to put there, Model GPT Image 2.6 Flare and Generate with its price.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/app-replace-ad5163b98631.webp)

The mode and the words are set

To erase the object, choose **Remove it**. In this mode you write nothing. The app asks the model to remove what is in the painted area and to fill it in naturally, as if it was never there.

### Choose a model

Click **Model** to choose one of the four models: **GPT Image 2.6 Flare**, **GPT Image 2.6 Sunburst**, **FLUX Fill Pro** or **Ideogram Edit**. The app starts on GPT Image 2.6 Flare. The price on **Generate** changes with the model.

![The Model menu is open and lists GPT Image 2.6 Flare, GPT Image 2.6 Sunburst, FLUX Fill Pro and Ideogram Edit, with GPT Image 2.6 Flare selected.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/app-models-0da1a61da1d2.webp)

The Model menu

[Which AI eraser model to choose](#models) compares the models on the same painted area.

### Generate and use the result

Click **Generate**. The runs for this page took about 30 to 70 seconds. When the run ends, the app shows the result with a line between **Before** and **After**. Drag the line to compare them.

![The finished run: the left half shows the man in the red cap and the right half shows the same man in a beige straw fedora with a black band. Below are Download, Share, Favorite and Use this result as input.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/app-done-36f14206b4e7.webp)

The result, with its actions

Under the result you can:

- **Download** the new picture.
- **Share…** it with a link.
- Mark it as a **Favorite**.
- Click **Use this result as input** to change another part of the new picture.

Every run stays in the app, in your list of runs.

## Examples
Every example below is a real run in the app with GPT Image 2.6 Flare, the default model. Each result is the model's first take. Each source photo was made with [Generate Image](https://nodaro.ai/docs/nodes/image/generate-image) and is 1,448 × 1,086 pixels. The left picture shows the painted area as the app draws it.

### Remove a person from a photo
**Remove it**, **Model** GPT Image 2.6 Flare. 7% of the picture was painted.

Comparison:
- Painted area: ![A town square with a stone fountain and pastel houses. A man walking on the right is painted pink](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/man-painted-f2b3dd10f634.webp)
- After: ![The same square with no person. The corner of the house, the cobblestones and the bench continue where the man was](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/man-erased-245f696d7b5d.webp)

The man is gone. The model drew the corner of the house, the cobblestones and the stone bench behind him. It also added a small potted plant by the wall, which fits the scene but was not in the photo.

### Remove an object from a street photo
**Remove it**, **Model** GPT Image 2.6 Flare. 6% of the picture was painted.

Comparison:
- Painted area: ![A street with cafes and parked bicycles. The black bicycle in front of a shop on the right is painted pink](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/bike-painted-dbf04406f13a.webp)
- After: ![The same street without the black bicycle. The other bicycles, the trees and the cafes are the same](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/bike-erased-9b1d75dadacc.webp)

Comparison:
- Before, zoomed in: ![A zoomed part of the photo: the black bicycle with a basket in front of a planter and a shop window](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/bike-src-zoom-70739fa1d72a.webp)
- After, zoomed in: ![The same part after the run: a wider stone planter with a shrub, a small potted tree and the shop front, with no bicycle](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/bike-erased-zoom-3590ce6fbb64.webp)

The bicycle is gone, and the bicycles behind it are the same. The planter that the bicycle covered came back wider, and a small potted tree appeared by the shop. The model fills the area with what fits the scene, not with what was really behind the object.

### Remove clutter from a table
**Remove it**, **Model** GPT Image 2.6 Flare. 29% of the picture was painted: the mugs, the magazines, the pizza box, the cables, the phone and the toy blocks.

Comparison:
- Painted area: ![A living room with a grey sofa and a wooden coffee table. The mugs, magazines, pizza box, cables, phone and toy blocks on the table are painted pink](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/clutter-painted-84b17c267ab7.webp)
- After: ![The same living room with an empty coffee table. The sofa cushions and the knitted blanket continue where the pizza box was](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/clutter-erased-5a40bee3a952.webp)

The table is empty, and the wood grain continues across it. The open pizza box covered part of the sofa. The model drew the cushions and the knitted blanket behind it.

### Replace a cap with a hat
**Replace with…**, **Model** GPT Image 2.6 Flare. 10% of the picture was painted.

```
A beige straw fedora with a black band
```

Comparison:
- Painted area: ![A man with a short beard in a red baseball cap and a white t-shirt in a park. The cap and the area above it are painted pink](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/hat-painted-088bfe0c11e7.webp)
- After: ![The same man in a beige straw fedora with a black band. The face, the beard and the park are the same](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/hat-fedora-9b5710350ec7.webp)

Comparison:
- Before, zoomed in: ![A zoomed part of the photo: the red cap above the eyes](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/hat-src-zoom-dd897790a402.webp)
- After, zoomed in: ![The same part after the run: a woven straw fedora, with a small red edge of the old cap left under the brim on the left](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/hat-fedora-zoom-c19d371470fa.webp)

The face, the eyes and the beard are the same, and the hat sits on the head at the right size. On the left, a small red edge of the cap stayed under the brim. The painting did not reach that edge, so paint a little past the object.

### Change the words on a sign
**Replace with…**, **Model** GPT Image 2.6 Flare. 11% of the picture was painted: the letters on the sign, not the wheat on both sides.

```
Painted serif letters that read "SUNRISE BAKERY" and, smaller below, "Fresh bread every morning"
```

Comparison:
- Painted area: ![A bakery shop front with a wooden sign that reads Golden Crust Bakery. The letters on the sign are painted pink](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/sign-painted-9c4a1bc8a534.webp)
- After: ![The same shop front. The sign now reads Sunrise Bakery and, below, Fresh bread every morning](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/sign-new-1b1646cc620d.webp)

Both lines are spelled exactly as written, in the same style of painted letters. The board, the wheat on both sides, the window and the chalkboard are the same. Put the exact words in quotes.

### Add an object to an empty room
**Replace with…**, **Model** GPT Image 2.6 Flare. 10% of the picture was painted: a box-shaped area of the floor and the wall behind it.

```
A green velvet armchair with a small round wooden side table
```

Comparison:
- Painted area: ![An empty living room with an oak floor and a large window. A box-shaped area of the floor and the wall behind it, on the right, is painted pink](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-painted-536ec30bb70a.webp)
- After: ![The same room with a green velvet armchair on the floor, facing the camera](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-flare-c726919ca3ed.webp)

The armchair stands on the floor at the size that the room needs. The model left out the side table that the words asked for. [The same armchair on three models](#compare-add) shows what the other models did with the same words.

## Which AI eraser model to choose
Inpaint / Erase offers four models. The tests for this page made 13 runs: 8 with GPT Image 2.6 Flare, and 1 or 2 with each other model. In each comparison below, every model got the same painted area and the same words, and each result is the model's first take.

### The same armchair on three models
```
A green velvet armchair with a small round wooden side table
```

  - **[GPT Image 2.6 Flare](https://nodaro.ai/docs/models/image/gpt-image-2-6-flare-i2i)** · 1,448 × 1,086 · 29 credits. A green velvet armchair that faces the camera. There is no side table. The rest of the room is the photo itself. ![A green velvet armchair facing the camera in the empty room, with no side table.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-flare-c726919ca3ed.webp)
  - **[FLUX Fill Pro](https://nodaro.ai/docs/models/image/flux-fill-pro)** · 1,440 × 1,080 · 33 credits. A green wingback armchair seen from behind, and a small round side table. The model also put a fireplace with logs in the wall, which the words did not ask for. ![A green wingback armchair seen from behind, a small round side table and a fireplace with logs in the wall.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-flux-0f78f546bb19.webp)
  - **[Ideogram Edit](https://nodaro.ai/docs/models/image/ideogram-edit)** · 1,154 × 866 · 50 credits. A green armchair and a round wooden side table with a cup. The model also added a woman who sits in the armchair. ![A green armchair and a round wooden side table with a cup, and a woman sitting in the armchair.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-ideogram-96403766c96b.webp)

### The same erase on three models
**Remove it**, with the dog on the beach painted: 36% of the picture.

  - **[GPT Image 2.6 Flare](https://nodaro.ai/docs/models/image/gpt-image-2-6-flare-i2i)** · 1,448 × 1,086 · 29 credits. The dog is gone. The painted area came back in another tone, so its box shape shows in the sky and the sea. ![The beach without the dog, with a lighter, box-shaped area in the sky and the sea where the dog was.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/dog-flare-e7e8b065afd7.webp)
  - **[GPT Image 2.6 Sunburst](https://nodaro.ai/docs/models/image/gpt-image-2-6-sunburst-i2i)** · 1,448 × 1,086 · 29 credits. The same result as GPT Image 2.6 Flare: the dog is gone, and the box shape of the painted area shows. ![The beach without the dog, with a lighter, box-shaped area in the sky and the sea where the dog was.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/dog-sunburst-e72a97c71e44.webp)
  - **[Ideogram Edit](https://nodaro.ai/docs/models/image/ideogram-edit)** · 1,152 × 864 · 50 credits. The model did not remove the dog. It drew a new golden retriever in the same place. ![A new golden retriever running on the beach, in the place of the dog in the photo.](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/dog-ideogram-db209ad5ff30.webp)

FLUX Fill Pro also ran this erase, for 33 credits. It did not remove the dog: it drew a person with a beach board in its place. That result is not shown.

| | GPT Image 2.6 Flare | GPT Image 2.6 Sunburst | FLUX Fill Pro | Ideogram Edit |
| --- | --- | --- | --- | --- |
| Price for a 1,448 × 1,086 photo | 29 credits | 29 credits | 33 credits | 50 credits |
| Size of the result | 1,448 × 1,086, the photo's own size | 1,448 × 1,086, the photo's own size | 1,440 × 1,080 | 1,152 × 864 and 1,154 × 866 |
| Remove it | Removed what was painted in 5 of 5 runs. On open sky and sea, the edge of the painted area showed | Removed the dog in 1 of 1 run, with the same visible edge | Drew a person in the painted area in 1 of 1 run | Drew a new dog in 1 of 1 run |
| Replace with… | Followed the words in 3 of 3 runs, and left out the side table once | Not tested | Added a fireplace that the words did not name | Added a person that the words did not name |
| Use it for | Erasing and replacing: start here | The same jobs as GPT Image 2.6 Flare | Not for erasing. A second try when you replace a part | Not for erasing. A second try when you replace a part |

Of the models tried, the GPT Image 2.6 models were the ones that removed what was painted every time, so start with GPT Image 2.6 Flare. FLUX Fill Pro and Ideogram Edit treat the painted area as room for something new, and they added things that the words did not name. A few runs are not enough to rank the models, so compare two models on your own picture when the result matters.

## Where inpainting needs care
### A large area of sky or water
Comparison:
- Painted area: ![A golden retriever running on a beach toward the camera. The dog is painted pink, 36% of the picture](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/dog-painted-11e497e74e16.webp)
- After: ![The beach without the dog. A lighter, box-shaped area shows in the sky and a darker one in the sea](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/dog-flare-e7e8b065afd7.webp)

The dog filled more than a third of the photo, in front of a smooth sky and sea. The new area came back in a slightly different tone, so the shape of the painting shows. A second run with the painting closer to the dog, 32% of the picture, had the same seam and left a few hairs in the sky. The erase worked best on small objects in busy scenes, such as a street, a square or a table, where a small change of tone does not show.

### The edges of the painted area
Comparison:
- Before, zoomed in: ![A zoomed part of the empty room: the oak floor and the white wall](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-src-zoom-0a40f56ed6c4.webp)
- After, zoomed in: ![The same part with the armchair. A lighter patch of floor ends in a straight line at the right, and a small green sprig is on the wall](https://cdn.nodaro.ai/site-media/docs/apps/inpaint-erase/room-flare-zoom-7156fb4ede9b.webp)

Zoomed in, the armchair example shows the edge of the painted area. A lighter patch of floor ends in a straight line, and a small green sprig appeared on the wall. In the hat example, a small part of the old cap stayed where the painting stopped. Check the edges at full size before you use a result.

### Things the model adds
The model fills the painted area with what fits the scene. In the examples on this page it added a potted plant, a wider planter, a fireplace and a person. A smaller painted area leaves less room for additions. When you replace a part, describe the one thing that goes there.

### The AI marking
**Or let AI mark it** takes the name of a thing in English and marks it for 55 credits. In the tests for this page, it did not mark "the dog" or "dog" on the beach photo, or "the sky" on the street photo. Each time the panel said "The AI could not mark that. Try other words, or mark it with the brush." A marking that fails costs nothing. Paint the area with the brush instead.

## Tips
- **Paint a little past the edges.** A part of the object that is not painted stays in the result.
- **Check the painting in Black & white.** The view shows the painted area alone, so a gap is easy to see.
- **One object in one run.** Click **Use this result as input** to change the next part.
- **Describe the new thing, not the change.** "A beige straw fedora with a black band" names what goes there.
- **Put the words of a sign in quotes.** The model wrote both lines of the bakery sign exactly as quoted.
- **Start with GPT Image 2.6 Flare.** Of the models tried, the GPT Image 2.6 models were the ones that never added a new subject.

## Credits
The price depends on the model, and for GPT Image 2.6 also on the size of your picture. For the 1,448 × 1,086 photos on this page, a run with GPT Image 2.6 Flare cost 29 credits, and a run with GPT Image 2.6 Sunburst cost 29 credits. A run with FLUX Fill Pro costs 33 credits and a run with Ideogram Edit 50 credits, at any size of picture. **Or let AI mark it** costs 55 credits for each marking. The **Generate** button shows the exact price for your model and your picture before the run starts. See [Credits](https://nodaro.ai/docs/concepts/credits).

## Frequently asked questions

### How do I remove an object from a photo?

Open Inpaint / Erase, add the photo and paint over the object. Choose Remove it and click Generate. The app fills the painted area to match the scene around it, and the rest of the photo stays the same.

### Can I replace an object instead of removing it?

Yes. Paint over the object, keep the mode Replace with… and write what goes there, for example "A beige straw fedora with a black band". In the tests on this page, a cap became a straw hat and a sign got new words.

### Which model removes objects best?

In the tests on this page, GPT Image 2.6 Flare, the default model, removed what was painted in every run. FLUX Fill Pro and Ideogram Edit filled the painted area with something new, such as a person or a new dog. Start with GPT Image 2.6 Flare.

### How many credits does Inpaint / Erase cost?

The price depends on the model. For the 1,448 × 1,086 photos on this page, GPT Image 2.6 Flare cost 29 credits, FLUX Fill Pro 33 credits and Ideogram Edit 50 credits. The Generate button shows the price for your model and your picture before the run starts.

### Does the rest of my photo change?

With GPT Image 2.6 Flare and Sunburst, the app keeps your photo outside the painted area, at its own size. FLUX Fill Pro and Ideogram Edit return a picture at their own size, which was smaller than the photo in the tests.

### Can AI mark the area for me?

The panel has Or let AI mark it, which marks the thing you name in English for 55 credits. In the tests on this page, it could not mark "the dog", "dog" or "the sky", and the failed markings cost nothing. Paint the area with the brush.
