Invocation
- Service ID
masked-face-comparison- Method
POST- Endpoint
/api/tools/masked-face-comparison- Legacy Endpoint
/api/tools/aliyun-facebody-compare-face-with-mask- MCP Tool
masked_face_comparison- Price
- XIAO 0.2
Paid API service
Use this visual AI API when the task needs the visual analysis task described by action 比对戴口罩或遮挡场景下的人脸相似度。. Send the schema keys exactly as listed (ImageURLA, ImageURLB, QualityScoreThreshold); required parameters: ImageURLA, ImageURLB.
masked-face-comparisonPOST/api/tools/masked-face-comparison/api/tools/aliyun-facebody-compare-face-with-maskmasked_face_comparisonCall the endpoint without payment to receive HTTP 402 metadata. If payment is required, open xiaopay.top to obtain XIAO, create the guarantee, then retry with X-Payment-Token, an XIAO guarantee header, or MCP paymentToken.
Call POST /api/tools/masked-face-comparison once to receive HTTP 402 with accepts[] requirements. Open https://xiaopay.top to obtain XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId, then retry with X402-Guarantee. If you need the legacy reusable token flow, create a payment with POST /api/payments using serviceId="masked-face-comparison".
{
"exampleRequest": {
"ImageURLA": "https://example.com/image.jpg",
"ImageURLB": "https://example.com/image.jpg"
},
"exampleResponse": {
"code": "200",
"content": "",
"data": {
"Action": "CompareFaceWithMask",
"Result": "example result from Alibaba Cloud facebody"
},
"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": {
"ImageURLA": {
"description": "Public http or https image URL for one side of a paired-image request.",
"format": "uri",
"type": "string"
},
"ImageURLB": {
"description": "Public http or https image URL for one side of a paired-image request.",
"format": "uri",
"type": "string"
},
"QualityScoreThreshold": {
"description": "Alibaba Cloud RPC parameter QualityScoreThreshold.",
"type": "number"
}
},
"required": [
"ImageURLA",
"ImageURLB"
],
"type": "object"
},
"outputSchema": {
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
}
},
"required": [
"requestId",
"data"
],
"type": "object"
}
}