remove.bg

Background Removal API

Remove the background of any image

Developer tools#openapi#developer-tools

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Remove the background of any image

Endpoints 3

Fetch account info

  • GETFetch credit balance and free API calls./accountGet the current credit balance and number of free API calls. Notes: * Balance changes may be delayed by several seconds. To locally keep track of your credit…

Improvement Program

  • POSTPOST /improve/improveSubmit an image to the remove.bg Improvement program * Contribute an image that remove.bg is currently not able to remove the background from properly * Help…

Background Removal

  • POSTRemove the background of an image/removebgRemoves the background of a JPG/PNG image. * File size: up to 12 MB * Image source: File upload (binary or as base64 encoded string) or download from URL *…

API details

Base URL
https://api.remove.bg/v1.0
Authentication
An API key in the X-API-Key header
Operations
3 operations on 3 pathsPOST 2GET 1
Main resources
Background Removal 1Fetch account info 1Improvement Program 1
Response formats
*/* application/json image/*
Description format
OpenAPI 3.0.0, API version 1.0.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Background Removal API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Background Removal API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the X-API-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Fetch credit balance and free API calls.” (GET /account), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Background Removal API?

Remove the background of any image It is listed under Developer tools and has 3 endpoints.

Who publishes the Background Removal API?

It is listed from remove.bg's public API description (an OpenAPI document), not published by remove.bg on Swastik Codes. Anyone who controls remove.bg can claim the profile by adding a DNS TXT record.

What is the base URL of the Background Removal API?

Requests go to https://api.remove.bg/v1.0. Endpoint paths are added to this base URL.

How do I authenticate with the Background Removal API?

With an API key in the X-API-Key header.

How many endpoints does the Background Removal API have?

3 operations on 3 paths (2 POST, 1 GET). The largest groups are Background Removal, Fetch account info, Improvement Program.

Is forking the Background Removal API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.