withoutBG Documentation#
Two ways to remove backgrounds: call the Pro Model API in the cloud, or run the Open Model on your own hardware.
| Pro Model API | Open Model | |
|---|---|---|
| Runs on | withoutBG cloud (api.withoutbg.com) | Your machine or server |
| Access | REST API, X-API-Key | Python, Docker, Mac app, Local API |
| Cost | 1 credit per image (50 free on signup) | Free |
| Extras | Car pipeline, alpha matte, refine masks | Cutout and alpha matte |
Pro Model API#
REST API at https://api.withoutbg.com. Start with the overview (quickstart, errors and limits), or go straight to an endpoint.
Background Removal#
Remove image background and return an RGBA PNG cutout (transparent background).
Alpha Matte#
Generate a grayscale alpha matte (opacity mask) for compositing onto your own full-resolution RGB.
Car Photos#
Car-specific pipeline. Cut the car out with its cast shadow, or place it on a new background lit to match the photo and reframed around the car.
API Credits#
Returns your available credits and the expiration date.
Open Model#
The open weights model, free to run locally or on your own servers. See the Open Model page for results and the license.
- Python Librarypip install withoutbgRun the open weights in your own Python process. The same package also calls the Pro Model API.
- DockerCPU / GPU · app or API onlySelf-host the open weights as a web app or a headless FastAPI service.
- Local APIhttp://127.0.0.1:8000Loopback HTTP API served by the Mac app and the Docker service images.
- CLIComing soonCommand-line background removal with the open weights.
No terminal? The Mac app and the GIMP plugin run the same open weights.
Need the Pro Model on your own GPUs? See Pro Model Self-Host.