Remove backgrounds with one API call
Send an image, get a clean cutout back at full resolution. Transparent PNG, a new background color or image, crop to the subject. Built for developers and no-code tools.
No card needed for the trial. 1 credit = 1 image, any size.
Up and running in two minutes
One endpoint, one header, one credit per image.
- Create an account
Sign in with your e-mail. You get 10 free credits and an API key. - Send an image
POSTit toapi.removebg.win/v1.0/removebgwith your key in theX-Api-Keyheader. - Get the result
The image comes back without its background, ready to save or show.
curl -H 'X-Api-Key: YOUR_KEY' \
-F 'image_file=@photo.jpg' \
-F 'size=auto' \
-f https://api.removebg.win/v1.0/removebg \
-o no-bg.png
Everything you need
Simple parameters and predictable responses.
Any input
image_url, image_file upload or image_file_b64. JSON, form or multipart.
Backgrounds
Transparent PNG, or a new background with bg_color or bg_image_url.
Crop to subject
crop and crop_margin trim empty space around the subject.
Full resolution
We keep the original size. No preview downgrade: every call is full quality.
Formats
png, jpg, webp or auto, plus the alpha mask with channels=alpha.
Clear errors
402 when credits run out, 403 for a bad key, 429 for rate limits, always in JSON.
Building on Bubble?
The Removebg plugin for Bubble runs on this API. Install it, paste your API key in the plugin settings and remove backgrounds right from your workflows.
There is also a new action that returns JSON with a hosted image URL and your remaining credits, so you can show a clear message when credits run out.
Get my API key- Plugins tab
Open your app, go to Plugins, add "Removebg" (or update it to the latest version). - Paste the key
Add your removebg.win API key in the plugin settings. - Done
Use the plugin actions in your workflows.
Simple pricing
1 credit = 1 image at full resolution. Start with 10 free credits.
Loading prices…
Monthly plans renew automatically and can be cancelled at any time. Credits reset each month.
Questions
Do you store my images?
No. Images are processed and the result is returned to you. With the optional hosted-URL response, the result file is deleted after 24 hours.
Do credits expire?
Pay-as-you-go credits are valid for 6 months. Subscription credits are valid until the end of each monthly period and do not roll over. Trial credits do not expire.
What happens if processing fails?
You are not charged. Credits are only used for successful results.
Are payments secure?
Yes. Payments are processed by Stripe, a PCI DSS Level 1 certified provider used by millions of businesses. Your card details go straight to Stripe and never touch our servers.
Can I get an invoice?
Yes. Every payment has a receipt, and you can download invoices from the billing portal in your dashboard.