Background Removal API
Remove the background of any image
- Homepage
- https://api.apis.guru/v2/specs/remove.bg/1.0.0.json
- Provider
- remove.bg
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/remove.bg/1.0.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/remove.bg/1.0.0/openapi.yaml
Tools (5)
Extracted live via the executor SDK.
-
backgroundRemoval.postRemovebgRemoves 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
- Image Content: Any photo with a foreground
- Output resolutions available: Preview (up to 0.25 megapixels), Full (up to 25 megapixels)
Requires either an API Key to be provided in the
X-API-Keyrequest header or an OAuth 2.0 access token to be provided in theAuthorizationrequest header. -
fetchAccountInfo.getAccountGet 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 balance, you should therefore only call this endpoint initially (or e.g. when the user manually triggers a refresh), then use the
X-Credits-Chargedresponse header returned with each image processing response to adjust the local balance. -
The "sizes" field is always "all", is deprecated and will soon be removed.
-
-
improvementProgram.postImproveSubmit 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 us make remove.bg better
- Get better results for similiar images in the future
Notes:
- By submitting images through the API you agree to the
- File size: up to 12MB
- up to 100 files per day.
Higher Rate Limits are available for Enterprise customers .
Requires either an API Key to be provided in the
X-API-Keyrequest header or an OAuth 2.0 access token to be provided in theAuthorizationrequest header.Please note that submissions are used on a best-effort basis and the extent of expected improvement varies depending on many factors, including the number of provided images, their complexity and visual similarity. Improvements usually take several weeks to become effective.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools