DEV Community

Cover image for Hairstyle AI Try-On ✂️🤖
Zul Ikram Musaddik Rayat
Zul Ikram Musaddik Rayat

Posted on

Hairstyle AI Try-On ✂️🤖

This is a submission for the Google AI Studio Multimodal Challenge

What I Built

What if, before getting a haircut, you could actually see how you’d look?
Hairstyle AI Try-On lets you upload your photo and instantly preview multiple hairstyles, complete with AI-generated ratings to help you find your perfect match.

This app solves a very real problem: most of us take a risk when we try a new hairstyle. By using multimodal AI, you can confidently test different styles virtually before visiting the barber.

Demo

🔗 Live Demo Link

Screenshots

Initial State (upload your photo):

Initial

Add Image

Start Processing

AI-Generated Hairstyles:

Hairstyle 1

Hairstyle 2

How I Used Google AI Studio

  • I built and deployed the entire experience on Google AI Studio.
  • The backend runs on Cloud Run, making it scalable and easy to deploy.
  • Gemini was used for image understanding (detecting the face and aligning hairstyles) and content generation (evaluating & scoring hairstyles).

Multimodal Features

  • Image Understanding: The uploaded photo is analyzed to detect face features and properly overlay hairstyles.
  • Image Generation/Transformation: Hairstyles are applied virtually, with realistic blending to match lighting and head shape.
  • Text + Scoring Output: Gemini provides natural-language feedback and a numerical “style score” (e.g. 8.5/10 for Curly Fringe).

This mix of visual + evaluative output makes the experience both fun and practical.

Why This Matters

  • Delightful user experience: Try on hairstyles virtually, no risk.
  • Practical application: Helps people make confident styling decisions.
  • Shows multimodal power: Combines vision, generation, and evaluation in one workflow.

Team

Solo submission by @devrayat000

Closing Thoughts

This project demonstrates how Gemini’s multimodal capabilities can power consumer-friendly, real-world experiences. It’s fun, engaging, and practical — all in one.

Top comments (0)