freeapis

Remove.bg

Image Background removal

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
Photography
Documentation / URL
https://www.remove.bg/api

Overview

Remove.bg removes backgrounds from images using AI — a single POST with an image returns a transparent-background PNG. Requires a free API key (verified: GET returns 404, POST with an invalid key returns 403 “API Key invalid”).

Quick Start

Remove background from an image URL (replace YOUR_KEY):

curl -X POST "https://api.remove.bg/v1.0/removebg" \
  -H "X-Api-Key: YOUR_KEY" \
  -d "image_url=https://example.com/photo.jpg&size=auto" \
  -o output.png

From a local file:

curl -X POST "https://api.remove.bg/v1.0/removebg" \
  -H "X-Api-Key: YOUR_KEY" \
  -F "image_file=@photo.jpg" \
  -o output.png

Authentication

  • Register at remove.bg → free API key (in your dashboard).
  • Send it as the X-Api-Key header (invalid key → 403 “API Key invalid”, verified).
  • The endpoint is POST-only (a GET returns 404, verified).

Rate Limits & Notes

  • Free tier: 50 credits/month (1 credit = 1 image) — small; paid plans scale.
  • size=auto picks the best resolution; size=regular|medium|hd|full also available.
  • Returns the processed PNG binary directly (use -o file.png).
  • Supports image_url, image_file (multipart), and image_base64 inputs.

FAQ

Is Remove.bg free? Free tier: 50 credits/month; more is paid.

Why does a GET return 404? The endpoint is POST-only — GET is not implemented (verified).

What do I get back? A transparent-background PNG of the subject.

More in Photography

APIAuthHTTPSCORS
Bruzu

Image generation with query string

API KeyYesYes
CheetahO

Photo optimization and resize

API KeyYesUnknown
Dagpi

Image manipulation and processing

API KeyYesUnknown
Duply

Generate, Edit, Scale and Manage Images and Videos Smarter & Faster

API KeyYesYes
DynaPictures

Generate Hundreds of Personalized Images in Minutes

API KeyYesYes