Local AI background removal
AI Background Remover
Isolate portraits or objects and export a transparent PNG. Choose the model that matches your image, directly in the browser.
Drop an image to remove its background
or click to choose one image
How AI cutout works
The selected model predicts a foreground mask at up to 512 pixels, then the mask is scaled onto the original image and saved as a transparent PNG.
MODNet is fixed to WASM because its WebGPU path can silently reduce accuracy. BiRefNet tries WebGPU first and falls back to WASM.
AI cutout FAQ
Which model should I choose?
Start with MODNet Quantized for portraits. Choose MODNet FP32 for finer portrait edges, or BiRefNet Lite when people and objects are mixed.
Are images uploaded?
No. Model inference and PNG composition run locally. The model weights are fetched from a pinned public source and cached.
Why are the BiRefNet downloads so large?
BiRefNet has substantially more parameters than MODNet. The full model is about 473.4 MB. Both BiRefNet tiers are downloaded from a pinned external source only when selected and are never bundled into the Cloudflare deployment.
Can I change the background without rerunning AI?
Yes. The transparent result is reused when switching between transparent, white, red and blue backgrounds.