Face Detect

Find faces in an image. Use when an agent counts people, checks a photo contains exactly one face before a match, or estimates age and gender.

$0.0030 per call POST /v1/tools/face-detect

Call it

The first response is 402 with the exact price and every rail you can pay with. Pay, repeat the request with the proof, and you get the result.

curl -X POST https://api.glianalabs.com/v1/tools/face-detect \
  -H 'content-type: application/json' \
  -d '{"image_url":"https://example.com/face.jpg"}'

When to use it

Inputs: image_url or image_base64 (required). Returns faces[] with bbox, det_score and age/gender per face — no embeddings, which is why it is the cheapest of the face tools. Nothing is stored. To upload a file, POST the raw image to /v1/media first and pass the URL it returns.

What it costs

$0.0030 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.

Not sure this is the right endpoint? GET /v1/consult?intent=… is free and answers that.