The remove.bg alternative that takes the same API calls
remove.bg’s website and self-serve API closed on December 1, 2026. Eptx removes backgrounds in one click on the web, and its API accepts remove.bg’s requests: change the address and the key, and your script, plugin or automation keeps working. Every photo is processed on hardware we own.
$0.02 per image, on the site or through the API. Free credits when you sign up.


Switch in two lines
Replace api.remove.bg with api.eptx.space and your remove.bg key with an Eptx key. The request, the image that comes back and the error format stay the same.
https://api.remove.bg/v1.0/removebghttps://api.eptx.space/v1.0/removebgX-Api-Key: your remove.bg keyX-Api-Key: your Eptx keycurl https://api.eptx.space/v1.0/removebg \
-H "X-Api-Key: YOUR_EPTX_KEY" \
-F [email protected] \
-F size=auto \
-o no-bg.pngCreate an API key on your developer page. Keys need a plan or a credit pack.
What carries over
Every option remove.bg documented, and what it does here. Errors come back as {"errors":[{"title","code"}]} with the same status codes.
| Parameter | Status | Notes |
|---|---|---|
image_file / image_file_b64 / image_url | Supported | Exactly one. Up to 20 MB and 50 megapixels. image_url must be a public http(s) address. |
size | Supported | preview (0.25 MP), medium, hd, full, auto. Same names as before. |
format | Supported | auto, png, webp, jpg. zip is not available. |
bg_color | Supported | Hex (81d4fa, with alpha 81d4fa77) or a colour name. |
crop, crop_margin | Supported | Crop to the subject, with a margin in px or %. |
channels | Supported | rgba (the cutout) or alpha (the mask alone). |
Accept: application/json | Supported | Returns result_b64 and foreground_top/left/width/height. |
GET /v1.0/account | Supported | Your balance, counted in images. |
type, type_level, shadow_*, semitransparency, roi, scale, position | Accepted, ignored | The subject is detected automatically; your request still succeeds. |
bg_image_url, bg_image_file | Not available | Returns a 400 with the reason, so nothing fails silently. |
Your options after December 1
From each company’s own documentation, as of November 2026.
| Eptx | Leonardo.Ai (official successor) | |
|---|---|---|
| Takes remove.bg requests unchanged | Yes | No. New endpoint, JSON body, Bearer auth |
| File upload (multipart) | Yes | No. URL or base64 only |
| Returns the image itself | Yes | No. A link or base64 in JSON |
| API price per image | $0.02 | $0.1047 |
| Where the photo is processed | Hardware Eptx owns. No third-party AI | Leonardo’s platform. Results are kept in your library unless you ask otherwise |
| Web tool | Yes | Via Canva for web users |
Questions
- Is remove.bg really closed?
- Its standalone website and self-serve API stopped on December 1, 2026. Web users were sent to Canva and API users to Leonardo.Ai. Enterprise contracts continue, and unused pay-as-you-go credits expired.
- Why not just move to Leonardo.Ai?
- You can, but it is a rewrite: its API takes JSON only (no file uploads), returns a link or base64 instead of the image, uses a different address and authentication, and drops some options. Our API takes remove.bg’s requests as they are.
- Where do my photos go?
- To hardware Eptx owns and operates, and nowhere else. No third-party AI service is called. Photos are processed in memory and not kept, unless you turn on your library to save results.
- How much does it cost?
- 20 credits per image ($0.02), on the site or through the API. Credits come with a plan or a credit pack, and every new account gets free credits to try it.
- Do I need to change my code?
- Only the address and the key. Field names, response format and error format follow remove.bg’s documented API.
remove.bg is a trademark of its owner. Eptx is not affiliated with remove.bg, Canva or Leonardo.Ai; their names are used only to describe compatibility.