Starter
For prototypes and small batches.
$10
300 images · $0.0333 per image
- 300 image credits
- Full-resolution PNG, same engine as the site
- Self-serve keys, revoke anytime
- MCP server included
- Failed calls are never billed
- Email support
One endpoint: an image goes in, a transparent PNG or WebP comes out. Prepaid credits, self-serve keys, no sales call — start in a minute.
Upload one image and see exactly what the endpoint returns. The demo runs on the website's free quota — 2 images a day without an account, 5 with one — and returns the free-tier result capped at 1024px. Calls with your own key spend credits instead: no free-tier daily cap, full resolution.
PNG, JPEG or WebP up to 10 MB · HEIC converts in your browser · the REST API itself accepts PNG, JPEG or WebP
Sign in, then create one under Settings → API keys. The key is shown once and stored only as a hash — copy it into your secret manager right away.
Get an API keyAPI credits are a separate balance from website credits. From $10, never expiring, $0.020–$0.033 per image depending on the top-up size.
See API pricingPOST multipart/form-data with the field image_file. One credit is charged per successful call; a failed call is never charged.
Background removal API endpointremove.bg's self-serve API shuts down on Dec 1. Migrating? Two changes: a new key, a new endpoint. Our migration guide walks through both.
Read the migration guidePrepaid credits, never expire. Failed calls are never billed. The same engine as the site.
For prototypes and small batches.
$10
300 images · $0.0333 per image
For automations and production workloads.
$29
1,000 images · $0.029 per image
For higher-volume production traffic.
$99
4,000 images · $0.0248 per image
Volume · 15,000 images for $299 ($0.0199 per image) — for larger commitments
Create it in Settings → API keys; sandbox keys are kept separate from production keys.
Create sandbox keySign in, open Settings → API keys and click Create. The key is shown once and stored only as a hash, so copy it into your secret manager right away. Creating keys is free — calls are billed from prepaid API credits, a balance separate from website credits, from $10 and never expiring.
No. API keys are not portable between providers: a remove.bg key only works against remove.bg's servers, which shut down on December 1, 2026, and no other service can accept it. The migration is two changes — a new key and a new endpoint:
API key
sk_… — create under Settings → API keysAuth header
X-Api-Key: <key>Authorization: Bearer sk_…Endpoint
POST https://api.remove.bg/v1.0/removebgPOST https://backgone.com/api/v1/removeWorks after 2026-12-01
No code to write? No key needed — the bulk background remover processes a whole folder of images without writing code.
https://backgone.com/api/v1/removeSend the key as a bearer token. Requests without a valid key return 401 — session cookies are not accepted here.
image_file
fileimage_url
stringformat
stringIdempotency-Key
headerA successful call returns the image itself, not JSON — content-type image/png by default, image/webp when you pass format=webp. Write the response body straight to a file. Errors return JSON with a numeric code and a human-readable message.
x-backgone-credits-charged
x-backgone-credits-remaining
Replace sk_YOUR_KEY with the key you created. Each example writes the result to no-bg.png.
curl -X POST https://backgone.com/api/v1/remove \
-H "Authorization: Bearer sk_YOUR_KEY" \
-F "image_file=@/path/to/photo.jpg" \
-o no-bg.pngimport fs from 'node:fs/promises';
const form = new FormData();
form.append('image_file', new Blob([await fs.readFile('photo.jpg')]), 'photo.jpg');
const res = await fetch('https://backgone.com/api/v1/remove', {
method: 'POST',
headers: { Authorization: 'Bearer sk_YOUR_KEY' },
body: form,
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
await fs.writeFile('no-bg.png', Buffer.from(await res.arrayBuffer()));import requests
res = requests.post(
"https://backgone.com/api/v1/remove",
headers={"Authorization": "Bearer sk_YOUR_KEY"},
files={"image_file": open("photo.jpg", "rb")},
timeout=60,
)
res.raise_for_status()
open("no-bg.png", "wb").write(res.content)# cap the longest side at 3000px before uploading
magick in.jpg -resize '3000x3000>' small.jpg # ImageMagick
sharp(input).resize(3000, 3000, { fit: 'inside' }) # Node.js
img.thumbnail((3000, 3000)) # Python (Pillow)Not required up to 50 megapixels, but a smaller upload is faster end to end and cheaper on your bandwidth. Large images skip our no-subject check, which is measured from the result's file size instead — see the error table.
BackGone runs a Model Context Protocol server at /mcp. Agents that support remote Streamable HTTP MCP can discover the tools and call the same engine the REST API uses — there is no separate integration and no separate price.
https://backgone.com/mcpWithout a key, remove_background runs a free trial: 2 images per day per IP at the free-tier 1024px size. Paid calls need an API key sent as "Authorization: Bearer sk_..." and spend API credits (1 credit per successful image, the same balance as the REST API); the first key includes 15 free API calls. check_photo_requirements and get_pricing are free and work without a key.
check_photo_requirements
get_pricing
remove_background
Use the endpoint in any MCP client that supports remote Streamable HTTP servers. The exact config field names vary by client; the values below are the ones that matter. Keep the key server-side.
{
"mcpServers": {
"backgone": {
"type": "http",
"url": "https://backgone.com/mcp",
"headers": { "Authorization": "Bearer sk_your_api_key" }
}
}
}MCP calls are billed exactly like REST API calls — same credits, same budget and rate limits. There is no separate MCP price and no batch tool: batch work stays a website feature.
The self-service remove.bg API stops accepting requests on December 1, 2026; enterprise API contracts continue as normal. For self-service integrations, this table is the whole migration — or follow remove.bg's official Leonardo.Ai path below.
Endpoint
POST https://api.remove.bg/v1.0/removebgPOST https://backgone.com/api/v1/removeAuthentication
Request body
Parameters
Response
Billing unit
Price
Rate limit
remove.bg's own API page now points at Leonardo.Ai (part of Canva) as the migration target, and Canva's public Connect API does not expose background removal at all. If you are weighing that route, this is the honest comparison.
Endpoint
POST https://cloud.leonardo.ai/api/rest/v2/generationssyncPOST https://backgone.com/api/v1/removeAuthentication
Request body
Response
Where the result lives
Output formats
Price per image
Cost reporting
Both columns come from first-party sources checked on 2026-11-04: remove.bg's FAQ and API page, Leonardo's own remove.bg migration guide (updated 2026-09-02; the $0.1047 figure and JSON-only response come from that page), and Canva's published Connect API specification, where background removal does not appear. We are affiliated with neither.
Create an API keyThe remove.bg column is taken from their public API documentation, checked on 2026-11-04. Their parameters change — diff it against your own integration before you cut over.
Every response uses one of these status codes. Retry 429 and 503 with backoff; a 4xx means the request itself needs fixing.
400
401
402
413
409
422
429
502
503
Measured by us from the same request log that does the billing. No SLA is promised — this is what actually happened.
No API traffic in the last 30 days yet, so there is nothing to report.
Counts only calls that reached the engine. Billing, rate-limit and no-subject outcomes are excluded, and a platform-level failure that ends the request before our code finishes is invisible here too.
Three things worth knowing, stated plainly:
Unused API credits are refundable within 14 days of purchase; consumed credits are not.
Create a key, top up $10 and run one call. Most remove.bg integrations are a two-line change.