Up to 52x Lower Cost
At 7,000 images a month you need remove.bg's 7,500-credit plan at $789. FAPIhub's Pro plan covers 7,500 requests for $15, which saves $774 every month.
Get the same professional-quality background removal API at 52x lower cost. No contracts, no minimums. Start with 100 free requests.
No credit card required · 100 free requests/month · Cancel anytime
The differences that matter when you run background removal in production.
| Feature | remove.bg | FAPIhub Best value |
|---|---|---|
| Cost per image | $0.07–$0.23 on subscriptions, $0.21–$1.00 pay-as-you-go | $0.00078–$0.002 per image |
| Free tier | 50 API calls/month at preview resolution (0.25 MP) | 100 requests every month, no credit card |
| Full resolution on free tier | No (1 bonus full-resolution credit) | Yes |
| Custom backgrounds via API | Yes (color, image and shadow) | Blur, color, gradient and shadow on every plan |
| Cheapest paid option | $9/month for 40 images (unused credits expire monthly) | $10 one-time for 1,000 requests (never expire) |
Monthly cost at typical volumes.
| Images / month | remove.bg | FAPIhub | You save | Times cheaper |
|---|---|---|---|---|
| 100 images | $39.00 | $0 Free | $39.00 | Free |
| 1,000 images | $189.00 | $10.00 Per Usage | $179.00 | 18x |
| 7,000 images | $789.00 | $15.00 Pro | $774.00 | 52x |
| 50,000 images | $3,950.00 | $79.00 Ultra | $3,871.00 | 50x |
remove.bg costs use the cheapest monthly subscription covering each volume: 200 credits for $39, 1,200 for $189, 7,500 for $789 and 50,000 for $3,950. Annual billing is about 10% less.
At 7,000 images a month you need remove.bg's 7,500-credit plan at $789. FAPIhub's Pro plan covers 7,500 requests for $15, which saves $774 every month.
remove.bg's cheapest subscription is $9/month for 40 images, and unused credits expire each month. FAPIhub gives you 100 free requests every month, then 1,000 requests for $10 one-time.
remove.bg has announced its standalone service moves to Leonardo.Ai on 1 December 2026. FAPIhub is a standard REST API, so you can migrate on your own schedule.
FAPIhub is a standard REST API. If you already call remove.bg, you keep your upload and save logic and swap the request.
curl --fail -X POST 'https://api.remove.bg/v1.0/removebg' \
-H 'X-API-Key: YOUR_API_KEY' \
-F 'image_file=@/path/to/your/image.jpg' \
-F 'size=auto' \
-o no-bg.png
curl -X POST "https://fapihub.com/v2/rembg/" \
-H "ApiKey: YOUR_API_KEY" \
-F "image=@photo.jpg" \
-o result.png
Point the request at https://fapihub.com/v2/rembg/, send your key in the ApiKey header, and upload the file as image. The response is the finished PNG.
If your remove.bg integration lives in an application backend, the change is just as small. Node 18+ ships fetch and FormData, so no extra packages are needed.
import requests
response = requests.post(
"https://fapihub.com/v2/rembg/",
headers={"ApiKey": "YOUR_API_KEY"},
files={"image": open("photo.jpg", "rb")}
)
with open("result.png", "wb") as f:
f.write(response.content)
import { readFile, writeFile } from "node:fs/promises";
const form = new FormData();
form.append("image", new Blob([await readFile("photo.jpg")]), "photo.jpg");
const response = await fetch("https://fapihub.com/v2/rembg/", {
method: "POST",
headers: { ApiKey: process.env.FAPIHUB_API_KEY },
body: form,
});
if (!response.ok) {
const { error } = await response.json();
throw new Error(`${response.status} ${error.code}: ${error.message}`);
}
await writeFile("result.png", Buffer.from(await response.arrayBuffer()));
More complete examples are in the Python, Node.js, PHP, and Go guides.
A successful call returns the processed PNG bytes directly, with no JSON wrapper or second download step. Failed calls return JSON shaped like {"error": {"code": "...", "message": "...", "request_id": "..."}}.
| Status | Code | What to do |
|---|---|---|
| 400 | invalid_image |
The file is not a valid image or a parameter is wrong. Fix the input; do not retry. |
| 401 | invalid_api_key |
Check the ApiKey header and that the key is active in your dashboard. |
| 402 | insufficient_credits |
Your quota is used up. Upgrade the plan or add a per-usage pack. |
| 429 | rate_limit_exceeded |
Wait for the number of seconds in the Retry-After header, then retry. |
| 5xx | server error |
Retry with backoff. 5xx responses never count against your quota. |
Successful requests and 4xx client errors count toward your quota, so validate files before sending them. Accepted formats are JPEG, PNG, WebP, BMP, and GIF, up to 10 MB per image.
You do not have to switch everything in one deploy. A staged rollout lets you compare results on your own traffic before you cancel anything.
If your code calls remove.bg from several places, wrap it in a single remove_background(image_bytes) function first. The swap then touches one file.
Pick 50 to 100 images that represent your real workload, including the hard ones: hair, fur, glass, thin straps, low contrast against the background.
The 100 free full-resolution requests per month cover a test set this size. If an image looks off, rerun it with model=aurora or model=ghost and keep whichever model looks best.
Read the provider name and key from environment variables so you can roll back without a code change.
Track the ratio of 200 responses to errors and spot-check outputs before canceling your old plan.
Many teams remove the background only to composite the subject onto something else in a second step. FAPIhub can return the finished result directly, at the same per-request price. Try every endpoint without code in the playground.
| Endpoint | Returns |
|---|---|
/v2/rembg/color/ |
Solid background, such as white for marketplace listings |
/v2/rembg/gradient/ |
Vertical gradient between two colors |
/v2/rembg/shadow/ |
Drop shadow under the subject |
/v2/rembg/blur/ |
Subject stays sharp, original background is blurred |
/v2/rembg/mask/ |
Black and white subject mask for your own compositing |
/v2/rembg/generate/ |
AI-generated background (Mega plan) |
Pick the plan by your steady monthly volume. If your volume is irregular, per-usage packs are often the better fit because unused requests never expire.
| Your volume | FAPIhub plan | Price | Included requests |
|---|---|---|---|
| Testing, side projects | Basic | $0/month | 100/month, no credit card |
| Occasional or seasonal | Per Usage | $10 one-time | 1,000 per pack, never expire |
| Up to 7,500/month | Pro | $15/month | 7,500/month |
| Up to 52,000/month | Ultra | $79/month | 52,000/month |
| Up to 255,000/month | Mega | $199/month | 255,000/month, plus AI background generation |
Per-usage packs work out to $0.01 per request. At a steady 1,500 requests a month that equals the $15 Pro price, so above that volume Pro is the cheaper choice. For dedicated GPU servers, custom SLAs, or video, contact support@fapihub.com about a custom plan.
Answers to what developers ask most before migrating to FAPIhub.
Join thousands of developers already using FAPIhub. 100 free requests. No credit card. Set up in 5 minutes.
Get Your Free API Key