Background Remover API
activeRemove image backgrounds instantly with AI precision. Perfect for product photos, portraits, and e-commerce.
Quick Start
Send a request to the Background Remover API:
curl -X POST https://apiin.one/api/v1/images/tools/remove-bg \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bg-remover",
"image": "https://example.com/photo.jpg",
"output_format": "png"
}'API Endpoint
/api/v1/images/tools/remove-bgHeaders
| Header | タイプ | 必須 | 説明 |
|---|---|---|---|
Authorization | string | 必須 | Bearer YOUR_API_KEY |
Content-Type | string | 必須 | application/json |
Body Parameters
| パラメーター | タイプ | 必須 | 説明 |
|---|---|---|---|
model | string | 必須 | Model identifier: "bg-remover" |
image | string | 必須 | URL of the image to remove background from |
output_format | string | 任意 | Output format: png, webp (デフォルト: png) |
Example Request
{
"model": "bg-remover",
"image": "https://example.com/photo.jpg",
"output_format": "png"
}Example Response
Successful task creation response.
{
"code": 200,
"message": "success",
"data": {
"task_id": "n19xxxx_bgremove",
"status": "IN_PROGRESS"
}
}Check Task Status
For asynchronous tasks, poll the status endpoint to check when your task is complete:
/api/v1/tasks/{task_id}curl https://apiin.one/api/v1/tasks/task_abc123 \
-H "Authorization: Bearer aio_your_key"Use Cases
- ✓Automate product photo editing for e-commerce catalogs
- ✓Remove backgrounds from user-uploaded profile photos
- ✓Create transparent PNG assets for design workflows
- ✓Batch process thousands of images for marketplace listings
API Tester
Test the Background Remover API directly from your browser:
Error Codes
{
"error": {
"code": 400,
"message": "Invalid parameters",
"type": "invalid_request"
}
}Frequently Asked Questions
How accurate is the background removal?
The AI achieves near-perfect edge detection on most images, including fine details like hair and transparent objects. Results are comparable to manual editing.
What image formats are supported?
Input: JPEG, PNG, WebP via URL. Output: PNG (with transparency) or WebP. Set the "output_format" parameter to choose.
How much does background removal cost?
Each image costs 3 credits (~$0.006), making it one of the cheapest background removal APIs available. Free credits included on sign up.
Can I process images in batch?
Yes. Send multiple API requests concurrently to process images in parallel. There are no rate limits on your requests.
Why Use Background Remover Through API in One?
Ready to use Background Remover?
Get Your API Key →