Background Removal API
The fastest, most accurate background removal API for developers. Remove image backgrounds programmatically at $0.001/image — 20× cheaper than remove.bg.
How It Works
Send a single HTTP request with your image, get back a transparent PNG. No setup, no SDK required — works with any language or framework.
Get an API Key
Sign up free, grab your API key from the dashboard.
POST Your Image
Send a multipart/form-data POST request with your image file.
Receive Transparent PNG
Get back a high-quality transparent PNG in milliseconds.
Code Examples
Integrate the background removal API in minutes.
curl -fX POST https://api.poof.bg/v1/remove \
-H 'x-api-key: YOUR_API_KEY' \
-F 'image_file=@image.jpg' \
-F 'size=auto' \
-o no-bg.pngimport requests
response = requests.post(
'https://api.poof.bg/v1/remove',
files={'image_file': open('image.jpg', 'rb')},
data={'size': 'auto'},
headers={'x-api-key': 'YOUR_API_KEY'},
)
if response.status_code == 200:
with open('no-bg.png', 'wb') as out:
out.write(response.content)
print("Background removed successfully!")const axios = require('axios');
const fs = require('fs');
const FormData = require('form-data');
const formData = new FormData();
formData.append('image_file', fs.createReadStream('image.jpg'));
formData.append('size', 'auto');
const response = await axios.post(
'https://api.poof.bg/v1/remove',
formData,
{
headers: {
...formData.getHeaders(),
'x-api-key': 'YOUR_API_KEY',
},
responseType: 'arraybuffer',
}
);
fs.writeFileSync('no-bg.png', response.data);API Reference
https://api.poof.bg/v1/removeRequest Parameters
image_filerequiredImage file to process (PNG, JPG, WEBP)
sizeoptional'auto' (recommended), 'preview', 'small', 'regular', 'hd', '4k'
typeoptionalSubject type hint: 'auto', 'person', 'product', 'animal'
Headers
x-api-key: YOUR_API_KEYPricing
Start free. Scale as you grow. No hidden fees.
Free
$0
50 images
Try the API, no credit card required.
Pro
$9.99/mo
10,000 images
Perfect for indie hackers and small apps.
Business
$49/mo
100,000 images
For high-volume production use.
Need more? View full pricing
Poof vs remove.bg
Same quality, 20× cheaper. Built for developers, not end-users.
| Feature | Poof | remove.bg |
|---|---|---|
| Price per image | $0.001 | $0.02 |
| Accuracy | 99.8% | 99.5% |
| Avg response time | < 100ms | ~500ms |
| Free plan | ✓ | Limited |
| Bulk processing | ✓ | ✓ |
| No attribution required | ✓ | ✓ |
Frequently Asked Questions
Everything you need to know about the Poof background removal API.
Is Poof a free background removal API?
Yes. Poof offers 50 free image background removals per month — no credit card required. Sign up and start processing images immediately.
How does Poof compare to the remove.bg API?
Poof is 20× cheaper than remove.bg ($0.001 vs $0.02 per image), with faster processing (sub-100ms vs ~500ms average) and comparable 99.8% accuracy. Both support bulk processing and require no attribution.
What image formats does the background removal API support?
The API accepts PNG, JPG, and WEBP image files as input. All outputs are returned as transparent PNG files.
Can I use the API for bulk or batch processing?
Yes. Poof supports high-volume background removal. Higher-tier plans allow concurrent requests, making it suitable for e-commerce pipelines, SaaS integrations, and automated batch workflows.
What is the maximum image resolution supported?
Poof supports images up to 36MP (approximately 6K resolution), suitable for high-resolution product photography and professional image editing workflows.
How fast is the background removal API?
Poof averages sub-100ms response time per image — significantly faster than alternatives. This makes it suitable for real-time applications such as live editing tools and e-commerce product pages.
Do I need to credit Poof when using the API?
No. Attribution is not required when using Poof's background removal API. You can integrate the output directly into your products and services.
Is there an SDK available for the background removal API?
Poof provides a standard REST API that works with any language. Code examples are available for cURL, Python, and Node.js. The API uses multipart/form-data with a single POST request to https://api.poof.bg/v1/remove.
Start Removing Backgrounds Today
50 free images, no credit card required. Production-ready in minutes.
Get Your Free API Key