Zenvora
All case studiesTrust & safety · AI

Rizz AI Gender Service

FastAPI + InsightFace ONNX inference for gender-age signals—isolated from matchmaking with commercial-safe model governance.

2024

  • FastAPI
  • Python
  • InsightFace
  • ONNX
  • NestJS
AI verification pipeline—face inference API and age gate integration

Context

Face inference is license-sensitive and CPU-heavy—it cannot share a process with sub-second matchmaking without tail-latency risk and unclear model governance.

Build

We isolated ai-service as Python 3.12 + FastAPI with explicit model directories and disabled auto-downloads, exposing narrow REST contracts the NestJS gender-verification module can timeout and degrade gracefully.

Client: Rizz Roulette

Impact

  • Gender verification callable without blocking unrelated API traffic
  • Clear separation between research-grade weights and production policy
  • Room to add future inference modules without monolith growth