remove.ac Official SDKs, CLI, GitHub Action & MCP Server (v1.3.2)
Zero-dependency official developer SDKs, hot-folder CLI, GitHub Action, and Model Context Protocol (MCP) server for remove.ac — the dual-mode background removal platform pairing a free on-device WebAssembly studio with a remove.bg-compatible Cloud GPU REST API (POST https://remove.ac/v1.0/removebg).
- Live Web Workbench (Free On-Device WASM + Batch 50 ZIP): https://remove.ac
- 1-Line
remove.bgAPI Migration Guide (Dec 1, 2026 Shutdown): https://remove.ac/guides/remove-bg-api-migration - Interactive API Sandbox & Docs: https://remove.ac/api-info
- Figma, Photoshop UXP, GIMP, Sketch & Make/n8n Integrations: https://remove.ac/plugins
- Official MCP Registry ID:
io.github.szp2005/remove-ac - n8n Community Node:
n8n-nodes-remove-ac - Open Inference & Pricing Dataset (
CC BY 4.0): https://remove.ac/benchmarks
Key Capabilities
- 1:1
remove.bgv1.0 Field Compatibility: Swaphttps://api.remove.bg/v1.0/removebgtohttps://remove.ac/v1.0/removebgusing standardX-Api-Key: rac_live_...headers and form fields (image_file,image_file_b64,image_url,size,format,channels,type,roi,crop,crop_margin,scale,position,bg_color,bg_image_file,bg_image_file_b64,bg_image_url,add_shadow,shadow_type,shadow_opacity,semitransparency), plusPOST /v1.0/improve(submitImprove/submit_improve) for hard-case feedback submissions. - Up to 25 MB / 50 MP Zero-Disk Direct GPU Streaming: Single-call
POST https://remove.ac/v1.0/removebguploads up to 25 MB / 50 MP (size=25mp,size=50mp,size=full,size=auto) — including custom local background images (bgImageFile/bg_image_file) — stream transparently at the edge via 180-second single-use HMAC tickets (POST /v1.0/removebg/ticket) directly to ephemeral GPU RAM without disk or database blob persistence. - Atomic Credit Holds (
Idempotency-Key): Upstream timeouts or errors automatically release held credits with zero charge. Every verified account starts with 10 full-resolution welcome credits (valid 30 days); pay-as-you-go credit packs never expire. - Zero External Runtime Dependencies: The Node.js 18+ SDK, CLI, GitHub Action, MCP stdio server, and Python 3.8+ SDK run purely on standard library primitives (
fetch/cryptoin Node,urllibin Python). - Sub-2s Warm Cloud GPU Latency (Measured 2026-11-19 on Real AIM-500 Photos): Full high-resolution matting and edge refinement finishes in
0.88–1.04 son GPU (1.58 send-to-end) at 2.2 MP (1696×1312) and1.49–2.01 son GPU (2.26 send-to-end) at 4K (3840×2160); cold scale-from-zero 4K finishes in8.41 send-to-end. - Free Interactive Cloud GPU Previews (
~612px,0Credits): In the web studio (remove.ac/upload), inspect~612px(~0.25 MP) Cloud GPU cutouts for0credits (5/dayon free accounts,30/daywith paid credits; images already within preview dimensions deliver full original resolution free) before spending1credit to unlock full-resolution Max HD (up to50 MP / 25 MB, keeping background/shadow/crop edits). - Dec 1 Migration Grant (
30%-50%Off Through Dec 31, 2026) &14-Day Self-Serve Refund: Self-serve checkout auto-applies30%off Starter (10-75PAYG,40mo/yr),40%off Growth (200-500), and50%off High-Volume (1,200-5,000PAYG/mo +1,200yr) on first3monthly cycles, first annual year up to1,200, or non-expiring PAYG packs (up to3orders/account, max1on2,800/5,000; Enterprise2,800/5,000annual concierge-verified viasupport@remove.ac). Initial orders include a14-day self-serve trial refund (100%if0credits used, or 1-click prorated refund if<= 20%and<= 100credits used, minus$1gateway fee,1prorated refund/account). - Bug & Workflow Idea Credit Rewards: Report bugs, cutout edge cases, or workflow ideas on the remove.ac homepage (up to
3submissions per 24h) to earn5-20non-expiring Cloud GPU credits automatically once verified and accepted.
1. Quick curl Migration
curl -X POST https://remove.ac/v1.0/removebg \
-H "X-Api-Key: rac_live_your_key_here" \
-F "image_file=@photo.jpg" \
-F "size=full" \
-o cutout.png
2. Node.js / TypeScript SDK (Node 18+)
Install via npm or GitHub
npm install remove-ac
# via GitHub Packages npm registry (aliased as "remove-ac" for drop-in imports; requires //npm.pkg.github.com/:_authToken=YOUR_GITHUB_PAT in .npmrc):
npm install remove-ac@npm:@szp2005/remove-ac --@szp2005:registry=https://npm.pkg.github.com
# or directly from GitHub:
npm install github:szp2005/remove-ac-sdk
Usage
import fs from "node:fs";
import { RemoveAcClient } from "remove-ac";
const client = new RemoveAcClient({
apiKey: process.env.REMOVE_AC_API_KEY, // rac_live_...
});
// Files > 4 MB (up to 25 MB / 50 MP) automatically use /v1.0/removebg/ticket zero-disk GPU streaming
const result = await client.removeBackground("./studio-shot-18mb.png", {
size: "full",
format: "png",
bgImageFile: "./studio-backdrop.jpg", // optional path or Buffer/Uint8Array/ArrayBuffer
shadowType: "contact",
});
fs.writeFileSync("./studio-shot-cutout.png", result.buffer);
console.log(`Saved ${result.width}x${result.height} (${result.creditsCharged} credit)`);
3. CLI & --watch Hot-Folder Batch Tool
export REMOVE_AC_API_KEY="rac_live_..."
# Process an entire folder with 4 parallel workers (up to 50 MP)
npx -y -p remove-ac remove-ac ./input-photos --output-dir ./output-pngs --concurrency=4 --size=50mp
# Watch a hot folder continuously and output transparent WebP cutouts
npx -y -p remove-ac remove-ac ./incoming --output-dir ./cutouts --watch --format=webp --crop
4. Python SDK (Python 3.8+, Zero External Dependencies)
Install via PyPI or GitHub
pip install remove-ac
# or directly from GitHub:
pip install git+https://github.com/szp2005/remove-ac-sdk.git
Native Client
from remove_ac import RemoveAcClient
client = RemoveAcClient() # reads REMOVE_AC_API_KEY
png_bytes = client.remove_background(
"product.jpg",
size="full",
shadow_type="contact",
)
with open("product-nobg.png", "wb") as fh:
fh.write(png_bytes)
1:1 removebg Drop-In Replacement Shim
Existing scripts written for from removebg import RemoveBg work without rewriting call sites:
from removebg import RemoveBg
rmbg = RemoveBg("rac_live_your_key_here")
rmbg.remove_background_from_img_file("car.jpg", size="full", new_file_name="car-cutout.png")
5. MCP Server (Claude Desktop · Cursor · VS Code · Windsurf · Cline)
remove-ac includes a zero-dependency Model Context Protocol (MCP) stdio server (remove-ac-mcp, Official Registry ID io.github.szp2005/remove-ac) exposing three tools:
remove_background_file— remove background from any local.png/.jpg/.webpup to25 MB / 50 MP(auto-streams>4 MBvia/v1.0/removebg/ticket)remove_background_url— remove background from a publichttps://image URL and save locallyget_account_balance— inspect remainingremove.acAPI credits
For Cline and other AI coding agents, see ./llms-install.md for deterministic step-by-step setup and a zero-key JSON-RPC handshake check.
Claude Desktop / Cursor / Cline Configuration
{
"mcpServers": {
"remove-ac": {
"command": "npx",
"args": ["-y", "-p", "remove-ac", "remove-ac-mcp"],
"env": {
"REMOVE_AC_API_KEY": "rac_live_your_key_here"
}
}
}
}
6. Official GitHub Action (CI/CD Asset Pipelines)
Automate storefront product cutouts or PR asset cleanup directly inside GitHub Actions:
- name: Remove product photo backgrounds
uses: szp2005/remove-ac-sdk@v1
with:
api_key: ${{ secrets.REMOVE_AC_API_KEY }}
input_path: "assets/raw-products"
output_dir: "assets/transparent-pngs"
size: "50mp"
format: "png"
crop: "true"
7. n8n Community Node (n8n-nodes-remove-ac v1.0.3)
In self-hosted or desktop n8n, open Settings → Community Nodes → Install and enter n8n-nodes-remove-ac (v1.0.3) to replace deprecated remove.bg workflow steps with native binary and URL support up to 25 MB / 50 MP.
8. Standalone Desktop App (Windows .exe · macOS Universal .dmg · Linux .AppImage)
desktop/ contains the official standalone Electron desktop application (Remove.ac) for bulk folder and multi-thousand-photo background removal up to 25 MB / 50 MP — requiring zero Node.js or Python installation on end-user machines:
- Direct Downloads: https://remove.ac/plugins/desktop (or GitHub Releases)
- Installers:
remove-ac-for-windows-1.1.1.exe(NSIS x64),remove-ac-portable-1.1.1.exe(zero-install portable x64),remove-ac-for-macos-1.1.1.dmg(Universal Apple Silicon + Intel), andremove-ac-for-linux-1.1.1.AppImage(x64)
License
MIT © remove.ac
Metadata
Release files for remove-ac 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| remove_ac-1.3.2.tar.gz | 31.2 kB | With provenance | Details for remove_ac-1.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| remove_ac-1.3.2-py3-none-any.whl | Python 3 | none | any | Details for remove_ac-1.3.2-py3-none-any.whl |
Total release size: 50.0 kB
Release files / remove_ac-1.3.2.tar.gz
| Download URL | remove_ac-1.3.2.tar.gz |
|---|---|
| Size | 31.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64c738849e48caa8fb47ec2bbd41494d641366c9ce6e4328951e1106dcd453e3
|
|
BLAKE2b-256 checksum How to use checksums |
d0e436f8735750669086a577d057f63095e541f723f16ff8743b411aff61de10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / remove_ac-1.3.2-py3-none-any.whl
| Download URL | remove_ac-1.3.2-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
402ea352a8e30c063e3ecbb6a9d69b2db44a31af9a8aeea2b8707a79d1f7ed5f
|
|
BLAKE2b-256 checksum How to use checksums |
f3a742db061d9138b03c271e136a3394924bd3eec183bcc980a30c9b6ba87610
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for remove-ac 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for remove_ac-1.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.