Skip to main content

AI Lab

Background remover

Cut the person or main object out of a photo. Get a PNG with a transparent background, or fill it with a colour. The AI model runs on your device.

  1. 1Add your image files
  2. 2Pick options
  3. 3Click Run
  4. 4Download result

Limits

  • First use downloads about 53 MB once: the MODNet matting model (26 MB, Apache-2.0, from huggingface.co) and the ONNX runtime (27 MB, from this site). After that it works offline.
  • It is trained mostly on portraits. Other objects often work but can be cut too tightly or left with part of the background.
  • Fine hair, fur, glass, smoke and other see-through things get soft or imperfect edges. Check the result on a dark and a light background before using it.
  • The cut-out is found at reduced size and its edge is then scaled up, so edges on very large photos are slightly softer than the photo itself. Output is capped at 16 megapixels.
  • It uses your GPU (WebGPU) when the browser offers it, otherwise the CPU through WebAssembly, which can take 10 to 60 seconds per photo on a phone.
  • Photos stay on your device. Only the model files are downloaded.

Ask the AI chat

The AI chat can run this tool for you. Try:

  • “remove the background from this photo”
  • “make this portrait background transparent”
  • “cut out the person in this picture”