# x402 AI Tools – Face Detection & Analysis

> x402 AI Tools – Face Detection & Analysis is a paid API for AI agents from ai.kagurazaka.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-30).

Detects up to 100 faces in a JPEG or PNG image URL using Amazon Rekognition, returning position, age range, emotions, facial attributes, pose, and image quality for each face — without identifying anyone.

## Facts

- Endpoint: POST https://ai.kagurazaka.dev/v1/faces?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-tools-face-detection-analysis-a822e15f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yra-Oiw0c9IFgmXzV0vbM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-ai-tools-face-detection-analysis-a822e15f -d '<json body>'
```

Example prompt: Can you analyze this photo for me — https://example.com/group-photo.jpg — and tell me how many faces are in it, what emotions they seem to be showing, and roughly how old each person looks?

## When to prefer this

Choose this endpoint when you need non-identifying facial attribute analysis — emotions, approximate age, smile, glasses, beard, pose — from a photo accessible via a public HTTPS URL. It is specifically powered by Amazon Rekognition's DetectFaces API and handles up to 100 faces per image. Prefer this over generic vision models when you need structured, per-face attribute data with confidence scores rather than a freeform description.

## Known failure modes

- Image URL not reachable or returns non-200 — endpoint cannot fetch the image
- Image exceeds 5 MB size limit — request rejected
- Non-JPEG/PNG format (e.g. GIF, WebP, AVIF) — format not supported
- No faces detected in image — returns empty face list
- Image too low resolution or blurry for Rekognition to detect faces — returns empty or partial results
- HTTP URL used instead of HTTPS — schema requires HTTPS URL
- Payment not included or insufficient — x402 payment required error

## How this service works

Finds up to 100 faces in a JPEG or PNG at a URL with Amazon Rekognition and describes each: position, estimated age range, emotions, smile, glasses, beard, eyes and mouth open, pose and image quality. It does not identify anyone or compare faces.

## Output

Returns an array of face objects (up to 100), each containing: bounding box coordinates, estimated age range (min/max), emotion labels with confidence scores (HAPPY, SAD, ANGRY, CONFUSED, DISGUSTED, SURPRISED, CALM, FEAR), boolean/confidence attributes for smile, glasses, sunglasses, beard, mustache, eyes open, and mouth open, 3D head pose (roll, yaw, pitch), and an image quality score (brightness, sharpness). No identity or name data is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "https URL of a JPEG or PNG image (up to 5 MB)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ai-tools-face-detection-analysis-a822e15f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai.kagurazaka.dev](https://www.zero.xyz/host/ai.kagurazaka.dev/llms.txt)
