As of December 1, 2026 (final edge cutover observed at 10:09 CET / 17:09 CST), standalone remove.bg redirects web traffic (301) to Canva, redirects /api (301) to Leonardo.Ai docs, and answers POST https://api.remove.bg/v1.0/removebg with HTTP/2 403 ("code": "auth_failed"). Unused prepaid PAYG and monthly rollover credits expired on the same date under the September 9 sunset notice.
If you have production workers failing on /v1.0/removebg right now and want a direct multipart/form-data + X-Api-Key replacement rather than refactoring your image pipeline around OAuth Bearer tokens and JSON schemas, here is a step-by-step runbook for cutting over to remove.ac using remove-ac v1.3.3 and n8n-nodes-remove-ac v1.0.3.
Step 1: Confirm Where api.remove.bg Still Lives in Your Repo
Search both source code and CI/container manifests before rotating keys, because 403 auth_failed from the retired remove.bg endpoint looks identical to an invalid key alert:
rg -n "api\.remove\.bg|v1\.0/removebg|REMOVE_BG" .
Generate a fresh key at remove.ac/account#api-keys (keys always start with rac_live_). Email verification plus Turnstile on /account grants 10 free full-resolution credits (valid 30 days; limited to 2 welcome grants per IP per 24h). If an old worker accidentally sends a legacy remove.bg key string to remove.ac, the gateway rejects it immediately at the edge with 0 credit deductions and a message reminding you to use a rac_live_ key.
Step 2: Direct cURL & Large-File (>4.4 MB up to 25 MB / 50 MP) Behavior
For files up to 4.4 MB, swap the host and header:
REMOVE_AC_HOST="remove.ac"
curl -fS -m 90 \
-H "X-Api-Key: $REMOVE_AC_API_KEY" \
-F "image_file=@catalog-item.jpg" \
-F "size=auto" \
-F "format=png" \
"https://${REMOVE_AC_HOST}/v1.0/removebg" \
-o catalog-item-cutout.png
Operational details worth knowing before deploying:
-
Timeouts: pass
-m 90(>=90sin raw HTTP clients) so scale-to-zero GPU cold starts never get cut off mid-inference. -
Large studio originals (
4.4 MBto25 MB, up to50 MP):remove-acSDKs, CLI, MCP, and n8n node automatically request a 180-second single-use HMAC ticket fromPOST /v1.0/removebg/ticketand stream binary output directly from GPU memory (0disk persistence,0charge on any4xx/5xxerror). -
Credit math:
size=preview,small, orregular(<=0.25 MP) costs0.25credit (40preview calls out of the 10-credit welcome grant);size=autoorfullcosts1credit.
Step 3: Python Cutover (remove-ac v1.3.3 on PyPI)
If your service uses from removebg import RemoveBg, remove the archived removebg package first so it cannot shadow the compatibility shim in remove-ac v1.3.3:
pip uninstall -y removebg
pip install "remove-ac==1.3.3"
import os
from pathlib import Path
from removebg import RemoveBg
rmbg = RemoveBg(os.environ["REMOVE_AC_API_KEY"], "removebg-errors.log")
for img in Path("./incoming").glob("*.jpg"):
# Writes <filename>_no_bg.png per file instead of overwriting ./no-bg.png
rmbg.remove_background_from_img_file(str(img), size="auto", timeout=90)
If you prefer the modern client with typed errors and automatic ticket streaming up to 25 MB:
import os
from pathlib import Path
from remove_ac import RemoveAcClient
client = RemoveAcClient(api_key=os.environ["REMOVE_AC_API_KEY"])
png_bytes = client.remove_background("studio-raw-18mb.png", size="full", timeout=90)
Path("studio-cutout.png").write_bytes(png_bytes)
Step 4: Node.js ESM & CommonJS (remove-ac v1.3.3 on npm)
remove-ac v1.3.3 ships dual "import" and "require" entrypoints plus removeBackgroundFromImageBase64 for raw Base64 or data:image/...;base64, payloads:
npm install remove-ac@1.3.3
// Works in both CommonJS require("remove-ac") and ESM import
const { removeBackgroundFromImageFile, RemoveAcError } = require("remove-ac");
async function processSkuImage(inputPath, outputPath) {
try {
await removeBackgroundFromImageFile({
path: inputPath,
apiKey: process.env.REMOVE_AC_API_KEY,
size: "auto",
outputFile: outputPath,
fetch: (url, init) => fetch(url, { ...init, signal: AbortSignal.timeout(90_000) }),
});
} catch (err) {
if (err instanceof RemoveAcError) {
console.error("Cutout failed:", err.statusCode, err.message);
}
throw err;
}
}
Step 5: Self-Hosted n8n, CLI Watch Folders, and MCP Agents
-
Self-hosted n8n: install Community Node
n8n-nodes-remove-ac(v1.0.3), paste yourrac_live_key in credentials, and feed binary items or public URLs up to25 MBwithout building multipart expressions by hand. -
CLI & GitHub Actions: run
npx -p remove-ac@1.3.3 remove-ac input.jpg -o out.png(including--watchfolder automation) or wireszp2005/remove-ac-sdk@v1into asset PRs. -
MCP clients (Claude Desktop, Cursor, Cline):
io.github.szp2005/remove-ac(v1.3.3) in the Official MCP Registry runs vianpx -y -p remove-ac remove-ac-mcp(remove-ac --mcp), exposingremove_background_file,remove_background_url, andget_account_balance.
Full request/response examples are documented in the API migration guide.
Free Browser Fallback & Dec 31 Migration Terms
For manual catalog batches where you do not want to spend API credits or upload client photos:
-
On-device
/uploadand/batch(remove.ac/batch):$0, no signup,0source image bytes uploaded. Runs on ONNX Runtime Web (WASM + guarded desktopshader-f16WebGPU with WASM fallback; first visit needs network access to cache41-82 MBof model weights locally, and local errors never silently fall back to cloud). Supports<=25 MBper file (50 MP / 16,384 pxdesktop input,25 MP / 8,192 pxdesktop output;32 MP / 12,000 pxiOS input,4.19 MP / 2,048 pxiOS output) and50-image (250 MB) batch ZIPs with Amazon#FFFFFF, Shopify, Etsy opaque JPG, eBay presets,300 DPImetadata, and layered.PSD. -
Free
~612pxCloud GPU previews: on /upload, test hair or glass on Cloud GPU for0credits (5/dayfree accounts,30/daypaid accounts; images already within preview size deliver full resolution at0credits) before spending1credit on full HD. -
Pricing, migration discount &
$0-fee refund (remove.ac/pricing): non-expiring PAYG from$9/10to$1,299/5,000, monthly from$9/40to$649/5,000(10%off annual, current cycle only, no rollover, cancel anytime). Through December 31, 2026 (23:59:59 PST), checkout auto-applies 30%-50% off (30%Starter10-75PAYG /40mo/yr,40%Growth200-500,50%High-Volume1,200-5,000PAYG/mo +1,200yr; max 3 orders/account, max 1 on2,800/5,000;2,800 & 5,000annual viasupport@remove.ac). Initial orders carry a 14-day self-serve refund:100%back if0credits used, or 1-click proportional refund for all remaining unused credits with$0processing fee ($0.50min payout, max 2 self-serve refunds/account).
Disclosure: I build remove.ac.
Top comments (0)