Inspiration

Millions of people struggle to find a haircut that suits their face. Traditional hairstyle apps are generic, lack personalization, and ignore key factors like face shape, ethnicity, or hair texture. We wanted to build an LLM-powered assistant that feels like a smart, AI-native barber — offering tailored, photorealistic hairstyle and beard suggestions instantly.

What it does

Barber AI is an end-to-end web application that analyzes a user's face (shape, gender, age, ethnicity) using deep learning and Base44’s InvokeLLM APIs. It then generates personalized, high-fidelity hairstyle and beard previews using generative image models, all displayed in real-time with watermark-protected outputs.

How we built it

Frontend: Built with React, Tailwind CSS, and shadcn/ui

Backend: Powered by Base44 platform for LLM inference, storage, auth, and image generation

LLM Integration: Used Base44’s InvokeLLM to analyze facial attributes and GenerateImage API to create realistic hairstyle previews

Auth & Data: User login, file storage, and attempt tracking all handled securely via Base44’s backend

Challenges we ran into

Fine-tuning face shape detection for edge cases (e.g. side-angled photos)

Ensuring image generation matched ethnicity and gender expectations accurately

Reducing image generation latency to maintain a smooth user experience

Creating UI/UX that feels premium and intuitive despite fast development cycles

Accomplishments that we're proud of

Integrated multiple AI capabilities into one smooth pipeline: analysis → recommendation → preview

Built a full-stack production-grade app in under 72 hours

Achieved accurate, real-time hairstyle generation tailored to the user’s facial features

Created a scalable foundation for future AI personalization products

What we learned

How to use LLMs beyond text: classification, inference, and creative generation

The importance of matching user expectations with visual output (bias, representation)

Speed vs. quality tradeoffs in generative AI pipelines

Deploying AI-first apps with secure, scalable architecture using Base44

What's next for Barber AI

Launching mobile support and native camera integration

Adding 3D hairstyle previews and fade/guard-level cutting guidance for barbers

Introducing a “live AI assistant” for barbershop use — giving real-time, voice-activated suggestions

Monetizing with freemium model and advanced style packs

Expanding the app for different hair types, cultures, and styling goals (e.g. professional, casual, edgy)

Built With

  • generateimageapi
  • invokellmapi
  • react
  • shadcn/ui
  • tailwindcss
Share this project:

Updates