withoutBG

withoutBG

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

755stars
33forks
Last commit: 1mo ago
Repo age: 1y old
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 Services

Ollama

Ollama

Run and manage large language models locally with an API

159.6k
14.2k
Last commit: 16h ago

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.

Alternative to:
OpenAI API
OpenAI API
+15
LocalAI

LocalAI

OpenAI-compatible local AI inference server and API

42.1k
3.4k
Last commit: 19h ago

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.

Alternative to:
OpenAI API
OpenAI API
+19
Jina

Jina

Cloud-native Python framework for serving multimodal AI services

21.8k
2.2k
Last commit: 9mo ago

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

Alternative to:
Baseten
Baseten
+12
Willow

Willow

Open-source, privacy-focused voice assistant platform

3k
113
Last commit: 6mo ago

Self-hosted voice assistant platform for ESP32 devices with on-device wake-word and command recognition, Home Assistant integration, and an optional inference server for...

Alternative to:
Amazon Alexa
Amazon Alexa
+9
Speaches

Speaches

OpenAI API-compatible server for speech-to-text and text-to-speech

2.8k
356
Last commit: 20d ago

Self-hosted, OpenAI API-compatible server for streaming transcription, translation, and speech generation using faster-whisper and TTS engines like Piper and Kokoro.

Alternative to:
OpenAI API
OpenAI API
+9
Unblink

Unblink

AI camera monitoring with federated vision workers

1.3k
152
Last commit: 1d ago

Open-source AI camera monitoring that routes camera streams through a relay/node proxy and broadcasts frames to federated AI workers for detections, summaries, and alerts...

Alternative to:
Blue Iris
Blue Iris
+10