REST API · Live

Best Image Cutout API for Developers

The best image cutout API should be fast, accurate, and priced for production scale — not capped at 50 free images a month. PixelAPI's image cutout endpoint removes the background from any photo and returns a clean transparent PNG in under 3 seconds. $0.0025 per image — 8× cheaper than Photoroom's background removal API ($0.02). 500 free credits, no credit card required.

$0.0025 / image < 3s typical 500 free credits No credit card 20MB max file SOC2-aligned infra
Get an API key (free) Quick start See pricing API docs

Quick start — best image cutout API in 6 languages

Sign up, copy your API key from the dashboard, then POST your image. The endpoint queues the job and returns a generation_id. Poll GET /v1/image/{id} until status=completed, then download the transparent PNG from output_url. You can upload a file or pass a public image_url parameter to pull from your CDN.

# Upload a file
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", ...}

# Or pass a public URL (no re-upload needed)
curl -X POST https://api.pixelapi.dev/v1/image/remove-background \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image_url=https://your-cdn.com/product.jpg"

# Poll for result
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")

# Upload a file
result = client.remove_background(image="product.jpg")
result.save("product_cutout.png") # transparent PNG

# Or pass a URL
result = client.remove_background(image_url="https://your-cdn.com/product.jpg")
result.save("product_cutout.png")
npm install pixelapi
---
import { PixelAPI } from "pixelapi";

const client = new PixelAPI({ apiKey: process.env.PIXELAPI_KEY });

// Upload a file
const result = await client.removeBackground({ image: "./product.jpg" });
await result.save("product_cutout.png"); // transparent PNG

// Or pass a URL
const result2 = await client.removeBackground({
  imageUrl: "https://your-cdn.com/product.jpg"
});
await result2.save("product_cutout.png");
composer require pixelapi/pixelapi
---
<?php
use PixelAPI\Client;

$client = new Client(getenv("PIXELAPI_KEY"));

// Upload a file
$result = $client->removeBackground(["image" => "product.jpg"]);
file_put_contents("product_cutout.png", $result->getBody());

// Or pass a URL
$result = $client->removeBackground(["image_url" => "https://your-cdn.com/product.jpg"]);
file_put_contents("product_cutout.png", $result->getBody());
gem install pixelapi
---
require "pixelapi"

client = PixelAPI::Client.new(api_key: ENV["PIXELAPI_KEY"])

# Upload a file
result = client.remove_background(image: "product.jpg")
File.binwrite("product_cutout.png", result.body)

# Or pass a URL
result = client.remove_background(image_url: "https://your-cdn.com/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")

// Upload a file
result, err := client.RemoveBackground("product.jpg")
if err != nil { panic(err) }
result.Save("product_cutout.png")

// Or pass a URL
result, err = client.RemoveBackgroundURL("https://your-cdn.com/product.jpg")
if err != nil { panic(err) }
result.Save("product_cutout.png")

Pricing — best image cutout API for production scale

Most image cutout APIs either charge too much per image or bury the cost in opaque credit bundles. PixelAPI's pricing is transparent: $0.0025 per image, always, starting from your first paid call. We set our price well below the cheapest verified rival per-image rate so you never pay more than you should.

ProviderFree tierPer-image costURL input
PixelAPI 500 credits, no card $0.0025 ✓ Yes
Photoroom10/month$0.020
remove.bg50/monthsee remove.bg/pricing
ClipdropLimited trialsee clipdrop.co/apis
cutout.proLimited creditssee cutout.pro
pixelcutLimited trialsee pixelcut.ai

Photoroom pricing verified from photoroom.com/api/pricing, May 2026. PixelAPI's per-image price is set well below the cheapest verified rival per our pricing principle. For rivals where public per-image API pricing was not directly available at time of writing, we link to their pricing pages directly.

What you get back

Every image cutout call returns a polished, production-ready result. Here's exactly what comes out of the API:

Transparent PNG

The subject is cleanly isolated on a fully transparent background. Alpha channel preserves fine detail — hair, lace, fur, eyeglass frames — the edges most APIs blow out. Works directly in Photoshop, Figma, Canva, and all major design tools.

