A production REST API that removes the image background and returns a clean transparent PNG — no design software required. Start free with 500 credits, no credit card. After the free tier, it's just $0.0025 per image (0.5 credits), 8× cheaper than Photoroom and far cheaper than remove.bg. One HTTP call. Under 3 seconds.
Most background removal APIs charge you from request one. PixelAPI gives you 500 full-resolution image credits upfront — enough to validate your entire pipeline on real production data before you pay a cent. And when you do scale up, the per-image price is the lowest in the market at $0.0025.
500 credits on signup. No card, no trial period, no watermarks. Full-resolution transparent PNGs from your first request.
$0.0025 per image (0.5 credits). No subscription minimums, no per-second compute billing, no enterprise tier required. Pay only for what you use.
Handles hair, glass, lace, reflective surfaces, and fine fur. Subject edges are preserved — not blown out or blurred.
POST your image, get a job ID, poll until done. The same pattern as every other PixelAPI endpoint — no custom SDKs to learn.
Output quality is checked automatically. If a result would have been blank or corrupted, the job is rejected and your credits are refunded.
Python, Node.js, PHP, Ruby, Go. All handle auth, polling, and retry-on-429 automatically. Drop into your stack in under 10 lines.
Sign up at pixelapi.dev/app, copy your key from the dashboard, and POST your image. The endpoint returns a generation_id; poll GET /v1/image/{id} 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: {"generation_id": "uuid", "status": "queued", ...} # 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_transparent.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_transparent.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_transparent.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_transparent.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_transparent.png")
You can also pass a public image URL instead of uploading a file:
curl -X POST https://api.pixelapi.dev/v1/image/remove-background \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "image_url=https://example.com/product.jpg"
Most rivals offer a limited free tier that runs out quickly and switches to expensive per-image billing. Here's a side-by-side comparison:
| Provider | Free tier | Per-image cost | Input formats | Output |
|---|---|---|---|---|
| PixelAPI | 500 credits, no card | $0.0025 | JPG · PNG · WebP | Transparent PNG |
| Photoroom | 10 images/month | $0.020 (standard API) | JPG · PNG | PNG · JPG |
| remove.bg | 50 preview-res/month | $0.23–$1.99 (pay-as-you-go) | JPG · PNG · WebP | PNG · JPG · ZIP |
| Clipdrop | 100 one-time | Contact Jasper.ai sales | PNG · JPG | PNG |
| Cutout.pro | Limited trial | $0.099–$0.499 per credit | JPG · PNG · WebP | PNG · JPG |
| Pixelcut | App credits (non-API) | Subscription only ($10–$30/mo) | JPG · PNG | PNG |
Pricing verified from each rival's public pricing page May 2026. PixelAPI's per-image price is set at 8× cheaper than the cheapest commercial API rival (Photoroom $0.02/image) per our pricing principle.
The background is removed and an alpha channel is added. Works directly in Photoshop, Figma, Canva, Shopify, Amazon listings, and any tool that accepts transparent images.
The API does not downscale your image. What goes in at high resolution comes back at high resolution — critical for print-ready product photos and large catalog images.
The endpoint returns a generation_id immediately and processes the image in the background. No request timeouts, even at high volumes or large file sizes.
If the cutout quality check fails — blank output, corrupt alpha, detection error — the job is rejected and your credits are refunded automatically. You never pay for a bad result.
Background transparency is the foundation for most product image pipelines. Each link below goes to a setup guide:
Bulk clean-cuts on exports from Lightroom or Capture One. Automate a full shoot in minutes.
White-background product images for Shopify, WooCommerce, Amazon, and BigCommerce.
Garment and accessory cutouts with precise fabric edge preservation.
Listing photo cleanup at scale. Sky replacement and floor swap pipelines.
Catalog-ready cutouts for client product shoots, automated.
Glass and frame edge preservation, transparent PNG ready for Shopify.
Heavy hi-res files, batch pipelines, transparent backgrounds with drop-shadow.
Bottle, palette, and applicator cutouts. Reflective edges preserved.
Cables, screens, glossy plastics — all handled cleanly.
More use-case guides: all industries →
Connect the transparent background API to your existing stack without writing custom HTTP clients:
Bulk-process product images on upload via webhook.
No-code workflow trigger with one click.
Drag-and-drop background removal in Make scenarios.
CMS auto-cutout for product detail pages.
Server-side transparent background API route in Next.js.
Catalog automation with the BC product API.
Same edge quality. Far cheaper on pay-as-you-go. 500 free credits vs 50 low-res previews/month.
8× cheaper per image ($0.0025 vs $0.02). More generous free tier. No subscription required.
Transparent pricing vs contact-sales-only. 500 free credits vs 100 one-time.
REST API vs browser-only tool. Automate thousands of images instead of one at a time.
Default rate limit is 60 requests per minute on the free tier and 600 requests per minute on paid tiers. When you exceed the limit, the API returns HTTP 429 with a Retry-After header indicating how many seconds to wait. The recommended pattern is exponential backoff starting at 2 seconds, doubling on each retry up to a 30-second ceiling.
# Python SDK handles 429 with automatic backoff from pixelapi import PixelAPI client = PixelAPI(api_key="...", max_retries=4) result = client.remove_background(image="product.jpg") # auto-retries on 429
For batch workloads processing more than 600 images per minute, email [email protected] with your expected volume to discuss higher rate limit tiers.
Other common error codes:
| HTTP Status | Meaning | Action |
|---|---|---|
400 | Invalid image (not JPG/PNG/WebP, or over 20 MB) | Validate file before upload |
401 | Missing or invalid API key | Check Authorization: Bearer header |
402 | Insufficient credits | Top up at /pricing |
429 | Rate limit exceeded | Respect Retry-After header |
500 | Internal error | Retry; credits are not deducted on server errors |
Yes. Every new PixelAPI account starts with 500 free credits — enough to process 50 images at the standard rate — with no credit card required. After the free credits are spent, each image costs $0.0025. There are no hidden fees, no mandatory subscriptions, and no watermarks on free-tier output.
POST your image to https://api.pixelapi.dev/v1/image/remove-background with your API key as a Authorization: Bearer header. The endpoint accepts multipart/form-data (file upload) or an image_url form field for a public URL. It returns a generation_id; poll GET /v1/image/{id} until status=completed, then fetch the transparent PNG from output_url.
$0.0025 per image — 8× cheaper than Photoroom's standard API ($0.02) and far cheaper than remove.bg's pay-as-you-go tiers ($0.21–$1.99 per image). No monthly minimums or commitments.
JPG, PNG, and WebP files up to 20 MB. You can upload the file directly as multipart/form-data or pass a public URL via the image_url parameter.
A transparent PNG with a clean alpha channel. The subject — product, person, object — is preserved at full resolution with accurate edge detection. The output URL is available immediately once status=completed.
Most images complete in 1–3 seconds end-to-end. Capacity is kept warm 24/7 — there are no cold-start delays. Concurrent bulk requests are processed in parallel.
Official SDKs: Python (pip install pixelapi), Node.js (npm install pixelapi), PHP (Composer), Ruby (gem install pixelapi), Go (go get github.com/pixelapi/pixelapi-go). All SDKs handle authentication, polling, retry-on-429, and binary file download automatically.
Default 60 requests per minute on the free tier, 600 per minute on paid tiers. The API returns HTTP 429 with a Retry-After header when limits are hit. Python and Node SDKs handle backoff automatically. Higher limits for batch workloads — email [email protected].
Yes — it's one of the most common use cases. The API handles product photos, headshots, fashion items, furniture, electronics, and food. Fine edges on hair, reflective surfaces, and transparent objects are all preserved accurately.
A quality check layer detects failed outputs automatically. If the result would have been blank or corrupted, the job is rejected and your credits are refunded — you never pay for a broken result.
Yes. PixelAPI is a registered Indian business. We issue GST invoices — 18% IGST for international clients, CGST/SGST for domestic. Invoice download is available directly in the dashboard.