Background Remover API

POST

Cut the subject out of a photo and get a transparent PNG back.

Background Remover is an image background removal API. Upload a photo or send its URL and it returns a PNG with the background made transparent, or replaced with a solid color you choose.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/backgroundremover
image
Click or drag a file to upload.jpg, .jpeg, .png, .gif, .webp, .bmp · max 400KB for live testing
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "id": "3f6c2a91-7d4e-4b8a-9c21-5e0d8b7a6f13",
    "width": 700,
    "height": 577,
    "background": "transparent",
    "foregroundRatio": 0.3778,
    "outputSize": 806519,
    "mimeType": "image/png",
    "expires": 1761000000000,
    "downloadURL": "https://storage.googleapis.com/apiverve/backgroundremover/3f6c2a91-7d4e-4b8a-9c21-5e0d8b7a6f13.png"
  },
  "code": 200
}

About the Background Remover API

Background Remover runs the U2-Net salient object segmentation model on our own infrastructure, so your images are never sent to a third-party AI provider. It works best on photos with one clear subject, such as products, people, pets and vehicles, and returns a download URL for the finished PNG.

What people use it for

Marketplace Product Listings
Sellers upload phone photos of items and the listing tool swaps the cluttered background for plain white before the product page goes live.
Profile Photo Cleanup
Team directories cut employees out of casual snapshots and place them on a consistent brand color so every profile card matches.
Sticker and Design Tools
Design apps let users drop a photo onto a canvas and get the subject back as a transparent PNG they can layer, resize and recolor.
Catalog Image Pipelines
Retail catalog jobs batch-process supplier photos into transparent cutouts so merchandisers can composite them onto seasonal banners.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Questions.

Common questions about the Background Remover API.

Read the docs →
Can I get a solid background color instead of transparency?
Yes. Pass bgColor as a hex color such as #ffffff and the subject is placed on that color. Leave it out and the background is fully transparent.
Can I send an image by URL instead of uploading it?
Yes. Upload a JPG, PNG, GIF, WebP or BMP file up to 10 MB, or send a public image URL. Either way the result is a PNG at the original resolution.
What kinds of photos work best?
Photos with one clear subject, such as a product, a person, a pet or a car. Busy scenes with several overlapping objects, fine hair, and glass or other see-through materials can come out with soft or missing edges.
How long is the output file available?
The download URL stays valid for two days and the response includes the exact expiry timestamp. Copy the PNG to your own storage before then.
Are my images sent to an outside AI service?
No. The segmentation model runs on APIVerve infrastructure. Your image is not passed to a third-party AI provider.

Ready to build with Background Remover? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs