Face Validation

Compare two face images to determine if they belong to the same person.

POST/api/v1/face_recognition/validate_faces

Body (multipart/form-data)

NameTypeRequired
image1fileYes
image2fileYes
cURL
curl -X POST "https://faceapi.arsa.technology/api/v1/face_recognition/validate_faces" \
  -H "x-key-secret: YOUR_API_KEY" \
  -F "image1=@face1.jpg" \
  -F "image2=@face2.jpg"
200 OK
{
  "status": "success",
  "match_result": true,
  "similarity_score": 0.92,
  "face1_analysis": {"bbox": {...}, "passive_liveness": {"is_real_face": true, "liveness_probability": 0.97}},
  "face2_analysis": {"bbox": {...}, "passive_liveness": {"is_real_face": true, "liveness_probability": 0.95}},
  "latency_ms": 456.78
}