freeapis

Remove.bg

Image Background removal

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
Photography
Data source
public-apis + marcelscruz
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 "[email protected]" \
  -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
APITemplate.io

Dynamically generate images and PDFs from templates with a simple API

API KeyYesUnknown↗
Bruzu

Image generation with query string

API KeyYesYes↗
Change Image Background API

This API helps you change the background of any image

API KeyYesUnknown↗
CheetahO

Photo optimization and resize

API KeyYesUnknown↗
Convert Images to PDF API

Convert any image to a PDF without losing quality with one API call

API KeyYesUnknown↗