# GoldBean Baidu Face Detection API

> GoldBean Baidu Face Detection API is a paid API for AI agents from goldbean-api.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects and analyzes human faces in images using Baidu AI vision models, returning face attributes and metadata.

## Facts

- Endpoint: GET https://goldbean-api.xyz/paid/baidu-face-detect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/goldbean-baidu-face-detection-api-edaaee05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_udLYPvtn2SBw8uh6v3TS5

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 goldbean-baidu-face-detection-api-edaaee05
```

Example prompt: Can you run face detection on this photo — https://example.com/portrait.jpg — and tell me how many faces are detected, along with their estimated age, gender, and emotion?

## When to prefer this

Choose this endpoint when you need low-cost ($0.001/call), pay-per-use face detection powered by Baidu AI specifically — particularly if you want access to Baidu's face attribute extraction (age, gender, emotion) without a subscription. Prefer this over generic vision APIs when integrating with an x402/Base-chain payment workflow or when you want 50 free calls/day for prototyping.

## Known failure modes

- No face detected in image — data field returns empty or zero faces
- Invalid or inaccessible image URL returns an error response
- Image format not supported by Baidu AI model
- Rate limit exceeded beyond 50 free calls/day without payment
- Payment failure over x402 protocol blocks the call
- Low-resolution or heavily occluded face may return low confidence or no detection

## How this service works

51 Baidu AI MCP tools: OCR, Vision, LLM, Speech, NLP, Image Gen, Video Gen. 50 free calls/day. No credit card. Pay-per-call from $0.001.

## Output

Returns a JSON object with success status and a data payload containing detected face regions (bounding boxes), and per-face attributes such as age estimate, gender, expression/emotion, face confidence score, and facial landmark positions, as provided by the Baidu AI face detection model.

## Response schema (JSON Schema)

```json
{
 "example": {
  "data": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/goldbean-baidu-face-detection-api-edaaee05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from goldbean-api.xyz](https://www.zero.xyz/host/goldbean-api.xyz/llms.txt)
