Local AI background removal

AI 背景削除

人や物体を分離して透明 PNG を書き出します。画像に合うモデルを画面から選択できます。

画像はデバイス外へ送信されませんブラウザ内で処理Transparent PNG output

画像をドロップして背景を削除

またはクリックして画像を選択

JPG · PNG · WebPMaximum 40 MB
Each model downloads once. Processing stays on this device.

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.