AI Hair Type Detection API

One API call, three angles, nine classifications. Unlock hyper-personalized product recommendations powered by AI that reads texture, curl pattern, and wave structure from a photo.

10 Hair Types - Full Spectrum Coverage

Powered by a 10-archetype curl detection model that maps every customer into one of nine precise categories — covering straight, wavy, curly, and coily hair in equal depth.

1: Straight

1: Straight

2A: Slight Wavy

2A: Slight Wavy

2B: Medium Wavy

2B: Medium Wavy

2C: Thick Wavy

2C: Thick Wavy

3A: Loose Curls

3A: Loose Curls

3B: Medium Curls

3B: Medium Curls

3C: Tight Curls

3C: Tight Curls

4A: Kinky Soft

4A: Kinky Soft

4B: Coily

4B: Coily

4C: Extremely Coily

4C: Extremely Coily

AI Hair Type Detection API: Classify Hair Types with Precision

AI Hair Type Detection API analyzes hair from three angles and classifies it into one of nine categories. Delivering objective, consistent results your recommendation engine can rely on.

Three-Angle Photo Analysis for Reliable Hair Type Detection

A single photo doesn't tell the whole story. By analyzing front and both side angles simultaneously, our model captures true curl pattern and texture depth — not just the surface layer.

 

The engine validates angle, face size, and lighting before inference runs. Invalid inputs are caught early with descriptive error codes rather than silently misclassifying.

7,000+ Training Images for Reliable Hair Type Classification

The AI Hair Type Detection API is trained on over 7,000 hair images across the full curl spectrum — from Type 1 Straight to Type 4C Extremely Coily. 

 

This extensive training enables the model to deliver boundary-level classification, returning a precise range between two adjacent hair types rather than a single forced category. The result is a more accurate and actionable output for downstream recommendation systems.

How Does the AI Hair Type Detection API Work

Step1
step icon
Upload 3 images

Upload front, left 45°, and right 45° photos via the File API.

Step2
step icon
Run detection task

Submit the three file_id values to the task endpoint. The engine starts processing and returns a task_id.

Step3
step icon
Poll and retrieve result

Poll the status endpoint using task_id until status transitions from running to success. Retrieve the mapping and term values from the response.

Built for Beauty Brands, E-commerce, and Salons

Haircare e-commerce
Haircare e-commerce

Replace the generic "shop by hair type" filter with an AI-driven recommendation engine that surfaces the right shampoo, conditioner, or treatment for each individual customer — and increases add-to-cart confidence.

Salon & stylist tools
Salon & stylist tools

Give stylists an AI-assisted intake form. Before a client even sits in the chair, their hair profile is ready — curl pattern, texture category, and type classification — speeding up consultation and reducing miscommunication.

Beauty apps & platforms
Beauty apps & platforms

Add a personalization layer to any beauty app. Users complete a hair analysis in under a minute, and every product recommendation, tutorial, and routine suggestion that follows is tailored to their actual hair type.

Built for Seamless API Integration

  • Photo upload or real-time camera capture
  • Web SDK, iOS & Android SDK, Kiosk Machines, and REST API

Flexible API Plans for Business Growth

Our API pricing is designed to scale with your ambitions, start small and grow with pay-per-use scalable API!

  • 40 Free trial units available for initial testing
  • Full access to virtual try-on features
  • Developers documentation for faster setup

Our API Supports All The Major Frameworks

JavaScript & Java

JavaScript & Java

Flutter

Flutter

Python

Python

PHP

PHP

Node.js

Node.js

cURL

cURL

Benefits for Brands

  • Boost engagement and conversions with personalized results
  • Reduce consultation time and consumers' subjectivity
  • Scale dermatologist-grade precision globally

Benefits for Developers

Give engineering teams a predictable API workflow that is easy to integrate into existing systems. 

  • Use a simple REST pattern with JSON bodies and Bearer authentication. 
  • Build async processing around task creation and status polling. 
  • Start quickly with request examples across major backend languages. 

See What Others Say About Our Hair APIs

AI Virtual Try-on and Hairstyle Changer
AI Virtual Try-on and Hairstyle Changer

Using Generative AI to fully redo images and also hairstyles. You can test out and build apps of virtual try-ons, hair stylers, and color changers  we're going to take a look at all the different features that are available.

API for AI Hair
API for AI Hair

Powered by AI and computer vision, AI Hair enables fast, consistent digital hair analysis and hyper-realistic virtual try-on experiences that can be deployed across mobile apps, e-commerce platforms, and in-store smart mirrors.

Smart Mirrors with Haircut Filters
Smart Mirrors with Haircut Filters

A smart mirror in a salon setting is a sophisticated device that merges a traditional reflective surface with AR and AI capabilities. It's more than just a mirror; it's an interactive portal for personalized beauty exploration.

AI Hair Type Detection API FAQ