Practical overview
When it fits
Use the application for local image cutouts and batch editing; choose the documented API when a self-managed container should accept image-processing requests and return transparent PNG results.
Who it is for
- People who need transparent cutouts or replacement backgrounds for photos.
- Users who want to process images locally rather than upload them to a cloud service.
- Teams that want to run background-removal requests through a self-hosted API.
Documented uses
- Remove a background from a single image.
- Process multiple images in a batch.
- Refine cutout edges and masks.
- Style or replace image backgrounds.
- Run image-background-removal requests through a self-hosted REST API.
Requirements & limits
The official page describes the software as free, open source, MIT-licensed, and usable without an account for image-background removal.
- The desktop app uses ONNX Runtime for local neural-network processing.
- The optional API runs in the operator's own container and uses API keys for image-processing requests.
- API batch requests support up to 10 images by default, with a 20 MB default limit per image.
- The API documentation says image data is processed in memory and discarded; SQLite stores API-key metadata.
- The API serves plain HTTP, so public deployment requires a separate TLS-terminating reverse proxy according to its documentation.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the self-hosted API with Docker Compose
Start the documented unbagrnd API in a Docker Compose environment and check its health endpoint.
Before you start
- Docker Compose
- The unbagrnd source repository
- An admin key set in the .env file
Steps
Clone the unbagrnd repository and change into its directory.
Copy .env.example to .env and set UNBAGRND_ADMIN_KEY.
Run docker compose up --build.
Request http://localhost:8080/health to check the health response.
Expected outcome
The API starts in the container and the health endpoint can return {"status":"ok"}.
Guide limitations
- The first startup downloads the configured model, about 44 MB for the default silueta model.
- The API itself serves plain HTTP; the documentation recommends a reverse proxy for TLS before public exposure.
Remove one image through the self-hosted API
Submit one image to a running unbagrnd API and receive a transparent PNG.
Before you start
- A running unbagrnd API
- A valid API key
- A supported image file: PNG, JPEG, WebP, BMP, TIFF, or GIF
Steps
Send a POST request to /v1/remove-background with the image in the multipart field named image.
Include the API key in the X-API-Key header.
Save the response body as a PNG.
Expected outcome
The endpoint returns a transparent PNG for a successfully processed image.
Guide limitations
- The default per-image upload limit is 20 MB.
- A request may be rejected for an invalid image, an invalid or missing API key, a size limit, a rate limit, or an inference error.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 20 November 2026
- Original website title
- unbagrnd — remove image backgrounds, on-device · Official homepage title · retained in its source language

