Background removal, for developers

Goodbye background. Hello possibilities.

Bring clean cutouts into your app, shop, or daily workflow. Send an image. Get a transparent PNG. Keep building.

Read the documentation

Manual approval. No subscription. The website tool stays free.

Transparent PNGA long-haired dog with its background removed
Original dog photo in a gardenOriginal image
200 OK1 credit
An actual RinseBg result from our AI-generated sample photo.

Only successful images count.One successful cutout uses one credit. Failed or busy requests use none.

Small packs. One-time payments.From $1 for 100 credits. No automatic renewal.

Your integration, server to server.Keep your API key in your backend, away from public browser code.

The API, in action

Try a real request.

Already have a key? Check your balance, send an image, and download the response right here.

Held only in this page's memory. Never saved to browser storage or added to the URL.

JPG, PNG, or WebP. Up to 20 MB, 16 megapixels, and 8192 px per side.

Running a request uploads the chosen image to RinseBg. Successful processing uses one credit. The sample is a real, billed request too.

Your key is only needed when you make a request.

Response previewimage/png

Your transparent image will appear here.

A small API. A simple integration.

An image in. A cutout out.

Send the raw image bytes with your API key. A successful response is a transparent PNG, ready for your next step.

  1. Request your keyAsk for access. Approved trials start with 20 credits.
  2. Send from your backendAuthenticate with X-API-Key. Use the original file as the request body.
  3. Save the PNG responseOne successful response uses one credit. Check the response status before saving.
See endpoints and limits
curl --request POST 'https://rinsebg.com/api/v1/remove-background' \
  --header "X-API-Key: $RINSEBG_API_KEY" \
  --header 'Content-Type: image/jpeg' \
  --data-binary '@photo.jpg' \
  --fail-with-body --output cutout.png

Start small. Add credits when you need them.

Useful cutouts. Sensible prices.

One credit per successful image. Prices are in USD, paid once, with no automatic renewal.

API access is manually approved. Online payments are not enabled yet. Request a credit pack and we will arrange access; these buttons do not charge you.

Starter

For that first useful integration.

$1one time

100 credits

$0.01 per successful image

  • Transparent PNG output
  • Credits charged on success only
  • No subscription or auto-renewal

Scale

For more images, as you grow.

$29one time

10,000 credits

$0.0029 per successful image

  • Transparent PNG output
  • Credits charged on success only
  • No subscription or auto-renewal

Try it with 20 credits first.Available after manual approval. A trial is not an automatic sign-up.

All packs share the site's processing capacity with the free tool. The API allows up to 10 requests per minute per key; busy requests may need a retry. Credit packs do not include priority or reserved capacity.

The practical details

Know what to send.

The same background-removal engine as the free tool, with authenticated requests and a credit balance.

POST/api/v1/remove-background

Raw JPG, PNG, or WebP bytes. Set Content-Type to the image MIME type and X-API-Key to your key. A successful response is binary image/png.

GET/api/v1/account

Returns your credits, reserved_credits, successful_requests, total_requests, and payments_enabled. Requires your API key.

GET/api/v1/usage

Returns recent requests with id, status, created_at, finished_at, and credits_charged. Requires your API key; it does not replay image results.

GET/api/v1/plans

Public credit-pack prices, trial_credits, and payments_enabled. Access remains manual while payments_enabled is false.

Image and capacity limits

Maximum input: 20 MB, 16 megapixels, and 8192 px on either side. Use a static JPG, PNG, or WebP; animations and SVG are unsupported. The working image is reduced to a longest edge of 2048 px. Processing does not add missing detail.

Up to 10 requests per minute per key. Processing capacity is shared. On 429, follow Retry-After before trying again.

Billing and duplicate requests

A successful PNG response costs one credit. Invalid, failed, or busy requests cost zero. Optional Idempotency-Key accepts up to 100 ASCII characters. Reusing a key returns 409 and does not charge again; the previous PNG is not cached. Save the original response before making another request.

Response status codes
200
Transparent PNG returned; 1 credit charged.
401
Missing or invalid API key.
402
Insufficient available credits.
409
Idempotency key already used; no new charge.
429
Rate or capacity limit; wait for Retry-After.
Images and key security

Inference runs on RinseBg's server. Images and results are buffered for the request, not saved as an image library or sent to third-party inference. Access logs may contain IP addresses, times, and status codes. Download successful responses; results cannot be retrieved later. A private billing ledger stores your account email, API key hash, credit grants and balance, and request IDs, statuses, and times. It stores no image filenames or image bodies.

Store keys as secrets in your backend. The on-page playground sends your key only to this site's API and keeps it in memory for the current page. Never embed a live key in a shipped website or client app.

One less thing to build.

Connect your workflow to RinseBg. Start with a small, manually approved trial.

Let's connect your workflow.

Tell us what you are building. Access and trial credits are approved manually; this form does not take payment.

Your message goes to our support mailbox through the Cloudflare contact service. A form copy is kept for up to 30 days; email replies are retained as needed. Do not include API keys, passwords, or sensitive images.