Skip to content

Choose Your Language

Choose a language. Your image and edits will be kept.

My accountChecking…
Remove image backgrounds for free on your device — never uploaded automatically. Signed-in users can also opt into Cloud L4 GPU mode or call the zero-storage API at /v1.0/removebg. Learn about processing modes and privacy.
Live · 1:1 remove.bg Compatible

Background removal API

Call POST https://remove.ac/v1.0/removebg backed by serverless NVIDIA L4 GPUs. Includes 1 free credit on signup, atomic FEFO billing, and RAM-only ephemeral image processing.

Get API Key (1 Free Credit)View API PricingDownload Official CLIOpen the image editor
curl -X POST https://remove.ac/v1.0/removebg \
  -H "X-Api-Key: rac_live_YOUR_API_KEY" \
  -F "[email protected]" \
  -F "size=auto" \
  -o no-bg.png
Interactive Sandbox · NVIDIA L4 GPU

Try POST /v1.0/removebg in Browser

Get free API key →

Your API key stays in volatile page memory only and is never written to localStorage. Successful calls use 1 credit; failed calls charge 0.

Endpoints & Billing Overview

remove.ac exposes a production REST API 1:1 compatible with the remove.bg v1.0 contract. Existing scripts migrate by pointing to https://remove.ac/v1.0/removebg and passing X-Api-Key.

Billing uses atomic Postgres FEFO credit holds: 1 credit is captured only after inference succeeds (X-Credits-Charged: 1). Validation errors, upstream timeouts, or network failures release the hold immediately with 0 charge.

# Query remaining credits (0 credits charged)
curl -s https://remove.ac/v1.0/account \
  -H "X-Api-Key: rmac_live_YOUR_API_KEY"

Request Parameters (POST /v1.0/removebg)

Accepts multipart/form-data or application/json payloads up to 20 MiB per image (JPG, PNG, WebP):

Supported parameters
ParameterBehavior
image_file / image_file_b64 / image_urlProvide one source: binary file upload, Base64 string, or public HTTPS image URL (protected by strict SSRF guards).
sizepreview / small / regular (0.25 credits, up to 0.25 MP); medium / hd / 4k / full / auto (1 credit, full resolution).
format / channelsformat: auto / png / jpg / webp / zip; channels: rgba (default cutout) or alpha (8-bit grayscale alpha matte).
type / type_level / roiFull SDK compatibility for subject hints (auto / person / product / car / animal / graphic / transportation), type_level, and roi.
crop / bg_color / shadow_typecrop=true trims transparent margins; bg_color / bg_image_file composites backgrounds; add_shadow / shadow_type controls shadows.
# Zero-dependency Node.js >= 18 CLI (single file or folder batch)
curl -fsSLO https://remove.ac/remove-ac-cli.mjs
REMOVE_AC_API_KEY="rac_live_YOUR_API_KEY" node remove-ac-cli.mjs ./photos --output-dir ./cutouts

Authentication, Idempotency & Status Codes

Pass X-Api-Key: rmac_live_... in request headers (plaintext shown once at creation; server stores SHA-256 hashes only). Include Idempotency-Key (up to 200 chars) for safe retries without double billing; payload mismatches return HTTP 409.

Status codes: 200 binary output · 400 invalid input · 402 insufficient credits · 403 invalid/revoked key · 409 idempotency conflict/in-flight · 502 upstream error (credit hold automatically released).

Zero-Persistence Privacy Guarantee

Cloud L4 GPU workers decode and infer strictly in volatile RAM and never persist input or output image blobs in databases or idempotency caches. If your images must never leave the browser, use the free On-Device mode in the web editor.