Skip to main content

RemoveBG CLI

A Python command-line tool for background removal from images and videos.

Installation

pip install snapbox-api

Usage

  1. Process a single image:
snapbox-api image -i "input.jpg" -o "output.png"
  1. Process a video:
snapbox-api video -i "input.mp4" -o "output.mp4"
  1. Extract video mask only:
snapbox-api video -i "input.mp4" -mk -o "output.mp4"

Requirements

  • Python 3.8 or higher
  • Dependencies are automatically installed with the package:
    • Pillow (for image processing)
    • rembg (for background removal)
    • OpenCV (for video processing)
    • NumPy (for array operations)

License

MIT License

Metadata

Release files for snapbox-api 0.1.1

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

Source distribution (sdist)

Source distribution for snapbox-api 0.1.1
File Size Uploaded
snapbox_api-0.1.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for snapbox-api 0.1.1
File Interpreter ABI Platform
snapbox_api-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / snapbox_api-0.1.1.tar.gz

Download URL snapbox_api-0.1.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
697efb7bdd064b82f34f366639599e9170349cfc57ba643c0610091990aea9f1
BLAKE2b-256 checksum
How to use checksums
789673cbed86fde76b460f05fa40e5469659c925ed4f35fea903b6aae928aa46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / snapbox_api-0.1.1-py3-none-any.whl

Download URL snapbox_api-0.1.1-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8139b5bf5809a8b29dc2e2e517bb212664ada6d2fd8cd658c6328431fef40ed2
BLAKE2b-256 checksum
How to use checksums
95dd061cc1e8ee6ba91711e5a956f6f4bd90720c2fa6d10e4397ac6969d417a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.1 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