Background removal API comparison: formats and limits (2027)

Bria.ai

Background removal API comparison: formats and limits (2027)

Updated 2026-12-01

Disclosure: Bria wrote this comparison, and the benchmark it cites is Bria's. In that benchmark, blind votes from professional and casual users plus a VLM side-by-side judged 234 hard images at full resolution. Every API fact below comes from the vendor's own documentation, read on 2026-12-02. This page compares request mechanics only, not price.

TL;DR

  • Answer: Five background removal APIs differ most in input method, size caps and sync or async mode. The Bria API takes a public URL or base64, runs async by default and returns an image with transparency.

  • Quality: RMBG 3.0 ranked first of 6 models in Bria's benchmark, and it runs behind the same endpoint through one parameter.

  • Size caps: Photoroom lists 50MB and 6,000 pixels on the widest side, Clipdrop 30 Mb and 25 megapixels, and Pixelcut 50 MiB and 10000 by 10000 pixels.

  • Sync or async: Leonardo.Ai documents both a sync endpoint with a timeout of about 27 seconds and an async endpoint with webhooks. Bria is async by default.

  • Gap: Bria's pages do not state a maximum file size or resolution, so test your largest files first.

If you are choosing a background removal API on mechanics, read the input, size and mode sections before you write code. This comparison covers Bria, Photoroom, Clipdrop, Pixelcut and Leonardo.Ai, the service that the remove.bg API page redirected to on 2026-12-02.

How do the five background removal APIs compare at a glance?

The five APIs share one job and differ in how you send the image, how large it can be and whether the call waits for the result.

  • #: 1; API: Bria; Endpoint: POST /v2/image/edit/remove_background; Input method: JSON with public URL or base64; Mode: Async by default, sync optional

  • #: 2; API: Photoroom; Endpoint: POST sdk.photoroom.com/v1/segment; Input method: Multipart file field image_file; Mode: Not stated on pages read

  • #: 3; API: Clipdrop; Endpoint: POST clipdrop-api.co/remove-background/v1; Input method: Multipart file field image_file; Mode: Single request returns the image

  • #: 4; API: Pixelcut; Endpoint: POST api.developer.pixelcut.ai/v1/remove-background; Input method: JSON with image_url, multipart also listed; Mode: Single request returns a result_url

  • #: 5; API: Leonardo.Ai; Endpoint: POST cloud.leonardo.ai/api/rest/v2/generationssync or /generations; Input method: JSON referencing an uploaded image id; Mode: Sync and async

Source: each vendor's API documentation, read 2026-12-02. "Not stated on pages read" means the pages fetched for this comparison did not describe it.

In Bria's benchmark, RMBG 3.0 ranked first of 6 models with an average rank of 1.51 across 234 hard images, and Photoroom ranked second (full benchmark). Clipdrop, Pixelcut and Leonardo.Ai were not tested, so no quality result is implied for them.

How do you send an image to each API?

Bria and Pixelcut accept an image URL in a JSON body, Photoroom and Clipdrop take a multipart upload, and Leonardo.Ai works from an image id.

  • Bria: The image field is a base64 string or a publicly accessible URL that is available at processing time.

  • Photoroom: The Remove Background API docs show the file sent as the multipart field image_file with an x-api-key header.

  • Clipdrop: The Clipdrop API docs say the request body must be multipart/form-data with one required image_file.

  • Pixelcut: The Pixelcut API reference lists image_url as required for the JSON body, and describes upload and base64 inputs in its size limits.

  • Leonardo.Ai: The Leonardo.Ai remove-bg docs reference an uploaded image by id and type: UPLOADED, so you upload first and then call the model.

Which image formats does each API accept and return?

Photoroom, Pixelcut and Bria accept JPEG, PNG and WEBP, and every API in this comparison can return a PNG with transparency.

  • API: Bria; Accepted input: JPEG, JPG, PNG, WEBP in RGB, RGBA or CMYK; Output formats: Image with varying transparency (PNG on fal.ai)

  • API: Photoroom; Accepted input: PNG, JPEG, WEBP, HEIC; Output formats: PNG (default), JPEG, WEBP

  • API: Clipdrop; Accepted input: PNG, JPG, WEBP; Output formats: PNG (default), WEBP, JPEG via Accept header

  • API: Pixelcut; Accepted input: JPEG, PNG, WebP, HEIC, HEIF, AVIF; Output formats: PNG

  • API: Leonardo.Ai; Accepted input: Not stated on page read; Output formats: png, jpg, webp

Source: vendor docs, read 2026-12-02, except Bria's PNG output on fal.ai, read 2026-11-29. JPEG output drops transparency on Photoroom and Leonardo.Ai, per their docs.

Bria returns an error code 415 when the file is a different type or color mode. Pixelcut's reference says the result file is deleted after at most 24 hours, so download it promptly.

What size and resolution limits apply?

