Deepfake Prevention in Video KYC: Technologies & Best Practices
Deepfake prevention in video KYC stacks passive or 3D liveness, 1:1 face match, 1:N face search and device/IP signals in one session. On Didit a full check is $0.33.

Contents
In this guide
Jump to the part you need.
Deepfake prevention in video KYC fits teams that already verify users on camera and want synthetic faces to fail at the door. On Didit a full check costs $0.33: ID document $0.15, passive liveness $0.10, face match $0.05, device and IP analysis $0.03. The caveat first: no model catches every injection, so your thresholds, retry logic and manual review path matter as much as the detector.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Control | Attack it interferes with | Where you set it | Price (USD) |
|---|---|---|---|
| Passive liveness | Printed photos, screen replays, single-frame synthetic faces | Liveness feature, PASSIVE | $0.10 per check |
| 3D action or flashing liveness | Masks, video playback, splices that fail random actions and light patterns | Liveness feature, ACTIVE_3D or FLASHING | $0.15 per check |
| Face Match 1:1 | A live-looking face that does not belong to the document holder | Face Match node next to ID Verification and Liveness | $0.05 per check |
| Face Search 1:N | The same synthetic persona reused across accounts, blocklisted faces | Automatic in supported session flows; standalone API, no workflow node | $0.05 per search |
| Device and IP Analysis | VPN, proxy, Tor, duplicate device, device already linked to a liveness attack | Session only, collected in-band | $0.03 per check |
| AML screening (optional) | Sanctioned or high-risk identities behind the face | AML node in the workflow | $0.20 per check |
Start free in the sandbox at business.didit.me (no sales call). For developers, connect Didit to an AI assistant through the MCP server. The matching product page is Didit Liveness, and every module price and plan discount is on didit.me/pricing.
What deepfake prevention has to achieve in a video KYC flow
The goal is to make synthetic-face attacks fail while allowing genuine users through. A real user on a cheap phone in a dim room still can. Documented liveness, face-match, face-search and IP-analysis results include warning codes for listed conditions, which you can use in your review policy.
Four signals do that work together, and none of them is enough alone. Liveness answers whether a live three dimensional person is in front of the camera. Face Match answers whether that person is the owner of the document. Face Search answers whether that face has been here before or sits on your blocklist. Device and IP Analysis answers whether the device and network match the story the user is telling. Didit resolves more than 200 real-time fraud signals per session at sub-2-second p99 latency, so the four checks land in one decision payload.

Prerequisites
- A Didit account. The sandbox is free on every plan, and the Free plan includes $10 of credit a month for organizations that sign up with a work email.
- An API key from the Didit Business Console.
- A workflow containing ID Verification, Liveness and Face Match. Build it in the console or with
POST /v3/workflows/. See Workflow Builder. - A written policy per warning code before you go live. Decide now which codes decline, which go to review and which let the user retry.
- Image rules for any standalone call: jpg, jpeg, png, tiff or webp, maximum 5 MB. PDFs are not accepted.
- Prepaid credit for production runs. Sandbox testing is free and does not consume it.
How to add deepfake detection to video KYC, step by step
Create the workflow and add the three identity nodes. Add
ID_VERIFICATION, Liveness andFACE_MATCHto one workflow in the Business Console, or send the same configuration toPOST /v3/workflows/. Face Match needs the document portrait as the reference and the liveness selfie as the live image, so the three nodes belong in the same flow. Publish a version so every session references an immutable configuration.Choose the liveness method per risk tier. Set
face_liveness_methodtoPASSIVE,ACTIVE_3DorFLASHING. Passive liveness reads a single frame with a convolutional network and costs $0.10. The 3D action method (ACTIVE_3D) asks for a random action such as blinking or nodding, and the flashing method (FLASHING) projects dynamic light patterns and reads the reflections to build a depth map. Both cost $0.15. For banking, healthcare or government onboarding, use the 3D method. For low-risk re-checks, passive is enough.Set the thresholds and the retry budget.
face_match_score_decline_thresholddefaults to 30 on the standalone endpoint, andface_match_max_attemptsdefaults to 3 with a range of 1 to 3 per workflow node. Choose a threshold that reflects your false-positive budget, not the default, and keep at least two attempts so a dark selfie does not become a lost customer.Create the session. One call starts the flow and returns the URL you send the user to:
curl -X POST 'https://verification.didit.me/v3/session/' -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' -d '{"workflow_id":"YOUR_WORKFLOW_ID","vendor_data":"user-123","callback":"https://yourapp.com/post-kyc"}'Send the user into the flow. Open
session.url, or mount the Web or Mobile SDK. Device fingerprint and IP are collected in-band here, because IP Analysis has no standalone endpoint. Nothing extra is needed for the basic signal set.Read the decision. Call
GET /v3/session/{sessionId}/decision/or subscribe tosession.status.updated. Liveness results arrive inliveness_checks[], face match results inface_matches[]and device and IP results inip_analyses[].Act on the reason codes, not on the score alone. Decline on
LIVENESS_FACE_ATTACKandLOW_LIVENESS_SCORE. Reject onFACE_IN_BLOCKLIST. RoutePOSSIBLE_FACE_IN_BLOCKLIST,POSSIBLE_DUPLICATED_FACEandLOCATION_MISMATCH_WITH_DOCUMENTto review. Ask for a retry onNO_FACE_DETECTEDandMULTIPLE_FACES_DETECTED.Add a standalone check for images you already hold. If your own client captures the selfie, run passive liveness server to server before you trust the image. Keep
save_api_request=trueso the face is also screened against your blocklist and face index for duplicates:curl -X POST 'https://verification.didit.me/v3/passive-liveness/' -H 'x-api-key: YOUR_API_KEY' -F 'user_image=@./selfie.jpg' -F 'save_api_request=true' -F 'vendor_data=user-123'The same pattern applies to
POST /v3/face-match/withuser_imageandref_image, and toPOST /v3/face-search/withsearch_type=blocklisted_or_approvedwhen you are screening rather than de-duplicating.