Subject-only isolation

The main foreground subject is detected automatically: people, products, animals, vehicles, or objects. No prompt needed — the segmentation model determines what to keep based on visual saliency.

High-resolution output

The cutout is returned at the native resolution of your input. No internal downsampling. Submit a 4000×5000 product shot, get a 4000×5000 transparent PNG back. Max input: 20MB.

Output URL + status polling

The API returns a generation_id on submission. Poll GET /v1/image/{id} to check status (queued → processing → completed). Completed jobs expose a signed output_url — download directly or forward to your pipeline.

File upload or URL input

Submit images as multipart file uploads or pass an image_url to fetch from your own storage. The URL path avoids double-bandwidth costs when images already live in S3, GCS, or a CDN.

Auto-refund on failure

Every result passes an automated quality check. Blank cutouts, corrupted outputs, and processing failures trigger an automatic credit refund — you only pay for successful, usable results.

Common workflows — image cutout at production scale

The image cutout API is the foundation for these high-volume production workflows. Each links to a step-by-step setup guide:

E-commerce catalogs

Automate product-on-white cutouts for Shopify, WooCommerce, and Amazon listings at scale.

Photography studios

Bulk cutouts on RAW exports. Lightroom and Capture One automation patterns.

Fashion & apparel

Ghost mannequin, flat-lay, and on-model cutouts — ready for Shopify product pages.

Real estate

Listing photo cleanup at scale. Sky-swap and floor-swap pipeline setups.

Cosmetics & beauty

Bottle, palette, and applicator cutouts. Reflective and translucent edges handled cleanly.

Jewelry

Metallic and gemstone edge precision. Transparent PNG ready for product detail pages.

Furniture catalogs

Heavy hi-res file handling, batch pipelines, transparent and drop-shadow composites.

Electronics

Cables, glossy plastics, and screens — processed cleanly at native resolution.

Marketing agencies

Catalog-ready cutouts for client product shoots. Webhook-triggered automation.

More industry guides: Eyewear · Food delivery · Automotive · Marketplaces

Integrations

Connect the image cutout API to your existing stack. Each integration guide covers authentication, webhook setup, and error handling:

Shopify

Bulk-process product images on upload via Shopify webhook. No manual step needed.

WooCommerce

Auto-cutout on product publish. WordPress hook + REST call pattern.

BigCommerce

Catalog automation using the BigCommerce product and webhook APIs.

Zapier

No-code cutout trigger: new image → PixelAPI → save result. One-click setup.

Make.com

Drag-and-drop image cutout in Make (formerly Integromat) scenarios.

Webflow

CMS auto-cutout for product detail pages. Works with Webflow's CMS API.

Magento

Adobe Commerce / Magento 2 plugin pattern for catalog image automation.

Next.js

Server-side image cutout in Next.js API routes. Streaming + edge deployment guide.

Wix

Wix Velo integration: auto-cutout on Wix store product uploads.

Comparison vs alternative image cutout APIs

How PixelAPI compares to the most common alternatives developers evaluate:

vs remove.bg

Same use-case, significantly lower per-image cost. PixelAPI also supports URL-based image input and has no monthly free-cap cliff.

vs Photoroom

PixelAPI is 8× cheaper ($0.0025 vs $0.02 per image). Same quality cutouts, with URL input support and 500 free credits to start.

vs Clipdrop

Clipdrop's background removal is geared toward consumer use. PixelAPI is developer-first with a public REST API, SDKs, and per-image billing from day one.

vs PicWish

PicWish is primarily a consumer web app. PixelAPI offers a production REST API with SLA-grade uptime and invoice support for business billing.

vs Slazzer

Slazzer has a limited API tier. PixelAPI has no monthly image cap, transparent per-image pricing, and multi-language SDKs ready to go.

vs Replicate

Replicate bills per-second of compute — unpredictable costs at scale. PixelAPI charges a flat $0.0025 per image regardless of processing time.

Rate limits & error handling

Default rate limits: 60 requests/minute on free tier, 600 requests/minute on paid tiers. Higher throughput is available for bulk pipelines — contact [email protected] with your expected volume.

