ben tossell / bg gone

remove.bg is shutting down in december, so here's mine. drop an image, get a cutout. the model runs in your browser, nothing is uploaded. open source, clone it.

drop an image, paste one, or choose a filejpg, png, webp.

original
result

how. BiRefNet lite runs on your gpu through transformers.js. no webgpu? it falls back to RMBG-1.4 on wasm, slower but fine. the model loads and warms up while you pick a file, and is cached after the first visit.

terminal. npx github:bentossell/bg-gone photo.jpg does the same thing from the command line. batch folders, solid backgrounds, pipes. source on github.

agents.