Back to Blog

November 8, 2026

How to Replace an Object in a Photo With AI

replace object in photo AIswap object in picture onlineAI object replacementchange an object in a photoSpotEdit
A bowl of fruit before and after replacing the banana with a bunch of purple grapes using an AI photo editor

The short answer

In SpotEdit, say what to replace and what to put there. It swaps one for the other in the same place and leaves the rest of the photo identical.

Steps

  • Sign in, open the editor and add your photo.
  • Write the change in plain words, for example "Replace the banana with a bunch of purple grapes".
  • Optional: choose Brush an area and paint over the part that may change. The edit stays there, with a soft blend at its edge.
  • Press Edit. When it finishes, drag the before and after slider, or view the two side by side, and zoom in to check the details.
  • Press Download full resolution for the PNG, or Keep editing this to make another change to the result.
  • Prices and times on this page are those of SpotEdit on the day it was written: 40 credits up to 12 MP, 50 credits up to 24 MP, 60 credits up to 49 MP. An edit usually takes 40 to 70 seconds, and the first one after a quiet period takes several minutes longer.

    A real example

    We replaced the banana in a fruit bowl with a bunch of purple grapes, using exactly the instruction above. The grapes sit where the banana was, with no leftover stem. The editor reported that 16.53% of the image changed. The apple, the citrus fruit and the rest of the bowl were not edited.

    Tips for better swaps

  • Say what the new object looks like, not just what it is: "a bunch of purple grapes" rather than "grapes".
  • Name the parts that are easy to miss, such as a stem, a handle or a cable, if a piece of the old object is left behind.
  • Use the brush when the object is small or there are several lookalikes. Painting over the right one removes the guesswork.
  • Try another version if the first result is close but not right. Each is a separate edit.
  • What it costs

    40 credits up to 12 MP, 50 credits up to 24 MP, 60 credits up to 49 MP, per finished edit. A failed edit is not charged.

    Related guides

  • How to remove an object from a photo with AI
  • How to change the text on a sign in a photo with AI
  • The fruit photo is "Fruit Bowl (4880797613).jpg" from Wikimedia Commons, licensed CC BY 2.0.

    Try it on your own photo

    SpotEdit costs from 40 credits per edit, and an edit that fails is not charged. New accounts get free credits.

    Open SpotEdit