Skip to content
TakoAPI
Back to skills

didit-age-estimation

by rosasalberto

Image & Video Generation
—Not yet rated
Your rating

Brief

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

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

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

AGENT
  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

OUTPUT

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

Requirements

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

Installation

clawhub install rosasalberto/didit-age-estimation

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links