Edges that survive a zoom-in
Edge-aware matting keeps hair, fur, fabric fringe and see-through glass soft and natural, with no halo or color fringe from the old background.
Clean cutouts with hair-level edges, served from one API call. It speaks the remove.bg API, so you can move over by changing one URL, and it costs up to 97% less.
Built for teams that ship a lot of images
remove.bg's self-serve API stopped taking requests on December 1, 2026. Its replacement means a new API format, a new key and $0.10+ per image. BG ByeBye uses the same endpoint, header and parameters, and returns errors in the same shape.
POST /v1.0/removebg endpoint and X-Api-Key headerimage_file, image_url, image_file_b64, size, format, bg_color, cropX-Credits-Charged headers and {"errors": [...]} responsescurl -H "X-Api-Key: $API_KEY" \ -F image_file=@product.jpg \ -F size=auto \ https://api.remove.bg/v1.0/removebg \ https://api.bgbyebye.com/v1.0/removebg \ -o product-cutout.png
const form = new FormData(); form.append("image_file", await openAsBlob("product.jpg")); form.append("size", "auto"); const res = await fetch( "https://api.remove.bg/v1.0/removebg", "https://api.bgbyebye.com/v1.0/removebg", { method: "POST", headers: { "X-Api-Key": API_KEY }, body: form } ); await writeFile("cutout.png", Buffer.from(await res.arrayBuffer()));
import requests res = requests.post( "https://api.remove.bg/v1.0/removebg", "https://api.bgbyebye.com/v1.0/removebg", files={"image_file": open("product.jpg", "rb")}, data={"size": "auto"}, headers={"X-Api-Key": API_KEY}, ) open("cutout.png", "wb").write(res.content)
$client = new GuzzleHttp\Client(); $res = $client->post( 'https://api.remove.bg/v1.0/removebg', 'https://api.bgbyebye.com/v1.0/removebg', [ 'headers' => ['X-Api-Key' => $apiKey], 'multipart' => [ ['name' => 'image_file', 'contents' => fopen('product.jpg', 'r')], ['name' => 'size', 'contents' => 'auto'], ], ] ); file_put_contents('cutout.png', $res->getBody());
Send a photo and get back a transparent PNG with clean edges, sized for wherever it's going next.
Edge-aware matting keeps hair, fur, fabric fringe and see-through glass soft and natural, with no halo or color fringe from the old background.
As low as $0.0028 per full-resolution image. Previews cost ¼ credit.
Preview, HD, 4K or full size. One credit, whatever the resolution.
If we can't find a subject or a request fails, the credit goes straight back to your account.
Transparent PNG, WebP or JPG; solid bg_color; auto-crop with margins; or alpha mask only.
Images are processed in memory and never used to train models. We keep usage metadata for billing, not your pixels.
500 images per minute per account out of the box, with higher limits on request. Use the JSON or binary responses that fit your pipeline.
Enter your email and you get an API key on the spot, with 50 full-resolution images a month. No card needed.
POST a file, a URL or base64 to /v1.0/removebg. Already on remove.bg? Just swap the hostname.
Get back a transparent PNG (or WebP/JPG) with subject bounds in the headers, ready for your catalog or canvas.
One credit = one image at any resolution. Previews cost ¼ credit. Failed images are free.
Kick the tires and build your integration.
For shops and side projects with steady volume.
For growing catalogs and production apps.
For marketplaces and high-volume pipelines.
Occasional one-offs.
A seasonal catalog refresh.
Irregular but large workloads.
Backlogs and migrations.
Need 100,000+ images a month, an SLA or dedicated capacity? Talk to us about Enterprise →
Consistent white or brand-color backgrounds for every SKU, ready for Amazon, Shopify and Google Shopping.
Cut out thousands of portraits, team photos and school pictures for composites and themed backgrounds.
Turn customer uploads into clean cutouts for shirts, mugs, posters and stickers automatically.
Make user-submitted listing photos look professional without a photo booth.
Ship a one-click "remove background" button in your editor without training your own model.
Standardize headshots onto approved background colors for badges, IDs and directories.
For the common integration, yes. We accept the same POST /v1.0/removebg request with the X-Api-Key header and the image_file, image_file_b64, image_url, size, format, bg_color, crop, crop_margin and channels parameters. Responses use the same headers, JSON shape and error format. A few advanced remove.bg options (shadows, ROI, scale and position) are on our roadmap; the docs list exactly what's supported.
One full-resolution image at any size up to 25 megapixels. Preview-size results (up to 0.25 MP) cost ¼ credit, so the free plan covers 50 full images or 200 previews a month.
Prepaid pay-as-you-go credits never expire. Monthly plan credits refresh at the start of each month. When both are available, monthly credits are used first.
No. If the image can't be processed, no subject is found, or our service has a problem, the credit is refunded automatically before the response goes out.
No. Images are processed in memory, aren't stored, and are never used to train models. We keep only usage metadata (time, size and credits) for billing.
JPG, PNG and WebP input up to 25 MB, by upload, URL or base64. Output can be PNG, WebP or JPG, or just the alpha mask, up to 25 megapixels.
500 images per minute per account by default. Need more? Email us and we'll raise it.
Yes. Plans are month-to-month, and prepaid credits stay in your account even if you cancel.
Get your API key in seconds. 50 free images every month, no card required.
Already on remove.bg? Change one URL and you're done.