Updated 2026-12-01
TL;DR
- Direct answer: Bria's RMBG 3.0 API costs $0.018 per image, or $18 per 1,000, and runs as async jobs with webhooks.
Direct answer: Bria's API costs $0.018 per image, or $18 per 1,000, and runs as async jobs with webhooks.
- Free route: rembg is MIT licensed and has a folder mode, rembg p. You pay no software fee, but hardware and time are yours.
Free route: rembg is MIT licensed and has a folder mode, rembg p. You pay no software fee, but hardware and time are yours.
- Throughput: pay-as-you-go allows 60 requests per minute. If status calls share the submit limit, as this guide assumes, polling at one status call per image takes at least 33.3 minutes per 1,000 images, and webhooks take at least 16.7 minutes. These are rate-limit minimums, not measured job times.
Throughput: pay-as-you-go allows 60 requests per minute. If status calls share the submit limit, as this guide assumes, polling at one status call per image takes at least 33.3 minutes per 1,000 images, and webhooks take at least 16.7 minutes. These are rate-limit minimums, not measured job times.
- Cost check: Photoroom's Basic plan lists $0.02 per image, which is $20 per 1,000 (prices checked 2026-12-01).
Cost check: Photoroom's Basic plan lists $0.02 per image, which is $20 per 1,000 (prices checked 2026-12-01).
- Failures: a retried POST creates a new job, and result URLs are temporary. Log every request_id and download results right away.
Failures: a retried POST creates a new job, and result URLs are temporary. Log every request_id and download results right away.
- Pick by volume: rembg for a one-off folder, the Bria API for repeatable jobs with no GPU.
Pick by volume: rembg for a one-off folder, the Bria API for repeatable jobs with no GPU.
How can I delete the background from an image without Photoshop when I have hundreds or thousands of files? You script it, either with a free local tool or with a hosted API that takes one request per image. This guide covers both routes, with costs per 1,000 images, rate limits, webhooks and failure handling.
Bria wrote this guide. Where it mentions a benchmark, that is Bria's own, built from blind votes by professional and casual users plus a VLM side by side, on 234 hard images at full resolution. The shell commands follow the Bria and rembg docs and were not run for this article, so test them on ten files first.
How do I remove backgrounds from hundreds of images without Photoshop?
Run rembg locally for free, or send the files to a hosted API that processes them as async jobs. Both routes skip Photoshop's batch actions entirely. Pick by how often the job repeats and whether you own a GPU.
Should I run rembg locally or call a hosted API for a big batch?
Use rembg when you have one folder and your own hardware, and use a hosted API when the job repeats or you have no GPU. The comparison below sticks to what the sources state.
- License: rembg is MIT licensed.
License: is MIT licensed.
- Hardware: the GPU install, pip install "rembg[gpu,cli]", needs onnxruntime-gpu and CUDA, and may need a cudnn-devel image.
Hardware: the GPU install, pip install "rembg[gpu,cli]", needs onnxruntime-gpu and CUDA, and may need a cudnn-devel image.
- Quality and speed: no rembg benchmark was found, so this guide makes no quality or speed claim for it.
Quality and speed: no rembg benchmark was found, so this guide makes no quality or speed claim for it.
- Hosted API: no hardware, per-image pricing and a rate limit you plan around.
Hosted API: no hardware, per-image pricing and a rate limit you plan around.
For the local route, install the CLI extra, as the rembg README documents. The p command then takes a folder in and a folder out:
How much does it cost to process 1,000 images?
On list prices, Bria's RMBG 3.0 API costs $18.00 per 1,000 images and Photoroom's Basic plan costs $20.00, a $2.00 gap. The first 100 Bria generations are free with no card, and Photoroom lists 10 free production calls.
- Route: rembg, local; Price per image: $0 software fee; Cost per 1,000: $0 plus hardware and time; Cost per 1,000 after free allowance: $0 plus hardware and time
Route: rembg, local; Price per image: $0 software fee; Cost per 1,000: $0 plus hardware and time; Cost per 1,000 after free allowance: $0 plus hardware and time
- Route: Bria Background Removal API; Price per image: $0.018; Cost per 1,000: 1,000 x $0.018 = $18.00; Cost per 1,000 after free allowance: 900 x $0.018 = $16.20
Route: Bria Background Removal API; Price per image: $0.018; Cost per 1,000: 1,000 x $0.018 = $18.00; Cost per 1,000 after free allowance: 900 x $0.018 = $16.20
- Route: Photoroom Remove Background API, Basic; Price per image: $0.02, prepaid in a $20 plan for 1,000 images; Cost per 1,000: 1,000 x $0.02 = $20.00; Cost per 1,000 after free allowance: $20 plan, plus 10 free production calls
Route: Photoroom Remove Background API, Basic; Price per image: $0.02, prepaid in a $20 plan for 1,000 images; Cost per 1,000: 1,000 x $0.02 = $20.00; Cost per 1,000 after free allowance: $20 plan, plus 10 free production calls
Sources: Bria pricing and Photoroom API pricing, checked 2026-12-01. The Bria figure in the last column is arithmetic from the pricing page, and free allowances may change.
How do I run a bulk job with curl and a shell loop?
Submit one POST per image, save each `request_id`, then fetch each result from its `status_url`. The endpoint takes the api_token header and a JSON body with the image and the model.
The image field accepts a base64-encoded string or a publicly accessible URL to a JPEG, PNG or WEBP file, so urls.txt holds one reachable URL per line. For local files, send base64 strings instead of URLs.
Before you run the loop, check three things:
- Input list: one public image URL per line in urls.txt.
Input list: one public image URL per line in urls.txt.
- Token: BRIA_API_TOKEN is set in your shell.
Token: BRIA_API_TOKEN is set in your shell.
- Mode: sync stays false, so each call returns a request_id.
Mode: sync stays false, so each call returns a request_id.
The loop sleeps 2 seconds per image so a polling run stays near 30 images per minute. Keep sync false, as the endpoint docs advise, and see the endpoint reference for every field. Then collect results:
What does the async flow return, and which statuses matter?
The POST returns HTTP 202 with a `request_id` and a `status_url`, and the status call returns one of four values. The Bria async requests docs say you can fan out hundreds of jobs at once.
- `IN_PROGRESS`: keep polling.
`IN_PROGRESS`: keep polling.
- `COMPLETED`: read result.image_url and download the file.
`COMPLETED`: read result.image_url and download the file.
- `ERROR`: read the error object, which holds code, message and details.
`ERROR`: read the error object, which holds code, message and details.
- `UNKNOWN`: stop and contact support.
`UNKNOWN`: stop and contact support.
The status endpoint returns HTTP 200 for every status. A 404 means the request_id is missing or expired, so check the ID before you assume the job failed.
Should I poll or use webhooks for thousands of files?
Use webhooks for thousands of files, because polling adds a status call per image and the docs count status calls toward the rate limit. The Python guide already works through the per-request math, so this section covers only the webhook setup.
- Delivery headers: Bria-Webhook-Id is your dedupe key, with Bria-Webhook-Timestamp and Bria-Webhook-Signature alongside. The signature is v1= followed by an HMAC-SHA256 value.
Delivery headers: Bria-Webhook-Id is your dedupe key, with Bria-Webhook-Timestamp and Bria-Webhook-Signature alongside. The signature is v1= followed by an HMAC-SHA256 value.
- Your endpoint: return a 2xx within 10 seconds.
Your endpoint: return a 2xx within 10 seconds.
- Retries: Bria retries up to 5 attempts over 45 minutes, so the same event can arrive twice.
Retries: Bria retries up to 5 attempts over 45 minutes, so the same event can arrive twice.
- Polling, if you must: every 1 to 2 seconds for image endpoints, with a timeout near a minute, and no tight loops.
Polling, if you must: every 1 to 2 seconds for image endpoints, with a timeout near a minute, and no tight loops.
How fast can I go under the rate limits?
Pay-as-you-go allows 60 requests per minute, so 1,000 images take at least 16.7 minutes with webhooks, and if status calls share the submit limit, as this guide assumes, polling takes at least 33.3 minutes. Limits apply per organization and per endpoint: Free allows 10, Pay-as-you-go 60, and Enterprise 1,000 with customization.
- Plan: Pay-as-you-go; Requests per minute: 60; Polling, images per minute: 30; Polling, minutes per 1,000: 33.3; Webhook, images per minute: 60; Webhook, minutes per 1,000: 16.7
Plan: Pay-as-you-go; Requests per minute: 60; Polling, images per minute: 30; Polling, minutes per 1,000: 33.3; Webhook, images per minute: 60; Webhook, minutes per 1,000: 16.7
Sources: the Bria rate limits docs and Bria pricing, checked 2026-12-01. Minutes are 1,000 divided by images per minute. The polling columns assume one status call per image and that status calls count toward the same limit, as the docs state. The minutes are minimums from the request limit alone, not measured job times. Real polling usually takes more than one status call per image, and Photoroom's rate limits were not checked.
Over the limit, the API returns 429. The docs advise three habits:
- Backoff: retry with exponential backoff and jitter.
Backoff: retry with exponential backoff and jitter.
- Header: honor Retry-After.
Header: honor Retry-After.
- Concurrency: cap your own concurrency.
Concurrency: cap your own concurrency.
How do I handle failures and reruns?
Treat every submission as non-idempotent: log each `request_id` before you move on, and retry a POST only after a network error or a 5xx. A retried POST creates a new job. Never resubmit while a job is IN_PROGRESS.
- Download at once: result URLs are temporary, so save each file as soon as the status is COMPLETED.
Download at once: result URLs are temporary, so save each file as soon as the status is COMPLETED.
- Resume log: keep jobs.jsonl and a list of finished filenames, and rerun only the gap.
Resume log: keep jobs.jsonl and a list of finished filenames, and rerun only the gap.
- Input errors: 415 means an unsupported type, since the endpoint accepts JPEG, PNG and WEBP. A 406 means a pixel limit, and 413 means the file is too large. A 422 means unprocessable.
Input errors: 415 means an unsupported type, since the endpoint accepts JPEG, PNG and WEBP. A 406 means a pixel limit, and 413 means the file is too large. A 422 means unprocessable.
- Server errors: a reasonable policy, not a Bria rule, is to retry 5xx with backoff, at most twice per file.
Server errors: a reasonable policy, not a Bria rule, is to retry 5xx with backoff, at most twice per file.
- Output: results keep the alpha channel, so save them as PNG.
Output: results keep the alpha channel, so save them as PNG.
Which RMBG model should I use for bulk, 2.0 or 3.0?
Pass `"model": "RMBG3"` for RMBG 3.0, since the endpoint defaults to [RMBG 2.0](https://huggingface.co/briaai/RMBG-2.0). Bria's docs describe RMBG 2.0 as under a second per image, and they suggest keeping RMBG 2.0 for interactive or high-volume work.
RMBG 3.0 is the quality pick for hard images. In Bria's benchmark, RMBG 3.0 averaged rank 1.51 over 234 hard images and placed first of 6 models. The RMBG 3.0 weights on Hugging Face carry a CC BY-NC 4.0 license, and commercial use goes through an agreement with Bria.
Which route should you choose?
Choose the Bria API with RMBG 3.0 for repeatable bulk jobs, and keep rembg for one-off folders. Bria's pricing page has the current price.
- Choose rembg if you have a folder to clear once, and you own a GPU or can wait.
Choose rembg if you have a folder to clear once, and you own a GPU or can wait.
- Choose the Bria API with webhooks if you run thousands of images, want $18 per 1,000 and need no GPU.
Choose the Bria API with webhooks if you run thousands of images, want $18 per 1,000 and need no GPU.
- Choose the Bria API with RMBG 2.0 if per-image speed matters most.
Choose the Bria API with RMBG 2.0 if per-image speed matters most.
- Choose Photoroom if you already use it, and check its limits first, since they were not stated in the sources used here.
Choose Photoroom if you already use it, and check its limits first, since they were not stated in the sources used here.










