OpenViSTAI · Agents · Blockchain · Crypto
Menu
Image & Video AI

unbagrnd

unbagrnd is an image-editing application that uses a neural network through ONNX Runtime to remove image backgrounds locally. It supports single-image and batch workflows, edge and mask refinement, and background styling, with an optional self-hosted REST API using the same processing core.

Independent OpenViST project profile, based on linked sources.

unbagrnd — Local background removal without sending images to a cloud service
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Clone the unbagrnd repository and change into its directory.

  2. Copy .env.example to .env and set UNBAGRND_ADMIN_KEY.

  3. Run docker compose up --build.

  4. 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.
Source-based practical guide

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

  1. Send a POST request to /v1/remove-background with the image in the multipart field named image.

  2. Include the API key in the X-API-Key header.

  3. 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.
Evidence and transparency

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