Vibecode remove.bg

track this build5 phases, 10 steps, beginner friendly
YES · one-shottable
price $9/moyou'd save $108/yrbuild time one sittingcategory 📷 photo editingreplaced by 0 people

The open-source model behind this task (rembg with its ONNX models) runs on a laptop CPU in a couple of seconds per image. A drag-and-drop page around it is a sitting. What you lose is edge quality on hair and glass, batch scale and the Photoshop plugin.

the project pack5 files · written for this build, step by step
README.md
# remove.bg · indie build

Background removal on your own machine: rembg behind a CLI and a localhost page with drag-and-drop, batch processing, background replacement and export at full resolution. Nothing is uploaded anywhere.

Estimated effort: **one sitting**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Engine | rembg with onnxruntime | open models that run on a laptop CPU |
| Runtime | Python 3.11+, a stdlib or FastAPI server on localhost | rembg is Python |
| UI | Vanilla HTML and JS | one page |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **A terminal and a code editor** · free
  - Why: Every step below is a command you type or a file you edit.
  - Get it: VS Code (code.visualstudio.com), Cursor or Zed. Open a folder for the project and use the editor's built-in terminal.
  - Verify: You can open a folder and run a command in its terminal
- [ ] **Git** · free
  - Why: History for your code, and the way most hosts deploy.
  - Get it: Install from git-scm.com or with your package manager, then run git init in the project folder once it exists.
  - Verify: git --version prints a version
- [ ] **Python 3.11 or newer with pip** · free
  - Why: rembg is a Python package.
  - Get it: python.org or your package manager; use a virtual environment.
  - Verify: python3 --version prints 3.11 or higher
- [ ] **rembg and its models** · free, a few GB of disk
  - Why: The whole engine. Models download on first use (hundreds of MB).
  - Get it: python3 -m venv .venv && source .venv/bin/activate && pip install 'rembg[cli]' onnxruntime
  - Verify: rembg --help prints usage
- [ ] **Test images: a portrait, a product on white, something with hair** · free
  - Why: Each phase is judged on real results.
  - Get it: Three photos.

## Quick start

```sh
python3 -m venv .venv && source .venv/bin/activate
pip install 'rembg[cli]' onnxruntime pillow
```

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Their edge quality on hair and glass.
- Plugins, API scale, GPU batch processing.
- edge quality on hair, fur and glass
- the Photoshop and Figma plugins
- the API at scale
- GPU speed for batches

If one of those is essential to you, that is the reason to keep paying for remove.bg, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Their model is visibly better on difficult edges, and product photographers process hundreds a day where two seconds each on a laptop is not fine.

what you lose

xedge quality on hair, fur and glass

xthe Photoshop and Figma plugins

xthe API at scale

xGPU speed for batches

prior art · use these instead of building, if you'd ratherrembgopen-source background removal with several models
share on X ↗"I just replaced remove.bg ($9/mo) with one prompt"
the numbers

remove.bg pricing

40 credits$9/mo · monthly subscription · $108/yr

free tierThe free tier removes backgrounds at preview resolution only; full-resolution downloads cost a credit.

verified 2026-09-04 · source ↗

questions
Is remove.bg free?

The free tier removes backgrounds at preview resolution only; full-resolution downloads cost a credit. Paid is 40 credits at $9/mo (checked 2026-09-04).

Vibecode remove.bg

Yes. A competent AI coding agent (Claude Code, Codex, Cursor) can build a usable personal remove.bg replacement in one session with the prompt on this page. It runs on your own machine or server with no subscription.

How much does remove.bg cost?

remove.bg costs about $9/month (40 credits, checked 2026-09-04), which is $108 per year. That's what you save by replacing it with one prompt.

What do I lose by replacing remove.bg?

Honestly: edge quality on hair, fur and glass; the Photoshop and Figma plugins; the API at scale; GPU speed for batches. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to remove.bg?

Yes: rembg (open-source background removal with several models). Using prior art is also vibecoding; the prompt is for when you want it exactly your way.