didit-passive-liveness

Analyze a single image with the Didit Passive Liveness API to verify user presence.

23|4|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/didit-protocol/didit-agent-skills --skill didit-passive-liveness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: didit-passive-liveness
Source: https://github.com/didit-protocol/didit-agent-skills/tree/main/skills/didit-passive-liveness
Command: npx skills add https://github.com/didit-protocol/didit-agent-skills --skill didit-passive-liveness

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Verifying user presence to prevent fraud in identity workflows by analyzing a single image and determining if a real person is present, while detecting spoofing attempts.

Core Features & Use Cases

  • Returns a liveness score, face quality, and luminance metrics for a single image.
  • Detects spoofing attacks (prints, screens, masks) and duplicates across sessions to improve security.
  • Suitable for onboarding, KYC, and high-security authentication flows where non-interactive liveness is required.

Quick Start

Send a single user image to the Passive Liveness API to receive a liveness score and related metrics.

Frequently Asked Questions about didit-passive-liveness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify user presence for identity verification using a single image?

You can verify user presence by sending a single image to the Passive Liveness API. It analyzes the image to determine if a real person is present and returns a liveness score, face quality, and luminance metrics for identity verification.

Does passive liveness detection work for non-interactive onboarding flows?

Yes, passive liveness detection is specifically designed for non-interactive onboarding flows. It assesses user presence from a single image without requiring active user interaction, making it suitable for KYC and high-security authentication.

How does single-image liveness detection prevent spoofing attacks?

Single-image liveness detection prevents spoofing by analyzing one image to detect prints, screens, and masks. It identifies spoofing attempts and duplicates across sessions to improve security in identity workflows.

Can I configure the liveness threshold and face quality metrics via API?

Yes, the API integration supports configurable thresholds for liveness assessment. It returns face quality and luminance metrics alongside the liveness score, allowing you to adjust security parameters for your specific anti-spoofing needs.

What do I need to integrate the Didit Passive Liveness API for anti-spoofing?

You need the requests library to handle API integration with x-api-key authentication. The API requires a multipart/form-data image upload to process the single image and return the anti-spoofing liveness analysis.

What is the best way to detect duplicates across sessions during KYC onboarding?

Using a passive liveness API is an effective way to detect duplicates across sessions during KYC onboarding. By analyzing a single image, it identifies duplicate submissions and spoofing attempts while providing a liveness score.