New: French documentation now available! Switch to French
English
cURL
curl --request POST \ --url https://api.txcloud.io/v1/identity/face-match \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "image_1": "aSDinaTvuI8gbWludGxpZnk=", "image_2": "aSDinaTvuI8gbWludGxpZnk=" } '
{ "id": "<string>", "object": "identity.face_match", "match": true, "similarity_score": 0.5, "threshold": 123, "confidence": 123 }
API key as Bearer token
First face image (base64)
Second face image (base64)
Face comparison result
identity.face_match
0 <= x <= 1