Invocation
- Service ID
product-background-removal- Method
POST- Endpoint
/api/tools/product-background-removal- Legacy Endpoint
/api/tools/aliyun-imageseg-segment-commodity- MCP Tool
product_background_removal- Price
- USD 0.20
Paid API service
Use this visual AI API when the task needs segmenting a product subject and generating a cutout. Send the schema keys exactly as listed (ImageURL, ReturnForm); required parameters: ImageURL.
product-background-removalPOST/api/tools/product-background-removal/api/tools/aliyun-imageseg-segment-commodityproduct_background_removalCall the endpoint without payment to receive HTTP 402 metadata. After payment is complete, retry with X-Payment-Token, an x402 payment signature, or MCP paymentToken.
Create a payment with POST /api/payments using serviceId="product-background-removal", then pass the returned token in X-Payment-Token or MCP paymentToken.
{
"exampleRequest": {
"ImageURL": "https://example.com/image.jpg"
},
"exampleResponse": {
"code": "200",
"content": "",
"data": {
"Action": "SegmentCommodity",
"Result": "example result from Alibaba Cloud imageseg"
},
"message": "success",
"requestId": "example-request-id"
},
"inputSchema": {
"description": "Use Alibaba Cloud RPC parameter names exactly, for example ImageURL, ImageUrl, Url, URL, JobId, or Tasks depending on the service.",
"properties": {
"ImageURL": {
"description": "Public http or https image URL accepted by the Alibaba Cloud API.",
"format": "uri",
"type": "string"
},
"ReturnForm": {
"description": "Alibaba Cloud RPC parameter ReturnForm.",
"type": "string"
}
},
"required": [
"ImageURL"
],
"type": "object"
},
"outputSchema": {
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
}
},
"required": [
"requestId",
"data"
],
"type": "object"
}
}