Remove Background

Remove any background with an AI model that runs on your device, then export a transparent PNG.

What Remove Background helps you do

Remove the background from a photo with an AI model that runs entirely in your browser. It handles people, pets, products, and objects against busy or gradient backgrounds, then exports a transparent PNG at the source resolution. For a flat studio backdrop, the color-key method is faster and more predictable.

The AI model runs inside your browser. Photos are never uploaded to Haivix; only the model file is downloaded once and cached.

How it works

The AI path downloads a segmentation model, runs it locally, and uses the predicted mask to make the background transparent. Model size depends on quality: Fast is a few megabytes, High quality can be around 95 MB. The color-key path samples the chosen background color and removes pixels within the tolerance, with a soft edge to reduce harsh borders.

How to use Remove Background

  1. Upload a JPEG, PNG, WebP, GIF, or BMP image and choose the AI or color-key method.
  2. For AI, choose Auto, High quality, or Fast; for color key, sample the background and set tolerance and soft edge.
  3. Press Remove background and inspect the checkerboard preview.
  4. Download the transparent PNG.

When to use it

  • Prepare catalog product shots for marketplaces that require transparent or white backgrounds.
  • Cut out portraits, pets, or objects for slides, thumbnails, and design mockups.
  • Remove busy or gradient backgrounds that a color-key tool cannot separate.
  • Make a transparent logo or sticker from a photo.
  • Create a clean subject cutout for a composite image.
  • Replace a distracting background in a profile photo.

When not to use it

  • Do not expect perfect edges on fine hair, fur, glass or semi-transparent objects without touch-up.
  • Do not use the color-key method on a gradient or textured background.
  • Do not upload a confidential photo on a shared device, even though processing is local.

Example

A product photo on a busy wooden table is processed with Auto. The model isolates the item, and the checkerboard preview shows a clean edge except for a thin shadow. High quality improves the shadow edge, and the transparent PNG is placed on the shop's white background.

What you can do with Remove Background

  • Remove a background with an on-device AI model.
  • Use the color-key method for flat studio backdrops.
  • Choose Auto, High quality or Fast for the AI model.
  • Sample the background color and adjust tolerance and edge softness.
  • Preview the transparent result against a checkerboard.
  • Download a transparent PNG at the source size.
  • Keep the source photo unchanged for another attempt.

Example: prepare a product photo

Drop the product photo and keep the AI method. If the item sits on a plain white sweep, try the color-key method instead; it is faster and avoids model edge artifacts.

For AI, start with Auto and inspect the edges around the product. If hair, fur or thin straps look rough, switch to High quality and run it again.

Download the PNG and place it on the final background. Check the edges at 100% before publishing; a little manual touch-up may still be needed.

What to know before you start

  • The first run downloads a local model (a few megabytes for Fast, up to about 95 MB for High quality) and needs a modern browser.
  • Very fine hair, fur, glass, and semi-transparent objects may still need manual touch-up.
  • The Fast model produces softer edges than High quality on older devices.
  • The color-key method only works on a relatively flat, uniform background.
  • The output is a PNG; there is no JPG option with a replacement background.

Common mistakes

  • Using color key on a gradient backdrop and leaving halo pixels.
  • Choosing High quality on an older phone and waiting much longer than expected.
  • Judging the edge from the small preview instead of at 100%.
  • Forgetting that the output is PNG, not the original format.
  • Expecting the tool to remove shadows or reflections as well as the background.
  • Expecting the model to remove a reflection on a glass table.

Troubleshooting

If the first run is slow, the model is downloading. Later runs use the browser cache.

If the edges are rough, switch to High quality or use the color-key method on a flat background.

If the wrong area is removed, the subject may blend into the background; try a photo with more contrast.

If the color-key result has fringes, raise the tolerance slightly and adjust the soft edge.

If the browser runs out of memory on a large photo, resize it first and try again.

Related standards and documentation

  • The exported PNG uses the alpha channel defined by ISO/IEC 15948.
  • On-device inference avoids sending the photo to a remote model service.
AI for scenes, color key for studios
  • Fast is quicker and rougher; High is slower and cleaner.
  • Color key is best on a flat backdrop.
  • Check the edges at 100%.

Frequently Asked Questions