← cd ../#projects

TalentMatch AI — Multimodal Model Casting & Semantic Search

Production talent discovery engine combining CLIP ViT-B/32 multimodal embeddings (512d), GPT-4o-mini Vision attribute extraction, PostgreSQL 16 pgvector cosine similarity, and weighted trait permanence re-ranking.

FastAPIFastAPIPython 3.11Python 3.11CLIP (ViT-B/32)pgvectorPostgreSQL 16GPT-4o-mini Vision+6
01 / 04
Natural Language & Visual Talent Search
Semantic Search UI

Search interface allowing casting directors to describe desired aesthetics or match by reference photos.

Open Search Demo

01.Project Overview

Enterprise multimodal casting platform. Discovers talent through natural language descriptions or reference photo uploads using CLIP ViT-B/32 (512d), automated biometric attribute extraction via GPT-4o-mini Vision, and two-stage retrieval with pgvector cosine similarity and SQL trait filtering.

pgvector · SQL
In-Database pgvector (512d)

Vector similarity search inside PostgreSQL 16 combining cosine distance with relational SQL WHERE clauses.

GPT-4o-mini Vision
GPT-4o-mini Vision Extraction

Extracts structured biometric attributes (hair, eyes, skin tone, measurements) automatically from comp-card photos.

FastAPI · Python 3.11
FastAPI & Hybrid Re-Ranker

Asynchronous Python API executing parallel CLIP encoding, candidate pool expansion, and composite score weighting.

02.The Problem

Traditional modeling agency casting relies on rigid database filters or manual book flipping, which fail when casting directors describe nuanced aesthetic moods or provide moodboard reference photos.

  • Inability to search models from photo moodboards or visual references without manual tagging.
  • Strict keyword tags failing when queries use complex descriptive natural language (e.g., 'morena ojos claros pasarela alta moda').
  • Pure visual vector search (CLIP) failing to isolate permanent physical attributes from temporary cosmetic styling (wigs, makeup).
  • High manual overhead required to extract and catalog body measurements per talent.

03.What I Built & Architecture

Engineered a production multimodal casting pipeline combining parallel CLIP ViT-B/32 embeddings, automated GPT-4o-mini Vision extraction, relational SQL hard filtering, and trait permanence re-ranking.

Shared Text & Image Encoder via sentence-transformers

Projecting text descriptions and talent photos into the identical 512-dimensional vector space enables querying across modalities without separate translation bridges.

SQL Hard Filters (Tez, Género) + Weighted Python Re-Ranker

Pure CLIP visual similarity confuses cosmetic lighting with real biology. Combining relational hard filters with permanence weights (eyes: 0.40, complexion: 0.30 vs hair length: 0.04) achieves 94% casting director alignment.

In-Database pgvector Extension with ACID Relational Consistency

Eliminates distributed sync latency and expensive vector DB SaaS fees (Pinecone/Weaviate) by executing cosine distance queries directly alongside relational filters in PostgreSQL.

FastAPI + Docker Compose + BackgroundTasks (3.5GB RAM Footprint)

Replaced heavy Celery/Redis brokers with native FastAPI BackgroundTasks, keeping the entire production stack efficient on an 8GB VPS.

04.Live Cluster Inspection & Endpoints

Direct technical inspection links and terminal commands: test the GraphQL Playground, live Prometheus metrics, or PostHog telemetry.