Face Embed
Turn every face in an image into a 512-d ArcFace vector.
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-embed \
-H 'content-type: application/json' \
-d '{"image_url":"https://example.com/face.jpg"}'When to use it
Use when an agent stores faces for its OWN comparison later — we keep no face database, so the vectors are yours to index. Inputs: image_url or image_base64 (required). Returns faces[] with a 512-d L2-normalised embedding plus bbox, score and age/gender. Nothing is stored here. To upload a file, POST the raw image to /v1/media first and pass the URL it returns.
What it costs
$0.0060 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.
Often used with this
Face Detect
$0.0030Find 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.
Face Compare
$0.0110Send two images and get back a similarity score, a match flag and the threshold it was judged against.
Embed
$0.0010Turn text into 1024-d vectors for semantic search, clustering or RAG.