Free tier · 10 images/mo · then $0.02/image

The complete image API for developers.

Plus upscaling, face restore, stickers, studio shots, alpha-channel video, and 28 endpoints behind one key. ~200 ms per call. MIT licensed, self-hostable, 10× cheaper than remove.bg.

curl -X POST "https://useknockout--api.modal.run/remove" \
  -H "Authorization: Bearer $TOKEN" \
  -F "file=@cat.jpg" -o out.png

# → 200 OK · image/png · 184 ms
Cocktail glass cutout: after
Cocktail glass cutout: before
BeforeAfter
Drag mePOST /remove200184ms
POST/remove200184msPOST/upscale200412msPOST/remove200179msPOST/sticker200208msPOST/studio-shot200246msPOST/remove-batch2001.8sPOST/face-restore200358msPOST/remove200191msPOST/colorize200502msPOST/replace-bg200214msPOST/mask200178msPOST/video/remove2009.6sPOST/remove200187msPOST/inpaint200380msPOST/silhouette200210msPOST/headshot200328ms
28
Endpoints in one API
200ms
Warm latency, 1024×1024
10×
Cheaper than remove.bg
8.4k
Downloads · 57★ on GitHub

SOTA quality. Real photos.

BiRefNet ranks #1 on DIS5K and HRSOD. We benchmark against remove.bg on hard subjects: hair, fur, glass, group photos.

Colorize B&W: after
Colorize B&W: before
BeforeAfter
Colorize
Group photos: after
Group photos: before
BeforeAfter
Replace-bg
Two-tone silhouette: after
Two-tone silhouette: before
BeforeAfter
Silhouette

Group photos

Eight overlapping subjects, busy background. Drag the slider: one /replace-bg call swapped the pier for mountains in a single pass.

One API, twenty-eight endpoints.

Cover the full image-cutout, composition, and enhancement workflow without stitching together half a dozen vendors.

Core

Batch

Cutout variants

Composition

Enhancement

Video

Utility

How it stacks up.

Most image APIs charge up to 10× more for half the surface area. We're open source on top.

FeatureuseknockoutOURSremove.bgPhotoroomSlazzerClipDrop
Per-image cost (PAYG)$0.02$0.20$0.10$0.10$0.05
Free tier / month10 / mo1 / mo020 / mo100 / mo
Background removal
Super-resolution
Face restore
Sticker outline
Studio composite
Drop shadow
Smart crop
Silhouette portrait
Inpainting
Video background removal (real alpha)
Layered PSD export (API)
Batch endpoint
Node SDK
React SDK
Python SDK
MIT licensed
Self-hostable

Pricing and feature snapshot as of May 2026. Vendor pages may have changed since. Open an issue if anything is stale.

Install in your stack.

Official SDKs for Node, React, CLI, and Python. Or hit the REST API directly.

npm i @useknockout/node

import { Knockout } from "@useknockout/node";
const client = new Knockout({ token: process.env.KNOCKOUT_TOKEN });
const png = await client.remove({ file: "./input.jpg" });

Pricing

For reference: the same image on remove.bg is $0.20 at their PAYG rate.

Free

$010 images / month

Best for: Eval, side projects, OSS

  • 10 images / month
  • No card required
  • Background removal: /remove, /remove-url
  • Utilities: /mask, /compare, /preview
  • Community support
Start free
Most popular

Pay-as-you-go

$0.02per image

Best for: Side projects, early startups

  • Per-image billing
  • Credits never expire
  • All endpoints: incl. AI upscale, face restore, colorize, e-commerce presets & batch
  • PSD export $0.10/image
  • Video background removal $0.10/output sec
  • Email support
Get token →

Knockout Plus

$10per month

Best for: Designers, agencies, power users

  • 250 images included, then $0.02/image
  • Layered PSD export: included free
  • Video background removal $0.08/output sec
  • Edge despill + saved presets
  • Custom watermarks, resize & compression
Get Knockout Plus →

Volume

Custom100k+ images / mo

Best for: Production workloads

  • Negotiated per-image rate
  • 99.9% uptime SLA
  • Slack support
  • Usage dashboard
Contact sales

Frequently asked questions

Warm calls are around 200ms for a 1024×1024 image on a Modal L4 GPU. The first request after a cold container is ~45s while we load BiRefNet, Swin2SR, GFPGAN, DDColor, and LaMa weights from disk. That's the trade-off for $0 idle cost. Production traffic stays on warm containers; pin a `keep_warm=1` worker if you want to eliminate cold starts entirely.