The Fastest Background Removal & Image AI API
Integrate enterprise-grade neural background removal, watermark erasing, and face anonymization into your product with a single API call.
curl -X POST https://bg.tools/api/v1/remove-background \
-H "Authorization: Bearer bgt_live_YOUR_API_KEY" \
-F "image=@photo.jpg" \
-F "model=ganga" \
-F "response_format=binary" \
--output result.pngBuilt for High-Growth Production Workloads
Everything developers expect: zero customer image retention, ultra-low latency, and transparent pricing.
Sub-Second Processing
Native neural segmentation runs in pure C++ and ONNX runtimes. Returns hair-level transparent PNGs in under 600ms.
Zero Data Retention
Your images are processed purely in memory and wiped immediately. We never store customer photos or use them for training.
Enterprise Security
Built-in SSRF protection, decompression bomb defense, IP allowlisting, cryptographic key hashing, and idempotency key safety.
Simple, Predictable Token Pricing
All public API calls draw from your account credit balance. No recurring commitments or surprises.
Transparent PNG output up to 4K resolution.
Deep neural inpainting for stamps and overlays.
Multi-face detection & smooth blur or pixelate.
Format converter, resize, crop, and compression.
Default Limits & Service Level Agreement
API Frequently Asked Questions
Everything you need to know about integrating bg.tools.
Do you store our images?
No. Images sent to the API are processed in volatile RAM and immediately discarded once the response is emitted. We never retain customer data.
Can I use sandbox keys for free testing?
Yes! Any key prefixed with bgt_test_ operates in sandbox mode with zero credit deduction so you can test end-to-end integration safely.
What happens if a request fails?
If the processing engine encounters an error or downstream failure, all reserved credits are automatically refunded to your ledger in an immediate transaction.
How does idempotency work?
Send the Idempotency-Key: <uuid> header with any POST request. If your network drops and you retry, the cached result is returned without double billing.
Ready to automate image processing?
Create an account in 30 seconds, generate your API key, and start processing in under 5 minutes.