# Segment Hd Common Image Image Segmentation Use this visual AI API when the task needs generating high-definition general foreground segmentation. Send the schema keys exactly as listed (ImageUrl); required parameters: ImageUrl. This is a paid API service exposed by Server402 for AI agents, MCP clients, OpenAPI importers, and applications. Call the endpoint once without payment to receive HTTP 402 payment instructions, complete payment, then retry with the returned payment token or x402 signature. ## Invocation - Service ID: `hd-image-background-removal` - Canonical service ID: `hd-image-background-removal` - Legacy internal service ID: `aliyun-imageseg-segment-hd-common-image` - Method: `POST` - Endpoint: `https://aivps.lat/api/tools/hd-image-background-removal` - Legacy endpoint: `https://aivps.lat/api/tools/aliyun-imageseg-segment-hd-common-image` - Service page: https://aivps.lat/services/hd-image-background-removal - OpenAPI: https://aivps.lat/openapi.json - Catalog search: https://aivps.lat/api/catalog/search?q=hd-image-background-removal - MCP endpoint: https://aivps.lat/mcp - MCP tool: `hd_image_background_removal` ## Pricing And Payment - Price: USD 0.20 - Billing mode: `per_call` - Max calls per payment: `1` - Payment provider: `x402_facilitator` - Payment flow: call without payment, receive `402 Payment Required`, pay, then retry with `X-Payment-Token` or `PAYMENT-SIGNATURE`. - Payment hint: Create a payment with POST /api/payments using serviceId="hd-image-background-removal", then pass the returned token in X-Payment-Token or MCP paymentToken. ## Use Cases - generating high-definition general foreground segmentation - Call one focused visual AI capability directly with JSON inputs - Use public image or video URLs and structured parameters to get machine-readable results ## Keywords SegmentHDCommonImage, 阿里云分割抠图 高清通用分割, image segmentation, background removal, cutout, matting, mask generation, foreground extraction, segment, hd, common, image, foreground mask, transparent background ## Input Schema ```json { "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" } }, "required": [ "ImageUrl" ], "type": "object" } ``` ## Output Schema ```json { "properties": { "code": { "type": "string" }, "content": { "type": "string" }, "data": { "type": "object" }, "message": { "type": "string" }, "requestId": { "type": "string" } }, "required": [ "requestId", "data" ], "type": "object" } ``` ## Example Request ```json { "ImageUrl": "https://example.com/image.jpg" } ``` ## Example Response ```json { "code": "200", "content": "", "data": { "Action": "SegmentHDCommonImage", "Result": "example result from Alibaba Cloud imageseg" }, "message": "success", "requestId": "example-request-id" } ```