Remove backgrounds from 500 product photos: RMBG API cost and code
Sume RMBG 1.0 removes a background for $0.0225 per image regardless of size. Batch cost for 50 to 5,000 photos, the request body and a Python loop.

Sume RMBG 1.0 charges $0.0225 per image and the price does not vary with image size, so 500 product photos cost $11.25. Call POST /v1/rmbg-1.0/remove with an image_url and poll the job (MCP tools list names the same tool as rmbg_create).
Batch cost
| Photos | Cost |
|---|---|
| 50 | $1.125 |
| 500 | $11.25 |
| 1,200 | $27.00 |
| 5,000 | $112.50 |
Python loop
The body is strict: image_url, optional sync_mode, metadata, and the usual webhook fields. Sending model is refused because the provider is chosen server-side.
import os, requests
API = "https://api.sume.com"
h = {"Authorization": "Bearer " + os.environ["SUME_API_KEY"]}
urls = ["https://example.com/shoe-01.jpg", "https://example.com/shoe-02.jpg"]
jobs = []
for i, u in enumerate(urls):
r = requests.post(API + "/v1/rmbg-1.0/remove",
headers={**h, "Idempotency-Key": "rmbg-" + str(i)},
json={"image_url": u, "metadata": {"sku": i}})
jobs.append(r.json()["request_id"])
print(jobs) # poll GET /v1/jobs/<id>/result for eachWhere the price comes from
The provider list is $0.018 per image; Sume bills list x 1.25, which is $0.0225. The same flat rate applies at any size, so a 4,000-pixel hero shot costs what a thumbnail does.
Budget habits
Sume reserves the price at submit. If the balance cannot cover the hold, the call returns 402 insufficient_credits before any work starts (Generation admission). A deterministic Idempotency-Key per photo means a retry after a timeout does not pay twice.
Sources
Related posts
More in Media tools
- Restyle captions four ways for 80 cents without transcribing twice
Each Sume caption render is $0.20, so four styles of one clip cost $0.80. A restyle with source_caption_id reuses the word timings and skips re-transcribing.
- Restyle captions three times with source_caption_id: $0.60 total
To test three caption looks on one video, send source_caption_id: no second transcription, but each restyle is a render at the same job price.
- RMBG costs the same for a 24 MP photo and a 0.5 MP thumbnail
Sume remove-background is $0.0225 per image regardless of size, so resizing before a cutout saves upload time, not money. 600-image arithmetic inside.
- script_alignment_mismatch: fixing a caption job with script_text
When script_text does not match the speech, a Sume caption job fails with script_alignment_mismatch or script_alignment_failed. Simplify the script or omit it.
Written by Sume