didit-face-match
由 rosasalberto 提供
Coding Agents & IDEs简介
Integrate Didit Face Match standalone API to compare two facial images.
描述
该技能的功能
Compares two facial images using the Didit Face Match API and returns a similarity score from 0 to 100. Supports JPEG, PNG, WebP, and TIFF formats up to 5MB per image. Also returns estimated age, gender, and face bounding boxes alongside the match result.
Handles image rotation automatically and returns structured metadata including age and gender estimates alongside the match score, reducing manual preprocessing steps.
何时使用
- Selfie-to-ID document verification during user onboarding
- Confirming a returning user matches their registered profile photo
- Checking if two submitted photos show the same person
- Biometric access confirmation for a secure area or service
- KYC face check for financial or legal account opening
示例工作流
User asks: Does this selfie match the passport photo on file?
- 1
Load the selfie and passport image files
- 2
POST both images as multipart/form-data to the face-match endpoint with the x-api-key header
- 3
Read the face_match.score and face_match.status fields from the response
- 4
Return Approved if score meets the threshold, Declined if below it
Similarity score of 80, status Approved — faces match
前置要求
- DIDIT_API_KEY environment variable
- Didit account at business.didit.me
- Didit credits (paid) for API calls
安装
clawhub install rosasalberto/didit-face-match运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。