🛠️工具 API已上线

bg-remover API

Background Remover 已通过 API in One 接入真实生产路由 /api/v1/images/tools/remove-bg,后端节点为 node19。一个 API Key 即可调用并按成功请求计费。

Model IDbg-remover

请求体中的 model 字段。

端点/api/v1/images/tools/remove-bg

当前已实现的 BFF 路由。

输出image

输入类型:image

鉴权Bearer API Key

密钥由共享 Dashboard 管理。

Webhook不需要

该路由不依赖 webhook。

真实能力

以下能力来自当前已接入的模型配置和后端路由,不展示未上线 API。

稳定生产路由

One of the cheapest background removal APIs on the market

统一接口

Batch-friendly API shape for parallel server-side processing

透明计费

Near-perfect edge detection including hair and transparent objects

快速接入

Output in PNG (with transparency) or WebP

请求方式

浏览器端只调用同源 API,服务端 BFF 再转发到对应 Worker。

参数

imagestring

URL of the image to remove background from

必填

示例请求

curl -X POST https://apiin.one/api/v1/images/tools/remove-bg \
  -H "Authorization: Bearer aio_your_api_key" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "model": "bg-remover",
  "image": "https://example.com/photo.jpg"
}'

接入流程

这些步骤基于当前真实路由和共享账号体系,不新增独立登录、支付或订单流程。

01

创建共享 API Key

在现有 Dashboard 创建密钥,充值、订单、积分和个人信息仍走共享控制台。

02

调用真实端点

使用当前页面列出的 endpoint、model id 和参数发送请求。 /api/v1/images/tools/remove-bg

03

查询任务状态

异步媒体和工具任务使用 /api/v1/tasks/{task_id} 查询结果;对话模型直接返回响应。

任务状态查询

图像、视频、音频和工具任务创建后,使用真实任务端点查询结果。

GET/api/v1/tasks/{task_id}查询生成任务状态和结果。

价格

~$0.01 per image (1 credit)

基础价格$0.01
积分1
计费按成功请求

使用场景

这些场景可通过当前模型和对应后端节点实现。

01

Automate product photo editing for e-commerce catalogs

02

Remove backgrounds from user-uploaded profile photos

03

Create transparent PNG assets for design workflows

04

Batch process thousands of images for marketplace listings

常见问题

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.01). Free credits included on sign up.

Can I process images in batch?

Yes. Send multiple API requests concurrently within your account and route limits to process images in parallel.

相关真实模型