When the rate limit is hit the API returns HTTP 429 with a Retry-After header indicating how many seconds to wait. Recommended backoff: start at 2s, double on each retry, cap at 30s. The Python and Node.js SDKs apply this policy automatically.

# Python SDK auto-retries on 429 with exponential backoff
from pixelapi import PixelAPI
client = PixelAPI(api_key="...", max_retries=4)
result = client.remove_background(image="product.jpg") # retries handled automatically

Other status codes to handle:

Frequently asked questions

What is an image cutout API?

An image cutout API is a REST endpoint that receives an image and returns a version with the background removed — isolating the main subject as a transparent PNG. Developers use it to automate product photo prep, headshot cleanup, e-commerce catalog pipelines, and anywhere a clean subject cutout is needed at scale without manual editing.

How do I use the PixelAPI image cutout API?

POST your image (file upload or public URL via image_url) to https://api.pixelapi.dev/v1/image/remove-background with your API key in the Authorization: Bearer header. The endpoint queues the job and returns a generation_id. Poll GET /v1/image/{id} until status=completed, then download the transparent PNG from output_url. Full code examples are in the Quick Start section above.

How much does the image cutout API cost?

$0.0025 per image — 8× cheaper than Photoroom's verified $0.02/image background removal API. New accounts receive 500 free credits (worth $0.50 of processing, enough for 50 full cutouts) with no credit card required, so you can validate the output quality on your real data before paying anything.

What image formats can I upload?

JPEG, PNG, and WebP are accepted. Maximum file size is 20MB. You can upload the file directly as multipart/form-data or pass a public image_url parameter to fetch from your CDN or cloud storage — useful when images already live in S3 or GCS and you want to avoid re-uploading through your own server.

How fast is the image cutout processing?

Typical end-to-end time is 1–3 seconds for standard-resolution images. Capacity is kept warm 24/7 so there are no cold-start delays — your first request is as fast as your thousandth. Concurrent batch submissions are processed in parallel, so throughput scales with your request rate up to your plan's per-minute limit.

Can I submit an image by URL instead of uploading a file?

Yes. Pass the image_url form parameter with a publicly accessible URL instead of attaching a file. This is the recommended pattern when your images already live in cloud storage — it eliminates a round-trip through your server and is supported in all SDKs.

What industries use image cutout APIs?

E-commerce and Shopify / Amazon sellers (product photos on white), fashion and apparel studios, real estate photo editors (sky and floor swaps), cosmetics and beauty brands, electronics retailers, food delivery platforms (menu photos), headshot and portrait studios, and marketing agencies handling bulk catalog work. See the Common Workflows section above for per-industry guides.

Is there a Python SDK for the image cutout API?

Yes — pip install pixelapi. Official SDKs are also available for Node.js (npm install pixelapi), PHP (Composer), Ruby (Gem), Go (go get github.com/pixelapi/pixelapi-go), and Java/Kotlin. All SDKs handle authentication, result polling, retry-on-429, and binary file return automatically.

What are the rate limits?

Free tier: 60 requests per minute. Paid tiers: 600 requests per minute. The SDKs retry 429 responses automatically with exponential backoff. For bulk pipeline work requiring higher throughput, email [email protected] with your expected volume — enterprise throughput is available on request.

Is there a free trial?

Yes. Every new account receives 500 free credits — enough to cut out 50 full images — with no credit card required. Sign up at pixelapi.dev/app and start processing immediately.

Can I get a GST invoice?

Yes. PixelAPI is a registered Indian business. We issue GST invoices — 18% IGST for international clients, CGST/SGST for domestic Indian clients. Invoice download is available directly from the billing dashboard with no support ticket needed.

What happens if a cutout job fails?

Every result passes an automated output-quality check. If the cutout would have been blank or corrupted, the job is rejected and your credits are automatically refunded. You never pay for a broken or unusable result. Transient server errors return HTTP 500 and are safe to retry with backoff — your credits are not deducted until the job completes successfully.

Start free — 500 credits, no card Read full API docs Compare all plans