Inspiration
In a world where social media treats “looks” as the ultimate click-bait, AI Beauty Rating was born to let people receive a fun yet insightful “beauty report” in seconds.
We started with two pain points:
- Subjective opinions vary – asking friends for a score is random and biased.
- No actionable feedback – most online tests give a single number without explaining why.
Our goal: analyse facial symmetry, features, and even “celebrity similarity” so that anyone can understand their appearance in a structured, data-driven way.
What it does
- One-click selfie upload – mobile & desktop, JPEG / PNG supported.
- Multi-dimensional scoring – overall score plus eyes, brows, nose, lips, jaw, skin, symmetry.
- Celebrity look-alike – compares facial vectors against a public image database and lists the top 3 matches.
- Share-ready social tags – GPT-4o generates catchy personality tags for instant sharing on IG / Threads.
- Privacy first – images are encrypted in the browser, processed in memory, then destroyed; nothing is stored.
How I built it
| Layer | Tech / Service | Key Details |
|---|---|---|
| Front-end | Next.js · TypeScript · Tailwind CSS | Hybrid CSR + SSR for fast first paint and SEO |
| AI Inference | Python FastAPI (GPU) | MediaPipe FaceMesh, OpenCV, and a fine-tuned aesthetic model |
| Text Gen | OpenAI GPT-4o | Produces personalised explanations, social tags, FAQs |
| Deployment | Cloudflare Pages & Workers | Images cached with Workers KV; inference API uses R2 for temp storage |
| Analytics | Vercel Web Analytics | Tracks usage, share clicks, and geo distribution |
Challenges I ran into
Aesthetic bias & data fairness
- Different ethnicities and ages were under-represented.
- Solution: data augmentation, stratified sampling, and a demographic-balanced loss function.
- Different ethnicities and ages were under-represented.
Privacy regulations (GDPR / PIPL)
- Must honour the “right to be forgotten” and keep temp files <30 s.
- Solution: in-memory pipelines; data wiped immediately after scoring.
- Must honour the “right to be forgotten” and keep temp files <30 s.
Model cost vs. speed
- GPU inference is pricey.
- Solution: ONNX + TensorRT quantisation → 60 % faster, 40 % cheaper.
- GPU inference is pricey.
Accomplishments that I'm proud of
- MVP shipped in 3 weeks; 5 000 unique visitors within 48 h.
- Featured in Product Hunt’s “Today’s Top 10” and Indie Hackers newsletter.
- Tri-lingual support (EN / ZH / JP) with a 22 % average share conversion rate.
What I learned
- Balancing accuracy and ethics – beauty scoring must address bias, not amplify it.
- Programmatic SEO – long-tail keyword coverage on the landing page increased organic traffic by 30 %.
- End-to-end privacy – a zero-storage strategy dramatically cut compliance overhead.
What’s next for AI Beauty Rating
- Hair-style & makeup previews – integrate Stable Diffusion to simulate new looks.
- Public API –
/v1/beauty-scorefor camera apps and photo studios. - Live video mode – WebRTC for real-time beauty scoring and filter suggestions in streaming.
Beauty has no single standard, but data can help us understand ourselves better.
AI Beauty Rating will keep refining fairness and playful interactions, using tech to boost confidence—not anxiety.
Built With
- next
- typescript
Log in or sign up for Devpost to join the conversation.