LocalBG

About LocalBG

LocalBG is a free background remover. The site is a static Next.js export. The cutout runs in a Web Worker with ONNX Runtime Web, using the MIT-licensed BiRefNet-lite 512 FP16 weights. JPG, PNG, and WebP stay on the device. The downloaded model is cached in the browser.

The interface is built from the nextjs-starter stack: TypeScript, next-intl, shadcn/ui, Tailwind, and MDX, with the server-only pieces (middleware, analytics, email, Redis) removed so the project can be hosted as files. English and Chinese are both first-class.

There is no account, no API key, and no paid inference API. If the project is offered commercially later, the model and the runtime already allow that. See licenses and privacy.

Source: github.com/codingirl/localbg.