AgentSkillsCN

Didit Face Match

Didit面部匹配

SKILL.md

Didit Face Match API

Source: https://github.com/didit-protocol/didit-agent-skills/tree/main/skills/didit-face-match

What It Does

Compares two facial images, returning a similarity score (0-100) to determine if they belong to the same person.


Key Requirements

  • Auth: x-api-key header (from business.didit.me)
  • Endpoint: POST https://verification.didit.me/v3/face-match/
  • Both user_image and ref_image are required
  • Accepted formats: JPEG, PNG, WebP, TIFF — max 5MB each
  • When multiple faces exist, the largest face is used for comparison

Core Parameters

ParameterDefaultNotes
face_match_score_decline_threshold30Scores below = Declined
rotate_imagefalseTests 0/90/180/270 rotations
save_api_requesttrueLogs to Business Console

Status Outcomes

  • Approved — score meets threshold
  • Declined — score too low or no face detected
  • In Review — manual review required

Score Guide

RangeMeaning
90-100Very high confidence
70-89Likely same person
50-69Possible match
0-49Likely different people

Security Note

Best practice: Only store the status and score. Minimize biometric image data on your servers.