Invocation
- Service ID
face-database-add-face- Method
POST- Endpoint
/api/tools/face-database-add-face- Legacy Endpoint
/api/tools/aliyun-facebody-add-face- MCP Tool
face_database_add_face- Price
- USD 0.20
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 (DbName, EntityId, ExtraData, ImageUrl, QualityScoreThreshold, SimilarityScoreThresholdBetweenEntity, SimilarityScoreThresholdInEntity); required parameters: DbName, EntityId, ImageUrl.
face-database-add-facePOST/api/tools/face-database-add-face/api/tools/aliyun-facebody-add-faceface_database_add_faceCall 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="face-database-add-face", then pass the returned token in X-Payment-Token or MCP paymentToken.
{
"exampleRequest": {
"DbName": "example-face-db",
"EntityId": "example-entity-id",
"ImageUrl": "https://example.com/image.jpg"
},
"exampleResponse": {
"code": "200",
"content": "",
"data": {
"Action": "AddFace",
"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": {
"DbName": {
"description": "Alibaba Cloud face database or template identifier.",
"type": "string"
},
"EntityId": {
"description": "Alibaba Cloud face database or template identifier.",
"type": "string"
},
"ExtraData": {
"description": "Alibaba Cloud RPC parameter ExtraData.",
"type": "string"
},
"ImageUrl": {
"description": "Public http or https image URL accepted by the Alibaba Cloud API.",
"format": "uri",
"type": "string"
},
"QualityScoreThreshold": {
"description": "Alibaba Cloud RPC parameter QualityScoreThreshold.",
"type": "number"
},
"SimilarityScoreThresholdBetweenEntity": {
"description": "Alibaba Cloud RPC parameter SimilarityScoreThresholdBetweenEntity.",
"type": "number"
},
"SimilarityScoreThresholdInEntity": {
"description": "Alibaba Cloud RPC parameter SimilarityScoreThresholdInEntity.",
"type": "number"
}
},
"required": [
"DbName",
"EntityId",
"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"
}
}