🛠️

Background Remover API

active

Remove image backgrounds instantly with AI precision. Perfect for product photos, portraits, and e-commerce.

API in Onetool1 credits/call
Provider
API in One
Pricing
~$0.002 per image (1 credit)
Speed
2–5 seconds
Output
image

Quick Start

Send a request to the Background Remover API:

bash
1curl -X POST https://apiin.one/api/v1/images/tools/remove-bg \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "bg-remover",
6 "image": "https://example.com/photo.jpg"
7}'

API Endpoint

POST/api/v1/images/tools/remove-bg

Send a POST request with your API key to generate content using Background Remover.

Headers

Body ParametersJSON
Authorization:string

Bearer YOUR_API_KEY

Content-Type:string

application/json

Body Parameters

Body ParametersJSON
model:string

Model identifier: bg-remover

image:string

URL of the image to remove background from

Example Request

json
1{
2 "model": "bg-remover",
3 "image": "https://example.com/photo.jpg"
4}

Example Response

Successful task creation response.

1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "task_id": "n19xxxx_bgremove",
6 "status": "IN_PROGRESS"
7 }
8}

Check Task Status

For asynchronous tasks, poll the status endpoint to check when your task is complete:

GET/api/v1/tasks/{task_id}

Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.

bash
1curl https://apiin.one/api/v1/tasks/task_abc123 \
2 -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:

Consola de APIPOST

Error Codes

1{
2 "error": {
3 "code": 400,
4 "message": "Invalid parameters",
5 "type": "invalid_request"
6 }
7}

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 1 credit (~$0.002), making it the cheapest background removal API 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?

1.One of the cheapest background removal APIs on the market
2.No rate limits — process thousands of images in parallel
3.Near-perfect edge detection including hair and transparent objects
4.Output in PNG (with transparency) or WebP

Ready to use Background Remover?

Get Your API Key →