This tutorial presents the removal, by artificial intelligence (AI), of an unwanted object in an image.
Catalog reference: Photoshop Tutorial_0021.
Identify the level of each chapter
🟢 All levels
- Core concepts to master.
- Recommended for all users.
🟡 Intermediate level
- Requires mastery of the core concepts.
- Commonly used techniques.
🔴 Expert level
- Advanced techniques.
- Used in specific or professional cases.
🟢 Prepare the starting image
The starting image contains metal barriers in the foreground, which must be removed. They are indicated by the orange arrow in the illustration below.

🟡 Select the object to remove
Select the Pen Tool (marker 1) and check that the Path option is selected (marker 2).

With the Pen Tool, roughly outline the object to remove, here the barriers.

To turn the outline into a selection, open the Paths panel (marker 1), then click the button showing a dotted circle (marker 2).

The outline is now a selection, as in the illustration below.

🟢 Remove the object with AI
Click the Generative Fill button to use AI content generation.

If the Contextual Task Bar does not appear, open the Window menu (marker 1), then check the Contextual Task Bar line (marker 2).

In the Contextual Task Bar, enter the text Delete selected object (marker 1), then click the Generate button (marker 2).

The AI starts generating three proposals to replace the selected object.

The AI proposals appear in the panel on the right of the image. The illustration below shows proposal 1.

Proposal 2:

Proposal 3:

The chosen proposal appears as a new layer in the Layers panel.

The illustration below shows the final image, which includes AI proposal 3.