Pixelcut documents the highest resolution cap at 10000 by 10000 pixels, and the Bria pages read here state no file size or resolution limit.

  • API: Bria; Max file size: not found; Resolution limit: not found

  • API: Photoroom; Max file size: 50MB; Resolution limit: 6,000 pixels on the widest side, 25 megapixels recommended

  • API: Clipdrop; Max file size: 30 Mb; Resolution limit: 25 megapixels

  • API: Pixelcut; Max file size: 50 MiB; Resolution limit: 64x64 to 10000x10000 pixels

  • API: Leonardo.Ai; Max file size: not found; Resolution limit: PNG output capped at 10 megapixels

Source: vendor docs, read 2026-12-02. Where a cell says "not found", the pages read did not state a figure, which is a gap in the documentation and not a statement about the service.

For files near any of these caps, send a test image before you build a queue around the API. Photoroom adds that large images make calls take longer and suggests a longer client timeout.

Which background removal APIs are synchronous?

Leonardo.Ai documents both modes, Bria defaults to async, and Clipdrop and Pixelcut show a single request that returns the result.

  • Bria: With sync: false, the default, the API returns a status URL at once and you poll or pass webhook_url. With sync: true, it holds the connection open until the image is ready. Bria's docs advise the default async mode for RMBG 3.0.

  • Leonardo.Ai: The sync endpoint may take up to about 27 seconds before the service times out. The async endpoint returns a generation id and can call a webhook.

  • Clipdrop: One POST returns the image, with the same dimensions as the input.

  • Pixelcut: One POST returns a JSON body with a result_url. The page describes no polling or webhook.

  • Photoroom: The pages read describe a single POST with the result saved by the client. They state no polling or webhook.

How does authentication differ?

Four of the five use a key in a custom header, and Leonardo.Ai uses a Bearer token.

  • API: Bria; How you authenticate: api_token header

  • API: Photoroom; How you authenticate: x-api-key header

  • API: Clipdrop; How you authenticate: x-api-key header

  • API: Pixelcut; How you authenticate: X-API-KEY header

  • API: Leonardo.Ai; How you authenticate: authorization: Bearer header

Source: vendor docs, read 2026-12-02. Keep every key in an environment variable on your server and never in client code.

What extra options does each API document?

Each vendor adds options beyond the cutout itself, and the options differ more than the core call.

  • Bria: preserve_alpha keeps partly transparent pixels from an input that has an alpha channel. Input and output content moderation are optional. A prompt narrows what the cutout keeps, but RMBG 3.0 cannot be combined with it.

  • Photoroom: Its remove.bg compatibility page states built-in compatibility with the API of Remove.bg, with only the URL and key changed.

  • Clipdrop: transparency_handling can return the input unchanged when it already has transparency, or discard the alpha layer first.

  • Pixelcut: Optional shadow, crop and margin settings. AI shadows use 3 more credits.

  • Leonardo.Ai: Options include a background color, a crop margin and a size setting.

Which background removal API should you choose?

Choose the Bria API when you want RMBG 3.0 quality, a commercial license and URL based input, and pick another vendor when its limits or options fit your files better.

  • Choose Bria if you want the top rank in Bria's benchmark and the option to switch between RMBG 3.0 and RMBG 2.0 with one parameter. See the RMBG 3.0 vs RMBG 2.0 guide for that choice, and the Python SDK docs for client code.

  • Choose Photoroom if you already call the remove.bg API and want the compatible endpoint, or need HEIC input.

  • Choose Clipdrop if you want a single multipart request and a choice of output format in the Accept header.

  • Choose Pixelcut if your images are very large, up to 10000 by 10000 pixels, or arrive as AVIF or HEIF.

  • Choose Leonardo.Ai if you migrate from the remove.bg API and want both a sync and an async endpoint.

Related posts

FAQs

Bria's Remove Background endpoint takes the image as a base64 string or as a publicly accessible URL, and Pixelcut's reference lists image_url as the required field in its JSON body. Photoroom and Clipdrop document multipart file uploads in the pages read. Leonardo.Ai works from an uploaded image id, so you upload the file first and then call the model. Check each vendor's page for the latest request fields before you code.

Photoroom lists a 50MB file and 6,000 pixels on the widest side, Clipdrop 30 Mb and 25 megapixels, and Pixelcut 50 MiB with 10000 by 10000 pixels as the top resolution. Leonardo.Ai caps PNG output at 10 megapixels. The Bria pages read here state no file size or resolution limit, so test your largest files first. Photoroom also recommends limiting images to 25 megapixels.

Yes. Photoroom, Clipdrop and Leonardo.Ai return PNG by default or on request, Pixelcut returns a PNG at a result_url, and Bria returns an image with varying levels of transparency, a PNG on fal.ai. JPEG output does not keep transparency on Photoroom or Leonardo.Ai, so ask for PNG or WEBP when you need it. Pixelcut's reference says its result file is deleted after at most 24 hours, so download it promptly.

It varies. Bria defaults to async with a status URL or webhook, and offers sync by setting sync to true. Leonardo.Ai documents both a sync endpoint with a timeout of about 27 seconds and an async endpoint with webhooks. Clipdrop and Pixelcut show a single request that returns the result, and Photoroom's pages read describe no polling. Pick the mode that matches how long your users can wait.

Follow us on social media

discord
Social media logo
Social media card
Social media logo
Social media card
Social media logo