← All projects

A photo-cutout workspace with per-image settings, an editable mask and transparent PNG or white-background JPG export.

Role
Product design, full-stack engineering, and model integration
Delivery
Self-hosted VPS + Docker
Availability
Showcase
Model
ONNX segmentation on the server

How it works

APP SERVERUploadJPG or PNGONNX modelsmall or mediumMask + composeSharpCharge creditafter a resultRemoval logResultPNG cut-out or white JPGBG REMOVER / UPLOAD TO CUT-OUT

Swipe to see the whole system

  1. Own the model

    Inference runs on the app's server with ONNX Runtime, so processing cost is predictable and images are not passed to an outside API.

  2. Settings per image, not per batch

    A product shot can go out as a transparent PNG while the next one is flattened onto white as a JPG, in the same run.

  3. Charge for results

    The credit is deducted in a transaction only after a result exists, and the balance can never go below zero.

The problem

Most background-removal tools either send images to a third-party API with per-call pricing, or give one setting for every image. Product sellers need a fast preview for some shots, clean edges for others, and a white backdrop for marketplaces that require one.

My approach

BG Remover runs open segmentation models in its own Node server with ONNX Runtime, so no image leaves the app for processing. Each image in a batch gets its own quality, background, and format, a credit is charged only when a result is produced, and results can be downloaded, previewed, touched up, or reverted.

Engineering scope

  1. Next.js 16 and React 19 with NextAuth Google sign-in and MySQL for users, credits, subscriptions, and removal history
  2. Server-side segmentation with imgly's ONNX models (small for previews, medium for full quality) at 1024-pixel inference, then masking and compositing with Sharp
  3. Stripe checkout for one-time credit packs and a monthly plan, with a webhook that adds credits