A little less background.
A little more subject.
Find the foreground, refine the edges, and take the original detail with you.
Small download. Honest limits.
U²-NetP · 320×320 inference · single-thread CPU/WASM · measuring assets.
Apache-2.0 model; MIT runtime. Model license. Desktop Chrome tested; low-memory/mobile and WebGPU are unvalidated.
Hair, whiskers, glass and low-contrast edges need review. Upscaling a small mask cannot restore missing detail.
Cutout studio
Start with a still image.
PNG, JPEG, WebP · 30 MiB · 20 MP · 8,192 px/side · no animated images
Let the subject stand out.
Choose an image and explicitly load the model.
No image is sent to a processing service.
Ready for its next place.
Output uses original oriented dimensions and image colors, with your mask for alpha. JPEG always flattens onto the replacement color.
A mask is a starting point. Your eye finishes it.
The lightweight foreground model was reviewed on a NASA portrait, coffee cup and cat image. It can retain background near the portrait, miss parts of the spoon, and lose whiskers/fur detail. Use compare, erase and restore; no perfect-edge or transparent-object promise is made.
Image dimensions are checked before decode and again after browser orientation. One image at a time; no batch queue. Original colors are used at export, not an enlarged 320×320 inference image. Model loading is explicit; there is no cloud fallback, analytics or persistent image/mask history.
Clear session closes the image bitmap, terminates the worker, and drops masks/history/export URLs. It cannot erase OS memory or previously saved files. Ordinary application/model requests still reach the host.