Expected output
A completed session returns one decision payload with a status per node. Documented status values are Not Started, In Progress, Approved, In Review, Declined, Abandoned and Kyc Expired. The standalone passive liveness endpoint returns request_id plus a liveness object with status, method, score, user_image, warnings, face_quality and face_luminance. The payload below is illustrative, not a measured result. The shape you branch on looks like this:
{
"liveness_checks": [
{ "status": "Declined", "method": "ACTIVE_3D", "score": 0.11, "warnings": ["LIVENESS_FACE_ATTACK"] }
],
"face_matches": [
{ "status": "Approved", "score": 87, "warnings": [] }
],
"ip_analyses": [
{ "status": "In Review", "warnings": ["VPN_DETECTED"] }
]
}
Read that as three separate decisions. The face matched the document, so the identity is plausible. The liveness node declined with a presentation attack warning, so the session must not be approved. The network is behind a VPN, which on its own is a review signal, not a decline.

Failure cases and recovery
| Signal | Meaning | Recovery |
|---|---|---|
| HTTP 403 | Out of credits | Top up prepaid credit. Sandbox traffic is not billed. |
| HTTP 400 | Missing user_image, file above 5 MB, unsupported extension, or a PDF | Reject the upload client-side and ask for a jpg, png, tiff or webp under 5 MB. |
LIVENESS_FACE_ATTACK or LOW_LIVENESS_SCORE with status Declined | Presentation attack suspected | Do not approve. Escalate to review only if you have a secondary path, such as an in-branch check. |
FACE_IN_BLOCKLIST | Definitive blocklist hit | Decline and keep the face on the list. |
POSSIBLE_FACE_IN_BLOCKLIST | Borderline match under the hard threshold | Route to manual review with the match image. |
DUPLICATED_FACE | The face already verified under a different vendor_data | Merge or block per policy. Face Search returns Approved for pure duplicates, so apply the rule in your own code. |
NO_FACE_DETECTED, MULTIPLE_FACES_DETECTED | Capture problem, not fraud | Ask for a retry with one well-framed face and better light. |
LOW_FACE_MATCH_SIMILARITY | Selfie does not match the document portrait | The SDK shows coaching text and retries until face_match_max_attempts is used. Then the computed status applies. The standalone face match endpoint is single shot, with no retry budget. |
Empty ip_analyses[] | The SDK fingerprinting script was blocked by a privacy extension | Decide whether to fail closed or fall back to soft signals. |
VPN_DETECTED, PROXY_DETECTED, TOR_DETECTED, DEVICE_LINKED_TO_LIVENESS_ATTACK | Network or device risk | Decline, review or add another liveness step per your policy. A device already tied to a liveness attack is the strongest of these. |
Inputs and outputs
| Item | Direction | What it carries | Price (USD) |
|---|---|---|---|
| ID document capture | Input | Document portrait used as the Face Match reference | $0.15 |
user_image | Input | Live selfie, the liveness subject and the 1:N search subject | Included in the liveness check |
ref_image | Input | Reference portrait for a standalone 1:1 match | Face Match $0.05 |
face_liveness_method | Config | PASSIVE, ACTIVE_3D or FLASHING | $0.10 or $0.15 |
| Device fingerprint and IP | Input, in-band | Geo, ASN, VPN, proxy, Tor, duplicate device, recovered device | $0.03 |
liveness_checks[] | Output | Status, method, score, face quality, warnings | Same as the liveness check |
face_matches[] | Output | Similarity score 0 to 100, status, warnings | Same as the face match |
face_search | Output | Total matches, similarity percentage, blocklist flags, source of each match | $0.05 per search |
ip_analyses[] | Output | Warnings under the LOCATION bucket, including duplicated device and location mismatch | Same as the device and IP check |
session.status.updated | Output, webhook | Status change per session, so you do not poll | No separate fee |
Which steps cost money and where a human must decide
Each billed workflow step charges per completed check. Passive liveness is $0.10, active liveness $0.15, and face match $0.05. Standalone Face Search costs $0.05 per search. Face Search is automatic during supported session flows but has no configurable workflow node. ID verification is $0.15, device and IP analysis $0.03, and AML screening $0.20. Moving a workflow from passive to 3D liveness raises the per-check cost by $0.05, the concrete difference between the two methods. Reusable KYC, the Workflow Orchestrator, the SDKs and the MCP server carry no separate fee.
Three things stay with a person, not the model. First, any POSSIBLE_ code, because the whole point of the prefix is that confidence sits below the hard threshold. Second, duplicate faces, because merging two genuine accounts and blocking a fraudster look identical in the payload. Third, a session that exhausts its retry budget on capture quality rather than on fraud. Send those to review with the reason code attached so the reviewer starts from the signal instead of the video.

