qmetrics.net

withoutBG

Python SDK for local and API background removal

Libraries & SDKsDesktop/CLI app
withoutBG screenshot

withoutBG is a Python package to remove image backgrounds locally with open weights or via a cloud API. It returns RGBA images for scripts, notebooks, batches, and CLI use.

Overview

withoutBG provides background removal for Python workflows through one API that can run fully on your machine or call a hosted service. Local open-weights mode uses ONNX models without requiring a GPU by default, keeps images private, and can run offline after weights download. Cloud API mode sends images for higher edge quality on hair, fur, and fine detail at per-image cost.

Core methods return PIL images in RGBA. Batch processing reuses a single loaded model for efficiency. A smart brush edit path accepts keep and remove masks to refine mattes locally with a small stroke-edit network, with similar stroke input available through the API. A command-line interface mirrors single-image and batch flows for both modes.

The open-weights bundle routes each image to either a matting branch or a segmentation branch before upscaling alpha to native resolution. Optional NVIDIA CUDA acceleration swaps ONNX Runtime providers in memory. Environment variables configure API keys and local model paths for air-gapped or CI setups.

The package is the in-process embedding of withoutBG technology; related surfaces mentioned include a Mac desktop app and standalone cloud API for teams that do not want to run inference themselves.

Key features

  • Local ONNX open-weights inference
  • Optional cloud API for higher quality
  • PIL RGBA output and batch helpers
  • Smart brush mask refinement
  • CLI for local and API modes
  • Progress callbacks on processing
  • Optional CUDA acceleration
  • Environment-based API key config

Use cases

  • Batch product photo cutouts
  • Private offline background removal
  • Notebook and script automation
  • Refining mattes with brush masks
  • Compositing subjects onto new backgrounds

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
AI Assisted CodingDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Libraries & SDKsDesktop/CLI app

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT
Libraries & SDKsDesktop/CLI app

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app