Server402 marketplace

Paid API service

Detect Workwear Object Detection

Use this visual AI API when the task needs detecting workwear, uniforms, or specified clothing classes. Send the schema keys exactly as listed (Clothes, ImageUrl, Labels); required parameters: ImageUrl.

Invocation

Service ID
workwear-detection
Method
POST
Endpoint
/api/tools/workwear-detection
Legacy Endpoint
/api/tools/aliyun-objectdet-detect-workwear
MCP Tool
workwear_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.

Call POST /api/tools/workwear-detection once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId="workwear-detection". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.

Schema And Examples

{
  "exampleRequest": {
    "ImageUrl": "https://example.com/image.jpg"
  },
  "exampleResponse": {
    "code": "200",
    "content": "",
    "data": {
      "Action": "DetectWorkwear",
      "Result": "example result from Alibaba Cloud objectdet"
    },
    "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": {
      "Clothes": {
        "description": "Alibaba Cloud JSON array parameter. A JSON string is also accepted and forwarded as-is.",
        "type": "array"
      },
      "ImageUrl": {
        "description": "Public http or https image URL accepted by the Alibaba Cloud API.",
        "format": "uri",
        "type": "string"
      },
      "Labels": {
        "description": "Alibaba Cloud RPC parameter Labels.",
        "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"
  }
}