Server402 marketplace

Paid API service

Detect Living Face Face And Body Analysis

Use this visual AI API when the task needs the visual analysis task described by action 对人脸图片任务进行活体检测。. Send the schema keys exactly as listed (Tasks); required parameters: Tasks.

Invocation

Service ID
face-liveness-detection
Method
POST
Endpoint
/api/tools/face-liveness-detection
Legacy Endpoint
/api/tools/aliyun-facebody-detect-living-face
MCP Tool
face_liveness_detection
Price
USD 0.20

Payment

Call 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-liveness-detection", then pass the returned token in X-Payment-Token or MCP paymentToken.

Schema And Examples

{
  "exampleRequest": {
    "Tasks": [
      {
        "ImageURL": "https://example.com/image.jpg"
      }
    ]
  },
  "exampleResponse": {
    "code": "200",
    "content": "",
    "data": {
      "Action": "DetectLivingFace",
      "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": {
      "Tasks": {
        "description": "Alibaba Cloud JSON array of task objects. A JSON string is also accepted and forwarded as-is.",
        "type": "array"
      }
    },
    "required": [
      "Tasks"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "code": {
        "type": "string"
      },
      "content": {
        "type": "string"
      },
      "data": {
        "type": "object"
      },
      "message": {
        "type": "string"
      },
      "requestId": {
        "type": "string"
      }
    },
    "required": [
      "requestId",
      "data"
    ],
    "type": "object"
  }
}