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 | ✓ | ✓ |
Start Removing Backgrounds Today
50 free images, no credit card required. Production-ready in minutes.
Get Your Free API Key