Features
Object Remove & Replace
Build and review a real object mask, choose bounded LaMa or the limited local fill, and place a local replacement as an export-safe editable layer.
Object Remove & Replace separates three jobs that are often confused: selecting the pixels to change, reconstructing the area behind them, and placing a replacement asset. Nothing applies until the selection is non-empty and you press the final action.
Build a selection
Choose positive guidance and draw over the object. Use negative strokes on nearby content that the mask should exclude, or constrain the selection with a lasso. The pinned MediaPipe MagicTouch selector uses that guidance; it never invents a centre ellipse or an empty default mask.
If the selector cannot start, the tool reports that failure and leaves the image unchanged. Use manual brush/lasso mask is an explicit manual alternative, not a claim that a flood fill is equivalent to interactive segmentation. Keyboard users can move the canvas crosshair with Arrow keys, press Enter to place positive or negative guidance, or enter exact horizontal and vertical percentages.
The first Build AI mask can fetch approximately 17.2 MB: the 6,227,884-byte MagicTouch model, about 10.6 MB of MediaPipe WASM, and the small JavaScript runtime. These pinned assets are cached for later and offline use. They are separate from the consent-gated LaMa quality model. A manual brush/lasso mask needs neither download.
Choose the removal path
- LaMa is the quality path. After explicit consent, the pinned approximately 200 MB model is cached. Inference uses a padded crop around the accepted mask at a bounded 512-pixel working size, then composites through the one expanded and feathered mask you control.
- Limited local neighbour fill needs no model download. It works inward from the mask boundary and is suitable only for tiny marks on simple, repetitive backgrounds. It can smear lines and structure. It is not PatchMatch and is not equivalent to LaMa.
Pixels whose governed mask value is zero retain their original bytes and alpha. Large masks crossing text, faces, perspective lines, reflections, or unique structure may still produce a plausible rather than truthful reconstruction.
Replace with a real local asset
Choose a replacement image from your device. Background removal has its own fail-closed approval: pinned BiRefNet fetches approximately 99 MB on WebGPU or up to 192 MB on the CPU compatibility path, then stays cached. Declining that request accepts only a PNG/WebP with meaningful existing transparency; a nominal one-transparent-pixel file is rejected instead of placing its opaque background. The workbench exposes position, scale, rotation, edge blend, brightness, saturation, colour temperature, and shadow controls.
Inside the Image Editor, removal and layer insertion create one composition history entry. The replacement remains an editable layer after Apply. The placement preview, editor canvas, standalone result, and editor export use the same full-resolution compositor.
Cancellation, history, and export
Cancel invalidates the active run and enables an immediate retry. A late result from an older source or run is closed instead of being applied. If the browser cannot encode both undo snapshots, the operation fails closed: the source, layer stack, and history remain unchanged.
After Apply, compare the actual decoded before/after result at 100%. Check the removal boundary, repeated texture, line continuity, and the replacement edge and shadow before downloading.
Related
Was this guide helpful?
Your answer stays in this browser and sends no network request.