Test a background removal API on 30 product photos (2027)

Bria.ai

Test a background removal API on 30 product photos (2027)

Updated 2026-12-01

TL;DR

  • Answer: Test a background removal API for e-commerce on 30 of your own product photos: 6 product types, 5 shots each, scored on 6 checks.

  • Method: Rank each tool per image with ties allowed, then average the ranks, where a lower average is better. Bria's benchmark ranks each image 1 to 6 with ties allowed and reports an average rank.

  • Why 30: Bria's e-commerce result rests on 48 shots, so 30 of yours tells you more about your catalog than any published number.

  • Evidence: the full RMBG 3.0 benchmark result is in the accuracy ranking for product photos.

  • Code: The Python loop below follows Bria's docs but was not run for this page, so treat it as untested.

The most accurate background removal API for your product photos is the one that wins on your own images, and Bria RMBG 3.0 is the one to beat: it averaged rank 1.15 on 48 e-commerce product shots in Bria's benchmark, against 1.83 for Photoroom. Test 30 of your own shots, 6 product types and 5 each, and score every tool the same way.

Published numbers answer the question for someone else's images. This checklist builds the answer for yours in an afternoon, with a fixed sample, a score sheet and a rule for ties.

Disclosure: Bria wrote this page, and the benchmark it cites is Bria's. It used 234 hard images at full resolution, with the 48 product shots reported as a separate e-commerce result, and combined blind votes from professional and casual users with a vision language model side-by-side. Specs were checked on 2026-12-02.

How many product photos should you test?

Use 30 photos: 6 product types with 5 shots each. That is enough to see a pattern in each type without a week of review.

  • Pick real photos from your catalog, not studio samples you prepared for the test.

  • Include your worst 5 shots, the ones your team already fixes by hand.

  • Keep the files at the size you upload today, so size limits show up.

  • Name files by type, for example shoes-01 to shoes-05.

Bria's benchmark reports a result on 48 e-commerce product shots, besides its 234 hard images, according to the RMBG 3.0 model card. Your sample is smaller, so read it as a screen, not a proof.

Which 6 product types should the sample cover?

Cover the six types that stress a cutout differently: solid goods, shiny goods, openwork goods, soft goods, clear goods and goods on a surface.

  • Type: Solid; Example products: Shoes, boxes, bags; Shots: 5; What it tests: Clean edges, no eaten corners

  • Type: Shiny; Example products: Watches, cookware, jewelry; Shots: 5; What it tests: Reflections kept as part of the product

  • Type: Openwork; Example products: Mesh bags, racks, grills; Shots: 5; What it tests: Gaps cleared inside the shape

  • Type: Soft; Example products: Knitwear, fur trim, plush; Shots: 5; What it tests: Fine fibers at the edge

  • Type: Clear; Example products: Bottles, glassware; Shots: 5; What it tests: Whether the outline is kept

  • Type: On a surface; Example products: Furniture, appliances; Shots: 5; What it tests: Cast shadow left out of the cutout

Source: the types loosely follow the hard-image categories on the model card. If a type is missing from your catalog, replace it with your next largest type.

How do you run the same 30 photos through each API?

Send every photo to every API with default settings and save one output per image. Bria's benchmark ran each system at default settings with one output per image, so this keeps your test comparable.

# Untested sketch based on docs.bria.ai/whats-new/rmbg-3. Not run for this page.
import base64, pathlib, time, urllib.request
from bria_client import BriaSyncClient

client = BriaSyncClient()  # reads BRIA_API_TOKEN
pathlib.Path("cutouts").mkdir(exist_ok=True)
for path in sorted(pathlib.Path("shots").glob("*.jpg")):
    image = base64.b64encode(path.read_bytes()).decode()
    job = client.submit(
        endpoint="image/edit/remove_background",
        payload={"image": image, "model": "RMBG3"},
    )
    result = client.poll(job, interval=5, timeout=120)
    # result URLs are temporary, so download each one now
    urllib.request.urlretrieve(result.result.image_url, f"cutouts/{path.stem}.png")
    time.sleep(5)  # submits and polls both count toward the rate limit, so pace the loop
  • The image field takes a public URL or a base64 string, and the model field takes "RMBG2" or "RMBG3".

  • The calls are asynchronous by default: the loop submits, then polls a status URL, per the async requests docs.

  • Status polls count toward the rate limit, which is 10 requests per minute on the free plan and 60 on pay as you go, per Bria's rate limits page. Each image costs one submit plus several polls, so lengthen the interval on the free plan or use webhooks.

  • Use the same loop idea for each other API, with its own client and key.

