withoutbg/withoutbg-python
Python SDK for local and cloud background removal (pip install withoutbg) observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 94
- Release rhythm 93
- Longevity 27
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 380
- days_rel: 45
- days_push: 41
- n_releases_24m: 6
Adoption not part of the score
1246 stars · 62 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python SDK (pip install withoutbg) for removing image backgrounds, offering a free local open-weights ONNX model and an optional paid cloud API behind the same interface. It returns PIL RGBA images, supports batch processing, and includes a CLI for one-off removals.
Use cases
- remove background from a photo in python
- make image background transparent locally without uploading
- batch remove backgrounds from a folder of images
- extract alpha matte for compositing
- cut out product photos for e-commerce listings
- remove background from car photos with shadows
- offline background removal with no api key
When to choose
- you want free, private, offline background removal in Python with a simple API
- you need batch processing in scripts, notebooks, or backends
- you want to start locally and switch to a higher-quality cloud API with one line
When to avoid
- you need a GUI editor for manual cutout refinement
- you need non-Python languages or non-image matting tasks
- you cannot download ~455 MB of model weights locally and don't want a paid API
Facets
library · maturity active
image-processing computer-vision machine-learning sdk cli computer-vision image-processing machine-learning developer-tools python cross-platform cli background-removal image-matting onnx alpha-matte cloud-api open-weights batch-processing
10 sources
- readme: https://github.com/withoutbg/withoutbg-python · fetched 2026-08-28 · 5513dc1ea516
- homepage: https://withoutbg.com/docs/open-model/python · fetched 2026-08-29 · 9760160864a9
- site_page: https://withoutbg.com/docs/pro-model · fetched 2026-08-29 · b76ca4431445
- site_page: https://withoutbg.com/docs/pro-model/background-removal-binary · fetched 2026-08-29 · 2b49b37fdbdc
- site_page: https://withoutbg.com/docs/pro-model/background-removal-base64 · fetched 2026-08-29 · e66691cdeba1
- site_page: https://withoutbg.com/docs/pro-model/alpha-matte-binary · fetched 2026-08-29 · 8fee047724ba
- site_page: https://withoutbg.com/docs/pro-model/alpha-matte-base64 · fetched 2026-08-29 · 116fb6ac4f6d
- site_page: https://withoutbg.com/docs/pro-model/car-background-removal-binary · fetched 2026-08-29 · b198fc4beb4e
- site_page: https://withoutbg.com/docs/pro-model/car-background-removal-base64 · fetched 2026-08-29 · de1fc6ab37c8
- site_page: https://withoutbg.com/docs/pro-model/car-cutout-and-shadow-base64 · fetched 2026-08-29 · ec8665fec7a0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| withoutbg/withoutbg-python | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="withoutbg/withoutbg-python")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem