← All models · Depth Anything

use case · multi-model

Multi-model: the pop-out composite

Two models, one picture. RMBG-1.4 cuts the subject out with a crisp matte; Depth Anything blurs the scene behind it in proportion to distance. Together they produce a "pop-out" — a sharp subject floating over a soft, depth-graded background — from a single flat photo, entirely in the browser.

This page loads both models (~270 MB combined, cached after first load). WebGPU accelerates them where available; otherwise both fall back to WebAssembly and the page says so.

Two cats on a couch A sunlit bedroom A riverside at golden hour
…or drop / choose your own

Original

Original photo

Pop-out composite

For each pixel: the RMBG matte decides subject vs background; for the background, the depth value picks how much blur to blend in (further = blurrier) plus a slight dim. The subject stays fully sharp. Both models run once each in their own Web Worker; the compositing is canvas maths.

← Wild · Depth Anything · See also: RMBG 3D sticker →