跳到正文
TakoAPI
返回技能列表

didit-age-estimation

由 rosasalberto 提供

Image & Video Generation
—暂无评分
你的评分

简介

Integrate Didit Age Estimation standalone API to estimate a person's age from a facial image.

描述

该技能的功能

Estimates a person's age from a facial image using Didit's deep learning API. Returns an age estimate, liveness confidence score, and a pass/fail status in a single call. Supports configurable thresholds, per-country age restrictions, and an adaptive mode that falls back to ID verification for borderline cases.

Passive liveness detection runs in the same API call as age estimation, so spoofing checks require no separate verification step.

何时使用

  • Age-gating access to alcohol or adult content websites
  • Verifying buyer age at checkout for restricted products
  • Enforcing minimum age on gambling or gaming platforms
  • Blocking minors from signing up for age-restricted apps
  • Per-country age restriction compliance with automatic ID fallback

示例工作流

输入

User asks: add an age gate to my web app that blocks users under 18

智能体
  1. 1

    Capture a selfie from the user via webcam or file upload

  2. 2

    POST the image to the /v3/age-estimation/ endpoint with the x-api-key header set

  3. 3

    Read liveness.status from the response to get Approved, Declined, or In Review

  4. 4

    If Approved and age_estimation >= 18, grant access; if Declined, check warnings for AGE_BELOW_MINIMUM

  5. 5

    If In Review, trigger ID verification fallback or route to manual review

输出

User either gains access or is blocked, with age_estimation and liveness score available for compliance logging

前置要求

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

安装

clawhub install rosasalberto/didit-age-estimation

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接