Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

didit-passive-liveness

bởi rosasalberto

Image & Video Generation
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Integrate Didit Passive Liveness standalone API to verify a user is physically present.

Mô tả

Kỹ năng này làm gì

Calls the Didit Passive Liveness API to verify that a captured image shows a physically present person. Analyzes a single JPEG, PNG, WebP, or TIFF image and returns a liveness score, face quality rating, and luminance value. Detects spoofing attempts including printed photos, screen captures, masks, and deepfakes.

Single-image passive analysis needs no user interaction, cutting friction while maintaining 99.9% liveness detection accuracy.

Khi nào nên dùng

  • Blocking bot signups by checking selfie liveness at registration
  • Gating high-risk transactions with a real-person check
  • Flagging deepfake or printed-photo fraud attempts
  • Confirming physical presence before KYC identity verification
  • Detecting duplicate faces across sessions to prevent account sharing

Quy trình ví dụ

ĐẦU VÀO

User asks: check whether selfie.jpg is a real person

AGENT
  1. 1

    Reads selfie.jpg from disk

  2. 2

    POSTs the image to the Didit passive liveness endpoint with the DIDIT_API_KEY header and an 80-point decline threshold

  3. 3

    Parses the response liveness.status field

  4. 4

    If Declined, extracts the warnings array to identify the failure reason

  5. 5

    Returns the status, liveness score, face quality, and any warning tags

ĐẦU RA

Liveness status 'Approved' with score 95, face_quality 85.0, and no warnings, or 'Declined' with a LIVENESS_FACE_ATTACK warning if spoofing is detected

Yêu cầu

  • DIDIT_API_KEY environment variable
  • Didit Business Console account at business.didit.me

Cài đặt

clawhub install rosasalberto/didit-passive-liveness

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết