Skip to main content

RemoveBgPlus is a lightweight Python wrapper for the remove.bg API, allowing you to remove image backgrounds using local files, URLs, or base64 input.

Installation

pip install RemoveBgPlus

Usage

import removebgplus

client = removebgplus.RemoveBg("your-api-key")

# From file
client.remove_from_file("input.jpg", "output_from_file.png")

# From URL
client.remove_from_url("https://example.com/image.jpg", "output_from_url.png")

# From base64 string
base64_string = "iVBORw0KGgoAAAANSUhEUgAAAAUA..."  # must be a valid image base64 string
client.remove_from_base64(base64_string, "output_from_base64.png")

Features

  • Supports file, URL, and base64 input
  • Customizable output path (overwrites if not provided)

License

MIT

Release files for RemoveBgPlus 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RemoveBgPlus 0.1.2
File Size Uploaded
removebgplus-0.1.2.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RemoveBgPlus 0.1.2
File Interpreter ABI Platform
removebgplus-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / removebgplus-0.1.2.tar.gz

Download URL removebgplus-0.1.2.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4aef0c27bfeb77158c0ee057c5ea99d85425d345bb87b17f1505b2e3a35dd591
BLAKE2b-256 checksum
How to use checksums
de53c2c87f3cae1a127f790548b2f98ae08d2a088e41f86d9e667d36b05d4fdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / removebgplus-0.1.2-py3-none-any.whl

Download URL removebgplus-0.1.2-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
088d7ce23d5bf527b28d32638e6142db06aeee1455e7b3b6890205d7ab119e51
BLAKE2b-256 checksum
How to use checksums
4ce9d34e9e006a4467d40d1d214a888364b328d2885273d9e6e6fd3e23d0d0fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page