AI powered docs

Face API docs

Use the hosted demo with two images, or call the open-source package in your own app.

Endpoints

GET /api/model/

Returns the currently served AI powered model metadata.

{
  "status": "ready",
  "model_name": "tinyfacematch-128-pretrained.onnx",
  "threshold": 0.2856,
  "size_mb": 13.238
}
POST /api/verify/

Accepts exactly one left_image and one right_image.

curl -X POST https://tinyfacematch.onrender.com/api/verify/ \
  -F "left_image=@left.jpg" \
  -F "right_image=@right.jpg"

Model Contract

Input
RGB 112x112
Tensor
NCHW float32
Normalization
(pixel - 127.5) / 128.0
Output
128-D L2 embedding