Worked cost example
Take 10,000 completed video KYC checks in a month. The full check is $0.33, and the price feed breaks it down as ID document verification $0.15 plus passive liveness $0.10 plus face match $0.05 plus device and IP analysis $0.03 = $0.33. At list price: 10,000 x $0.33 = $3,300.00.
Account for 3,000 Face Search searches to catch one persona spread across accounts: 3,000 x $0.05 = $150.00. Add AML screening on the 1,000 highest-risk sessions: 1,000 x $0.20 = $200.00. Total: $3,300.00 + $150.00 + $200.00 = $3,650.00.
On the Scale plan, which takes 10% off every Didit price, the same month is 10,000 x $0.297 = $2,970.00, plus 3,000 x $0.045 = $135.00, plus 1,000 x $0.18 = $180.00, giving $2,970.00 + $135.00 + $180.00 = $3,285.00 for the checks, alongside the $299 monthly plan fee and its $350 of monthly credit.
Best practices that hold up in production
- Tune thresholds against your own population. A default that works for a marketplace will over-decline a bank.
- Keep retries for capture problems and never for attack codes. A second attempt does not make
LIVENESS_FACE_ATTACKless likely. - Use blocklists at every layer: faces, documents, phone numbers and emails. Face blocklisting stops the same persona returning with a new fabricated identity, document blocklisting stops reuse of a stolen ID, and contact blocklisting catches compromised details.
- Tell users what the liveness step is for. The Academy walkthrough of the hosted flow is a good script for support teams.
- Review failed sessions weekly for patterns. A cluster of
LOW_FACE_MATCH_SIMILARITYin one country is usually a camera or lighting problem, not fraud. - Keep the workflow modular. If one country needs a 3D liveness step and another needs document capture only, that is a workflow configuration, not new code.
- Version before you publish. Sessions always reference the version they were created with, so a rule change never rewrites history.
Why teams run deepfake prevention on Didit
Didit Liveness reaches 99.9% accuracy with a false acceptance rate under 0.1%, and holds iBeta Level 1 and Level 2 presentation attack detection, per the liveness documentation and the Didit Liveness product page. Face Match, Face Search and device and IP analysis run in the same session, on the same open API. We publish every unit price on the pricing page and in machine-readable form, and 4,000+ companies run on the platform across 220+ countries. SOC 2 Type 2 and ISO/IEC 27001:2022 certification are current. If you are replacing an existing vendor, the switch guide covers migration.
Sources
- Didit docs: Liveness Detection API, deepfake prevention
- Didit docs: Face Match 1:1 API
- Didit docs: Face Search 1:N API
- Didit docs: Device Fingerprinting and IP Risk API
- Didit docs: ID Verification methods
- Didit docs: Workflow Builder
- Didit docs: Create Session API
- Didit docs: pricing and billing rules
- Didit pricing page, prices read November 26, 2026
- Didit pricing feed as JSON, read November 26, 2026
- Didit Liveness product page, read November 26, 2026
- Didit MCP server, read November 26, 2026
- Didit switch guide, read November 26, 2026
No third-party vendor pages are cited on this page. Every figure above comes from Didit documentation or the live Didit price feed, read on November 26, 2026.
Next step: open the sandbox at business.didit.me, build a workflow with ID Verification, Liveness and Face Match, and run one test session with a real selfie and one with a photo of a screen. No sales call.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
What is deepfake detection in KYC?
Deepfake detection in KYC is the set of checks that decide whether the face on camera belongs to a live person holding their own document, rather than to a synthetic or replayed image. It combines liveness analysis, a 1:1 comparison against the document portrait, a 1:N search for reuse and device and network signals. A single check is never enough on its own.
How does deepfake KYC prevention work on Didit?
A Didit session runs ID Verification, Liveness and Face Match in one hosted flow, and the device and IP signals are collected in-band. The decision payload lists a status and warning codes per node, so your code can decline attack codes, review borderline matches and retry capture problems. The full check costs $0.33 and inference runs at sub-2-second p99.
Can a deepfake pass passive liveness?
Passive liveness analyses a single frame for texture, reflection and artifact cues, so it catches printed photos, screen replays and many injected faces. It is the cheaper method at $0.10 and the faster one for the user. Against a determined attacker with a live rendered avatar, the 3D action and flashing method at $0.15 is the stronger choice because it requires an interaction and a physical depth response.
What is the difference between passive and active liveness for deepfakes?
Passive liveness reads one frame with no user action. The 3D action method asks for a random action such as blinking or nodding. The flashing method projects dynamic light patterns onto the face and reads the reflections to confirm a three dimensional surface. The security rationale is that a random action and a depth response are hard for a pre-recorded deepfake to reproduce on demand.
How do I choose AI deepfake detection for KYC?
Choose by risk tier, not by feature list. For banking, healthcare or government onboarding, run the 3D action or flashing method with Face Match and Face Search plus device and IP analysis. For low-risk re-authentication, passive liveness with Face Match is proportionate. Confirm the vendor publishes its unit prices and its warning codes, because you cannot build a review policy on codes you cannot see.
How much does deepfake prevention cost in video KYC?
On Didit the full check is $0.33 per completed session: ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03. Switching liveness to the 3D method adds $0.05, and a face search adds $0.05. The sandbox is free.
What happens when a liveness check fails?
A capture problem such as no face or multiple faces prompts a retry with guidance, and the session flow allows a configurable number of attempts. An attack code such as LIVENESS_FACE_ATTACK or a low score produces a Declined status that should not be overridden. A blocklist hit declines outright, while a possible blocklist hit goes to review.
Do I need a human to review deepfake cases?
Yes, for three categories: any warning prefixed POSSIBLE_, duplicate-face matches where you must decide between merging and blocking, and sessions that used their retry budget on image quality rather than on fraud. Many cases can be automated from the status and warning codes, subject to your policy.
Can face search stop the same deepfake persona across accounts?
Face Search runs a 1:N comparison against your previously approved users, your face lists and any retained biometric templates. It is automatic during supported session flows but has no configurable workflow node, and the standalone API covers images you hold outside a session. A blocklist match declines, a duplicate raises a warning you resolve by policy, and each search costs $0.05.
Can I run deepfake checks on a selfie I already captured?
Yes. POST /v3/passive-liveness/ takes one image and returns a liveness status, score, face quality and warnings. Use POST /v3/face-match/ with user_image and ref_image for a 1:1 score, and POST /v3/face-search/ for a 1:N check. Standalone calls are single shot, so build your own retry logic around them.
How accurate is Didit liveness detection?
Didit documents 99.9% accuracy with a false acceptance rate under 0.1%, and iBeta Level 1 and Level 2 presentation attack detection. Accuracy figures describe the model against its test population, so keep your own thresholds and your review queue regardless.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


