Face Verification (1:1 Matching)
Verifies whether two face images belong to the same person using AI-ForensiX FaceID engine.
The Face Verification API performs 1:1 face matching, determining whether two face images represent the same individual.
This service is useful for identity verification, authentication workflows, and security validation.
Endpoint
POST /v1/faceid/verify-facesRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
source_image | binary | Yes | First face image for comparison |
target_image | binary | Yes | Second face image to match |
Example Request (cURL)
curl -X POST "https://forensiz.ai/" \
-H "x-api-key: YOUR_API_KEY" \
-F source_image=@face1.png \
-F target_image=@face2.pngResponse Status Codes
| Status Code | Meaning |
|---|---|
| 200 OK | Faces processed and comparison returned successfully. |
| 400 Bad Request | Missing parameters or invalid image input. |
| 401 Unauthorized | Invalid or missing API key. |
| 403 Forbidden | This service is not enabled for your API key. |
| 404 Not Found | Endpoint not found. |
| 500 Internal Server Error | Unexpected server-side error. |