The best free background remover API for developers: 24-hour free trial (up to 5,000 credits) — no credit card needed — then just $0.0025 per image after that. One REST call. One transparent PNG back. Under 3 seconds. Works for product photos, ecommerce, Shopify, Amazon listings, real estate, headshots, and fashion photography. 8× cheaper than Photoroom. 80× cheaper than remove.bg. Accepts JPG, PNG, and WebP up to 20 MB. SDKs for Python, Node.js, PHP, Ruby, and Go.
Sign up, grab your key from the dashboard, and POST your image. The endpoint queues immediately, returns a generation_id, and completes in under 3 seconds. Poll until status=completed, then download the transparent PNG from output_url.
curl -X POST https://api.pixelapi.dev/v1/image/remove-background \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "[email protected]" # Response: {"id": "uuid", "status": "queued", "operation": "remove-background", ...} # Poll until completed curl https://api.pixelapi.dev/v1/image/UUID \ -H "Authorization: Bearer YOUR_API_KEY" # Response: {"status": "completed", "output_url": "https://..."}
pip install pixelapi
---
from pixelapi import PixelAPI
client = PixelAPI(api_key="YOUR_API_KEY")
result = client.remove_background(image="product.jpg")
result.save("product_cutout.png") # transparent PNG
npm install pixelapi
---
import { PixelAPI } from "pixelapi";
const client = new PixelAPI({ apiKey: process.env.PIXELAPI_KEY });
const result = await client.removeBackground({ image: "./product.jpg" });
await result.save("product_cutout.png"); // transparent PNG
composer require pixelapi/pixelapi
---
<?php
use PixelAPI\Client;
$client = new Client(getenv("PIXELAPI_KEY"));
$result = $client->removeBackground(["image" => "product.jpg"]);
file_put_contents("product_cutout.png", $result->getBody());
gem install pixelapi
---
require "pixelapi"
client = PixelAPI::Client.new(api_key: ENV["PIXELAPI_KEY"])
result = client.remove_background(image: "product.jpg")
File.binwrite("product_cutout.png", result.body)
go get github.com/pixelapi/pixelapi-go
---
import "github.com/pixelapi/pixelapi-go"
client := pixelapi.New("YOUR_API_KEY")
result, err := client.RemoveBackground("product.jpg")
if err != nil { panic(err) }
result.Save("product_cutout.png")
You can also submit by URL instead of a file upload — pass image_url=https://... as a form field. Useful for images already hosted in S3, Cloudflare Images, or any CDN.
Every rival charges more per image, limits the free tier more aggressively, or hides their API price behind a sales process. PixelAPI publishes a flat, transparent price and gives you 24-hour free trial (up to 5,000 credits) with no credit card to try first.
| Provider | Free tier | Per-image cost | Output formats |
|---|---|---|---|
| PixelAPI | 5,000-credit 24h trial, no card | $0.0025 | PNG · JPG · WebP · mask |
| Photoroom | 10/mo | $0.020 | PNG · JPG |
| remove.bg | 50/mo (preview resolution) | $0.200–$0.270 | PNG · JPG · ZIP |
| Cutout.pro | see cutout.pro/api | $0.049–$0.063 | PNG · JPG |
| Pixelcut | see developer.pixelcut.ai | $0.050 | PNG |
| Clipdrop | 5,000 credits (24-hour trial) | credit-based (contact sales) | PNG |
Pricing verified from each rival's public pricing page May 2026. PixelAPI's per-image price is set well below the cheapest rival's published per-unit price — currently 8× cheaper than Photoroom's $0.02.
Every background removal returns a ready-to-use image file. No post-processing required.
Alpha channel preserves hair, glass, lace, and fur — the edges most tools blow out. Works straight into Photoshop, Figma, Canva, Shopify product pages, and Amazon listing images.
Pass output_format=jpeg&bg_color=#ffffff for white-background marketplace shots. Any hex color works — white, grey, custom brand colors.
Same alpha channel quality, ~30% smaller files. Pass output_format=webp. Ideal for web storefronts where page speed matters.
Need to composite the result yourself? Get back just the binary foreground mask with return_mask=true and skip the alpha channel entirely.
The background removal endpoint handles a wide range of industries. The same one-call REST interface works everywhere from a scrappy solo Shopify store to a high-volume catalog pipeline processing tens of thousands of images per day.
Auto-process product images on upload. Clean white-background cutouts are a requirement for Amazon, Walmart, and most marketplace listings. Build a webhook that fires on every new product.
Remove sky and floor from property photos at scale. Pair with the replace-background endpoint to drop in blue skies, neutral gradients, or consistent studio looks.
LinkedIn headshots, team pages, ID photos. The multi-stage segmentation model handles hair and wisps cleanly — no halo artifacts, no lost strands.
On-model and flat-lay garment cutouts. Fine fabric edges, sheer material, and complex necklines preserved. Bulk process entire seasonal lookbooks.
Lightroom and Capture One batch exports. Drop transparent cutouts directly into compositing templates. Consistent results across 1 image or 10,000.
Client catalog cutouts on demand. Automate the post-shoot retouching pipeline and deliver same-day. Works with your existing asset management workflow.
The background remover API is the foundation for these production pipelines. Each links to a complete setup guide:
Shopify / WooCommerce / BigCommerce automation. White-background images ready for marketplace listing requirements.
Lightroom + Capture One pipeline automation. Bulk clean-cuts on RAW exports.
On-model and flat-lay cutouts for seasonal catalogs. Fine fabric edges preserved.
Listing photo cleanup at scale. Sky + floor swap workflows with replace-background.
Bottle, palette, and applicator cutouts. Reflective and transparent surfaces handled cleanly.
Cables, screens, glossy plastics, and intricate product shapes — all cut cleanly.
High-res files, batch pipelines, transparent + drop-shadow compositing.
Catalog-ready cutouts for client product shoots, fully automated.
Plate cutouts with transparent backgrounds for menu apps and dark-mode UIs.
More use-case guides: all industries →
Plug the background removal API into your existing platform with our prebuilt integration guides:
Bulk-process product images on upload via webhook. White-background cutouts automatically.
Catalog automation with the WooCommerce REST API and PixelAPI webhooks.
No-code workflow trigger. Connect to Google Drive, Dropbox, Airtable in one click.
Drag-and-drop background removal in Make scenarios. Handles bulk image arrays natively.
CMS auto-cutout for product detail pages. Trigger on CMS item publish.
Catalog automation with the BigCommerce product API.
Adobe Commerce / Magento 2 plugin pattern for bulk catalog processing.
Server-side background removal in API routes. Works on Vercel edge functions.
Velo automation for Wix Stores product image processing.
Need a detailed breakdown of how PixelAPI stacks up against each competitor? We've written head-to-head comparison guides for the most-asked rivals:
Same edge quality. ~80× cheaper. PNG/JPG/WebP/mask output vs PNG/JPG only. 24-hour free trial (up to 5,000 credits) vs 50 preview-resolution calls per month.
8× cheaper per image ($0.0025 vs $0.02). Same sub-3-second speed. More output formats including WebP and mask-only.
Transparent per-image API pricing vs PicWish's opaque credit system. Predictable billing for high-volume pipelines.
Production SLA + GST invoicing for businesses. Free trial without credit card.
Flat $0.0025/image vs Replicate's per-second compute billing. No cold-start wait, predictable per-image cost.
24-hour free trial (up to 5,000 credits) vs withoutbg's limited free tier. Broader SDK coverage and volume discounts.
Default rate limits are 60 requests/minute on the free tier and 600 requests/minute on paid tiers. Exceeding the limit returns HTTP 429 with a Retry-After header indicating when you can retry. For bulk pipelines, the recommended pattern is exponential backoff starting at 2s, doubling on each retry up to 30s. The Python and Node SDKs handle this automatically.
# Python SDK auto-retries 429 with exponential backoff from pixelapi import PixelAPI client = PixelAPI(api_key="...", max_retries=4) result = client.remove_background(image="bulk.jpg") # auto-retries on 429
Other useful HTTP status codes:
400 Bad Request — invalid image file, unsupported format, or file too large (>20MB).401 Unauthorized — missing or invalid API key. Check the Authorization: Bearer <key> header.402 Payment Required — insufficient credits. Top up at pixelapi.dev/pricing.429 Too Many Requests — rate limit exceeded. Respect the Retry-After header.503 Service Unavailable — queue temporarily full. Retry with backoff; credits are not charged for failed jobs.Jobs that produce a blank, corrupted, or low-quality cutout are detected automatically by our output quality layer and rejected. Credits are refunded immediately — you never pay for a broken result.
PixelAPI's background removal endpoint gives you 24-hour free trial (up to 5,000 credits) with no credit card required. After the free tier, it costs $0.0025 per image — 8× cheaper than Photoroom ($0.02) and far cheaper than remove.bg ($0.20–$0.27/image). You get transparent PNG output in under 3 seconds with a single REST call.
Sign up at pixelapi.dev/app — no credit card needed. Copy your API key from the dashboard, then POST your image to https://api.pixelapi.dev/v1/image/remove-background. The endpoint returns a generation_id; poll GET /v1/image/{id} until status=completed, then download the transparent PNG from output_url. See the Quick Start section above for code in 6 languages.
New accounts get 24-hour free trial (up to 5,000 credits) with no credit card required — enough to test the API thoroughly on real catalog data before committing to a paid plan.
$0.0025 per image — 8× cheaper than Photoroom ($0.02/image) and far cheaper than remove.bg ($0.20–$0.27/image), Pixelcut ($0.05/image), or Cutout.pro ($0.049–$0.063/image). Credits are purchased in packs; the Starter pack is $10 for 1,000 credits. Volume pricing is available for high-traffic applications.
Most images complete in under 3 seconds end-to-end. There are no cold-start delays — capacity is kept warm 24/7 so your first request is as fast as your thousandth. Concurrent batch requests are processed in parallel.
JPG, PNG, and WebP images up to 20MB. You can submit via multipart file upload or pass a public image_url parameter. Images hosted in S3, Cloudflare R2, Google Cloud Storage, or any public CDN all work via URL.
Transparent PNG by default. Pass output_format=jpeg&bg_color=#ffffff for white-background marketplace images, output_format=webp for ~30% smaller files, or return_mask=true to get just the foreground mask for custom compositing pipelines.
Yes. The API uses a multi-stage segmentation model specifically tuned for fine detail: hair strands, fur, lace fabric, glass, and translucent objects are all handled cleanly. The result is usable straight in product photography, headshot editing, and fashion catalogs without manual touch-up.
Yes — pip install pixelapi. Official SDKs are also available for Node.js (npm install pixelapi), PHP (Composer), Ruby (Gem), Go (go get), and Java/Kotlin. All SDKs handle authentication, polling, retry-on-429, and binary file saving automatically.
Default 60 requests/minute on the free tier, 600 requests/minute on paid tiers. Exceeding the limit returns HTTP 429 with a Retry-After header. Higher limits are available for bulk batch pipelines — email [email protected] with your expected volume.
PixelAPI is roughly 80× cheaper ($0.0025 vs $0.20–$0.27 per image) and supports more output formats: transparent PNG, JPG with custom background color, WebP, and mask-only. remove.bg supports PNG and JPG only. PixelAPI gives 24-hour free trial (up to 5,000 credits) vs remove.bg's 50 preview-resolution calls per month.
Yes. PixelAPI issues GST invoices for Indian businesses (CGST/SGST) and standard invoices for international clients (18% IGST). Invoice download is built into the dashboard. Failed jobs are auto-detected by our quality layer and credits are refunded immediately — you never pay for a broken result.