remove.bg crop and roi parameters: what Sume RMBG does instead
remove.bg has crop, roi, crop_margin, scale and position. Sume RMBG takes an image_url only and rejects other fields, so cropping happens before or after.

Sume's RMBG request has no crop or region-of-interest field. It takes a public HTTPS image_url and returns a PNG with alpha. If you used crop, roi or crop_margin on remove.bg, do that work on the image before you send it or on the PNG after it comes back.
remove.bg's changelog lists crop and roi (2019-06-03) and crop_margin, scale and position (2019-06-26). Sume's side is from the API reference, read 2026-10-01.
What do the remove.bg parameters do?
Per the changelog, crop crops off empty regions and roi specifies a region of interest. crop_margin, scale and position came a few weeks later. Together they decide where the subject sits in the output.
What does Sume accept?
The request schema is marked "additionalProperties": false, so an unlisted field such as crop is not part of the contract. The fields it does list are image_url, sync_mode, metadata and delivery fields such as mode. Completed results are PNG artifacts with alpha.
| remove.bg control | On Sume |
|---|---|
crop / crop_margin | Trim the transparent PNG in your own code |
roi | Crop the source before sending image_url |
scale / position | Place the cutout when you composite |
Is there a Sume way to resize?
Upscale is its own route, /v1/image-upscale-1.0/upscale, with an upscale_factor described as "Upscale factor (default 2)" and a maximum of 4. It enlarges; it does not crop. The order of cutout and upscale matters, and remove background and upscale: which first covers it.
What should I do about a tight crop?
Find the bounding box of the non-transparent pixels in the returned PNG and crop to it plus the margin you want. That is a few lines in any image library and keeps the margin under your control.
Sources
Related posts
More in Developers
- remove.bg PNG over 10 MP unsupported: Sume RMBG limits
remove.bg does not support PNG above 10 megapixels; use WebP or ZIP up to 50 MP. Sume RMBG returns PNG with alpha and caps compressed input at 20 MiB.
- remove.bg type parameter (car, product, person) vs Sume RMBG
remove.bg's API has a type parameter and an X-Type header. Sume RMBG 1.0 has no foreground-type hint: send an image_url and Sume selects the model.
- gen3a_turbo no longer available on Runway: re-read Sume's model list
Runway now fails requests for gen3a_turbo and gen4_aleph. Avoid the same break on Sume: read /v1/videos/models instead of hard-coding ids.
- Runway per-generation usage export vs the Sume GET /v1/usage ledger
Runway's enterprise usage export lists credits per generation. On Sume, GET /v1/usage returns USD ledger rows per workspace, filterable by job_id.
Written by Sume