withoutBG logo

withoutBG

Website

Open-source image background removal with local models and hosted API

1.2k stars 59 forks last commit first released

Actively maintained

Last commit 23 Jul 2026.

withoutBG screenshot

withoutBG is an open-source toolkit and hosted API for automatic image background removal. It provides lightweight local models for offline use (Focus and Snap), a Dockerized web UI, a Python SDK and a paid Pro API optimized for production inference.

Key Features

  • Open-source Focus and Snap matting models (Apache-2.0) for local, privacy-preserving background removal
  • withoutBG Pro API: higher-quality model variant running on AWS Inferentia for lower latency and improved edge detail
  • Dockerized web app with drag-and-drop UI, CLI and Python SDK returning PIL Image objects for easy integration
  • Pipeline combines depth estimation, saliency/segmentation signals and a downstream refiner to improve edge and hair/fur handling
  • Small local model footprint (~320 MB total) with cached model downloads and batch-processing support for efficiency
  • Privacy-first design: in‑memory processing, minimal logging, and explicit policy not to store or use customer images for training

Use Cases

  • E-commerce and product photography: bulk-remove backgrounds for catalogs and marketplace listings
  • Content creation and design: quick cutouts for thumbnails, compositing and UI assets
  • Privacy-sensitive or offline workflows: run models locally for on-device or air-gapped processing

Limitations and Considerations

  • Transparent or highly translucent materials (glass, water, sheer fabrics) can produce inconsistent results due to complex light interactions
  • Cases with subjective foreground/background separation may produce results that differ from user expectations; very ambiguous scenes may need manual post-processing

withoutBG combines an easy-to-use developer workflow (CLI, Docker, Python SDK) with an option to scale via a hosted API. It is suitable for teams needing both private local processing and a production-ready hosted inference service.

Categories:

Tags:

Tech Stack:

Share:

Similar to withoutBG

Jina logo

Jina

Cloud-native Python framework for serving multimodal AI services

21.9k
2.2k
Last commit

Open-source Python framework to build, scale, and deploy multimodal AI services and pipelines with gRPC/HTTP/WebSocket support and Kubernetes/Docker integration.

Apache-2.0Slowing down
Alternative to:
Baseten logo
Baseten
+12
OmniTools logo

OmniTools

Self-hosted web-based utilities for file, text, and data tasks

9.9k
682
Last commit

OmniTools is a self-hosted web app providing browser-based utilities for images, video, PDF, text, date/time, math, and data formats, with client-side processing.

MITActively maintained
Alternative to:
iLovePDF logo
iLovePDF
+7
Logdy logo

Logdy

Real-time log viewer with an embedded web UI

2.3k
72
Last commit

Lightweight single-binary log viewer that streams logs to a local web UI with real-time filtering, search, and TypeScript-based parsing for structured and text logs.

Apache-2.0Slowing down
Alternative to:
Papertrail logo
Papertrail
+3
Ollama logo

Ollama

Run and manage large language models locally with an API

177.1k
17.1k
Last commit

Ollama is a local LLM runtime that lets you pull, run, and customize models, offering a CLI and REST API for chat, generation, and embeddings.

MITActively maintained
Alternative to:
OpenAI API logo
OpenAI API
+15
LocalAI logo

LocalAI

OpenAI-compatible local AI inference server and API

47.9k
4.3k
Last commit

Run LLMs, image, and audio models locally with an OpenAI-compatible API, optional GPU acceleration, and a built-in web UI for managing and testing models.

MITActively maintained
Alternative to:
OpenAI API logo
OpenAI API
+19
Music Assistant logo

Music Assistant

Open-source music library manager and streaming server

2.9k
512
Last commit

Self-hosted music library manager that unifies local and streaming sources and streams to many player ecosystems with Home Assistant integration.

Apache-2.0Actively maintained
Alternative to:
Sonos logo
Sonos
+12