Remove backgrounds.
The fastest, most accurate background removal and image trimming API built for developers. Scale your image processing in minutes.
const response = await fetch('https://api.trimforge.com/v2/', {method: 'POST',headers: {'Authorization': 'Bearer tf_test_123...','Content-Type': 'application/json'},body: JSON.stringify({image_url: 'https://example.com/product.jpg',auto_trim: true,format: 'png'})});const { data } = await response.json();// { "url": "https://cdn.trimforge.com/res/abc-123.png" }Built for developers,
scaled for production.
TrimForge isn't just an API, it's a complete infrastructure for processing images at scale reliably.
Blazing Fast API
Our globally distributed edge network processes your images in under 2 seconds, no matter where your users are.
Pixel-Perfect Accuracy
Powered by state-of-the-art vision models, our API handles complex edges, hair, and transparent objects instantly.
Enterprise Security
We don't train on your data. Images are processed in isolated memory and permanently deleted after response.
Drop-in Workflow
Native SDKs for Node, Python, and simple REST endpoints mean you can integrate into your app within minutes.
Powerful Image Processing APIs
Integrate precise image trimming and background removal APIs into your application. Choose a plan that fits your volume.
Starter
Perfect for indie developers and small projects.
Billed monthly
- 2,000 credits per month
- Background Removal & Trimming APIs
- Up to 10MB image size
- Standard API priority
- Basic email support
Pro
For professional teams processing high volumes of images.
Billed monthly
- Unlimited credits
- Background Removal & Trimming APIs
- No Image Size Limit
- Highest API priority queue
- 24/7 Priority chat & email support
Frequently Asked Questions
Everything you need to know about our APIs and billing.
One credit is consumed for every successful API request that returns a processed image. If a request fails due to an invalid image format or API error, no credit is deducted.
Our APIs currently support the most common formats including JPEG, PNG, and WebP for input. The output format is typically returned in PNG to preserve transparency across background removal.
No, we respect your privacy and data security. Images are held in temporary memory strictly for the duration of the processing cycle and are immediately deleted once the API response is sent.
Our standard API processing usually completes within a few seconds (1-3s depending on image complexity). Pro plan users connect to our designated high-priority queue, which can reduce latency by up to 40% during peak hours.
Yes, you can upgrade, downgrade, or pause your subscription at any time right from your dashboard. Plan upgrades are pro-rated instantly.