The Bria docs for RMBG 3.0 list the request fields. The Bria pricing page lists 100 free generations, which covers 30 photos.

What should you check on each cutout?

Score six checks per image, each pass or fail. Pass or fail keeps reviewers consistent.

  • Edge: no missing corners and no leftover background strip.

  • Text and logos: labels and badges are readable at full size.

  • Holes: gaps inside the product are clear.

  • Shadow: a cast shadow is not part of the mask.

  • Halo: no light fringe when you place the cutout on a dark background.

  • Whole product: nothing is cropped or detached.

View each output at 100 percent zoom on white and on a dark color. A halo that hides on white shows on dark.

How do you rank the tools from the scores?

Rank the tools on each image, give ties the same rank, then average the ranks per tool. Lower is better. Bria's benchmark ranks each image 1 to 6 with ties allowed and reports an average rank.

  • Image: shoes-01; Tool A: 1; Tool B: 2; Tool C: 2

  • Image: watch-03; Tool A: 1; Tool B: 1; Tool C: 3

  • Image: rack-02; Tool A: 2; Tool B: 1; Tool C: 3

  • Image: Average; Tool A: 1.33; Tool B: 1.33; Tool C: 2.67

Source: worked example with invented ranks for illustration only, not a result for any real tool. A tool that returns no output on an image takes the last rank, which is how the benchmark treated failures.

  • Compute the average for all 30 images, then for each product type.

  • A tool that wins overall can still lose one type, so read the per-type rows.

  • Count the images each tool fails outright, since a broken output costs a manual fix.

Which file limits can break the test?

Check your largest photo against each API's stated limits. Clipdrop lists 25 megapixels and 30 MB, with PNG, JPG and WEBP input, per its remove background docs.

  • Shopify accepts images up to 5000 x 5000 pixels or 25 megapixels and under 20 MB, per its product media help page.

  • A cutout saved as PNG keeps transparency, and Shopify names PNG the best choice for most product images.

  • Record any rejected file as a failure for that API.

What did Bria's benchmark find on product shots?

Bria's benchmark reports a separate result on 48 online-store product shots, and the numbers are in the [accuracy ranking for product photos](https://bria.ai/blog/accurate-background-removal-api-product-photos).

Pixelcut and Clipdrop were not benchmarked. Use your 30 photos to rank them against the others, and see the developer benchmark summary for the full 234-image set.

What should you do with the result?

Choose the tool with the lowest average rank and the fewest failures, then rerun with 30 new photos before a full migration.

  • Choose Bria RMBG 3.0 if it wins your overall average and your shiny, openwork and surface rows.

  • Keep a second tool for any type where your scores show a clear loss.

  • Keep a human check for clear glass, where Bria lists a known gap it is working on.

  • Rerun the test when a vendor ships a new model.

Related posts

FAQs

Use 30 photos: 6 product types with 5 shots each. That is enough to see a pattern per type without days of review. Pick real catalog photos, include your 5 worst shots, and keep files at the size you upload today. Bria's benchmark reports 48 product shots, so treat 30 of yours as a screen and rerun with new photos before any full migration of the catalog.

Cover six types that stress a cutout differently: solid goods such as shoes and boxes, shiny goods such as watches, openwork goods such as mesh bags, soft goods such as knitwear, clear goods such as bottles, and goods on a surface such as furniture. If a type is missing from your catalog, replace it with your next largest type so the sample stays at 30.

Score six pass or fail checks per image: edges with no missing corners, readable text and logos, clear holes inside the product, a cast shadow left out of the mask, no light halo on a dark background, and a whole product that is not cropped or detached from its parts. Review each output at 100 percent zoom on white and on a dark color, because a halo hides on white.

Rank the tools on each image of the sample, give ties the same rank, then average the ranks per tool, with lower being better. A tool that returns no output takes the last rank, as in Bria's benchmark. Compute the average for all 30 images and for each product type, and count outright failures, since a broken output means a manual fix.

Follow us on social media

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