For Developers

Background Removal API
for Developers

One endpoint. One API key. $0.01 per image.

Get Free API Key Read the Docs

Why Developers Choose ClearCut

Built for engineers who
hate unnecessary complexity.

Simple REST API

One POST endpoint, multipart form data, returns a transparent PNG. No sessions, no webhooks, no callbacks.

No SDK Required

Works with any HTTP client. cURL, fetch, requests, Guzzle -- if it can POST a file, it works with ClearCut.

Predictable Pricing

$0.01 per image. No credit packs, no surprise bills, no tiered pricing games. You know exactly what you pay.

Fast Response

Sub-5-second processing. Returns the binary PNG directly in the response body -- no polling, no download URLs.


Code Examples

Copy. Paste. Ship.

curl -X POST https://clearcut-2834.polsia.app/v1/remove \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@photo.jpg" \
  --output result.png
import requests

resp = requests.post(
    "https://clearcut-2834.polsia.app/v1/remove",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    files={"image": open("photo.jpg", "rb")}
)
with open("result.png", "wb") as f:
    f.write(resp.content)
const form = new FormData();
form.append('image', fs.createReadStream('photo.jpg'));

const res = await fetch('https://clearcut-2834.polsia.app/v1/remove', {
  method: 'POST',
  headers: { 'Authorization': 'Bearer YOUR_API_KEY' },
  body: form
});
fs.writeFileSync('result.png', Buffer.from(await res.arrayBuffer()));
$ch = curl_init('https://clearcut-2834.polsia.app/v1/remove');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer YOUR_API_KEY']);
curl_setopt($ch, CURLOPT_POSTFIELDS, ['image' => new CURLFile('photo.jpg')]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
file_put_contents('result.png', $result);

API Reference

Everything you need to know
in one glance.

Endpoint
POST /v1/remove
Single endpoint for all background removal requests.
Authentication
Bearer token
Pass your API key in the Authorization header.
Input
multipart/form-data
Send the image file with field name "image".
Output
image/png
Returns a PNG with transparent background directly.
Max File Size
25 MB
Handles high-resolution photos without downscaling.
Supported Formats
JPG, PNG, WebP
All common web image formats accepted.

Integration Ideas

What developers are building.

Photo Editing Apps

Add one-click background removal to your editing pipeline. Users upload, you call the API, they download a clean cutout. No ML infrastructure needed.

E-Commerce Platforms

Automate product photo cleanup at upload time. Clean white backgrounds for Amazon, Shopify, eBay listings without manual editing.

Content Management Systems

Build background removal into your CMS media library. Editors remove backgrounds without leaving the admin panel or opening Photoshop.


Start free — 50 images/month,
no credit card.

Get your API key instantly. Build and test your integration on the free tier. Upgrade to pay-as-you-go only when you are ready to scale.


Get Started

Get your free API key.

50 free images/month. No credit card. Enter your email and start removing backgrounds in 30 seconds.