didit-face-match
БесплатноЗапускает вложенные скриптыНе проверенUse when writing backend or API-key integration code for Didit Face Match (POST /v3/face-match/), the standalone API that compares two face images 1:1. Use…
от rosasalberto2 058 установок в других каталогахОб этом скилле
Didit Face Match API
Working inside a connected Didit account (Claude, ChatGPT, Cursor)? Use the Didit plugin or the Didit MCP server tools instead of these REST calls.
Overview
Compares two facial images to determine whether they show the same person. Returns a similarity score (0-100) and an Approved / Declined status.
Key constraints:
- Allowed file extensions: tiff, jpg, jpeg, png, webp (no PDF)
- Maximum file size: 5 MB per image (images are compressed to about 0.5 MB before processing)
- Both
user_imageandref_imageare required - Submit one clear, front-facing, well-lit face per image for best results
Pricing (list prices as of 2026-11-18, pricing): $0.05 per successful standalone call, paid from your plan credit or top-ups. Current prices: didit.me/pricing. Billing statements elsewhere in this skill (what is or is not billed) refer to this note and its date.
Decision: Approved only when the score is strictly above face_match_score_decline_threshold (default 30). A score at or below it returns Declined with LOW_FACE_MATCH_SIMILARITY. If no face pair can be scored, the call still returns HTTP 200 with Declined and NO_REFERENCE_IMAGE. There is no In Review on this endpoint; only the threshold is configurable.
Face search index: this endpoint never enrolls faces and never runs blocklist or duplicate screening. Use POST /v3/passive-liveness/ (didit-liveness-detection) or POST /v3/face-search/ (didit-face-search) for those.
Saving (save_api_request, default true): the call is saved as an API session (Business Console, GET /v3/session/{request_id}/decision/, status.updated webhook) and both images are stored as the session's face-match source and target images. With false nothing is stored and request_id cannot be looked up.
Sandbox: sandbox API keys return a static Approved payload after request validation; nothing is saved or billed (see Pricing above).
Capabilities: similarity scoring, configurable decline threshold, face bounding boxes with model-estimated age and gender per face (informational), optional rotation for non-upright faces.
API Reference: https://docs.didit.me/standalone-apis/face-match Feature Guide: https://docs.didit.me/core-technology/face-match/overview
Authentication
Every request needs the x-api-key header. Use your application's API key from the Didit Business Console under Developers > API keys, or create an account and key programmatically (see Getting Started). Named keys with custom access need Sessions write to run standalone checks; a key limited to some workflows or to approved sessions cannot run them.
Getting Started (No Account Yet?)
If you don't have a Didit API key, create one in 2 API calls:
- Register:
POST https://apx.didit.me/auth/v2/programmatic/register/with{"email": "[email protected]", "password": "MyStr0ng!Pass"} - Check email for a 6-character verification code
- Verify:
POST https://apx.didit.me/auth/v2/programmatic/verify-email/with{"email": "[email protected]", "code": "A3K9F2"}. The key is in the response atapplication.api_key.
To add credits: GET /v3/billing/balance/ to check, POST /v3/billing/top-up/ with {"amount_in_dollars": 50} for a Stripe checkout link.
See the didit-verification-management skill for full platform management (workflows, sessions, users, billing).
Endpoint
POST https://verification.didit.me/v3/face-match/
Headers
| Header | Value | Required |
|---|---|---|
x-api-key |
Your API key | Yes |
Content-Type |
multipart/form-data (set by your HTTP client) |
Yes |
Request Parameters (multipart/form-data)
| Parameter | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
user_image |
file | Yes | - | tiff/jpg/jpeg/png/webp, max 5 MB | Face to verify (e.g. a selfie) |
ref_image |
file | Yes | - | Same as above | Reference face (e.g. an ID document portrait or an enrolled photo) |
face_match_score_decline_threshold |
float | No | 30 |
0-100 | A score at or below this value declines with LOW_FACE_MATCH_SIMILARITY; strictly above approves |
rotate_image |
boolean | No | false |
- | Try both images at 0/90/180/270 degrees and use the orientation with the best face detection. Adds latency |
save_api_request |
boolean | No | true |
- | Save as an API session and store both images (see Overview) |
vendor_data |
string | No | - | - | Your user identifier, stored and echoed back |
metadata |
JSON object | No | - | JSON-encoded string in multipart | Stored with the session (when saved) and echoed back |
Example
import requests
with open("selfie.jpg", "rb") as selfie, open("id_photo.jpg", "rb") as portrait:
re
Установить didit-face-match в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл didit-face-match?
Use when writing backend or API-key integration code for Didit Face Match (POST /v3/face-match/), the standalone API that compares two face images 1:1. Use when checking that a selfie matches an ID document portrait or a previously enrolled photo, verifying that two photos show the same person, or adding selfie-to-document biometric comparison. Returns a 0-100 similarity score and an Approved/Declined status against a configurable decline threshold (default 30), with optional image rotation. Does not enroll faces or run blocklist or duplicate checks.
Как установить скилл didit-face-match?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл didit-face-match запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic