Skip to content

Tools · Clean up

Erase objects

Paint over a blemish, a price sticker or a stray object, and it is filled in from what is around it.

Create account 1 credit a photo

How it works

The fill comes from an AI model made to rebuild what a removed object hid, from the texture and light around it. Separate areas are filled one at a time, each at full detail.

It takes
One photo, and the area you paint over it.
You get
The photo with the areas filled in.
Cost
1 credit a photo

In the API

One request a photo, with an API key from the console. POST /v1/erase

curl -X POST "https://api.photos.sh/v1/erase" \
  -H "Authorization: Bearer $PHOTOS_KEY" \
  -F image=@photo.jpg \
  -F mask=@mask.png \
  -o result.jpg

More tools to clean up

  • Remove backgroundCut the product out onto transparency, white, a colour, an image or its own photo blurred, and stage it on a canvas with a shadow.
  • Remove text and watermarksPaint out watermarks, captions, prices and shop names. The product’s own label stays.
  • Select an objectClick the thing you want in a photo and get it cut out: one product among several, a part of one, or what the background remover did not pick.
  • Fix light and colourEven out dull, dark or tinted photos in one step, or set brightness, contrast, colour and sharpness yourself.
  • Hide facesBlur, pixelate or cover every face in a photo before you publish it.
  • Remove noiseClean the grain of a dark shot and the blocks of heavy JPEG compression out of a photo, with AI.
  • ColouriseGive a black-and-white photo colour, with AI. The colours are a believable guess, not a record of what was there.
  • Restore facesRedraw the faces of an old, blurred or small photo sharp, with AI. The rest of the photo is left as it is.
  • UpscaleEnlarge a small photo with AI, keeping edges and text sharp.

Try it on your own photos.

Create an account, buy a pack when you need one, and drop your first photos into Erase objects.

Create account