← Playground · Scalar API · Swagger
Model in use: moondream (set via GEMMA_MODEL on the server).
match_label (yes / no / unclear) only for triage. For legal, access-control, or forensic use,
use dedicated face-embedding software (e.g. ArcFace / InsightFace).
POST /v1/vision — JSON with prompt and images_base64 (list).POST /v1/vision/upload — multipart: prompt + repeated images files.Upload one reference photo of a person, then 1–10 other photos.
The server compares each candidate to the reference in a separate model call and returns
match_label per index (yes, no, or unclear), plus the raw model text.
POST /v1/face/compare{
"reference_image_base64": "data:image/jpeg;base64,...",
"candidate_images_base64": ["data:image/jpeg;base64,...", "..."],
"max_tokens": 120,
"temperature": 0.5,
"think": false
}
POST /v1/face/compare/uploadForm fields:
reference — single image file.candidates — repeat this field for each candidate file (1–10 files).max_tokens, temperature, top_p, top_k, think (ignored for Moondream).Open /playground — use the Reference vs candidates panel at the top, or use Scalar (/scalar) “Try it” for the JSON endpoints.