P'STYLST
An AI-powered Personal Stylist Intelligence platform designed to help people make smarter fashion decisions with confidence.

My Role
Product Engineer (End-to-End)
Team Size
Solo / AI-Assisted
Status
Live
Platform
Web Application
Overview
Executive Summary
P'STYLST is an intelligent digital platform that democratizes personal styling. It was built to solve a fundamental disconnect in the fashion industry: the gap between knowing what clothes look good and knowing what clothes look good on you.
By combining computer vision, body analysis, and advanced LLMs, P'STYLST provides bespoke wardrobe intelligence that was previously only accessible via high-end personal stylists. This matters because confidence is inherently linked to personal presentation, and technology should empower individuals to look and feel their best.
Context
The Problem
Fashion e-commerce suffers from a massive returns problem (often exceeding 30%) because users buy clothes that don't suit their body type or skin tone.
- Current Situation: Users rely on generic size charts and model photos.
- Pain Points: Decision paralysis, buyer's remorse, and wasted money on clothes that don't fit well.
- Market Gap: No affordable, personalized, data-driven styling solution exists for the average consumer.
- Business Challenge: High return rates destroy e-commerce profit margins.
North Star
Product Vision
Mission: To eliminate wardrobe anxiety through personalized data intelligence.
Vision: A world where every individual has a trusted digital stylist in their pocket, ensuring they only buy what truly complements them.
North Star Metric: Confidence Score (measured by user survey post-recommendation) and Outfit Generation retention rate.
Research & Insights
Competitor Analysis
Most competitors rely on static quizzes. Very few utilize computer vision for real-time body analysis.
User Personas
Targeting young professionals who care about appearance but lack the time or knowledge to curate a personalized wardrobe.
Pain Points
Users are overwhelmed by choice. They don't want more clothes; they want the right clothes.
Opportunity
Providing a generative AI interface that translates physical attributes into specific clothing categories.
Go-To-Market
Product Strategy
Business Model: Freemium access to basic body analysis, with a premium subscription for unlimited wardrobe generation and occasion-specific styling.
MVP Strategy: Focus heavily on the accuracy of the computer vision body analysis first. If the foundation is wrong, the LLM recommendations will be useless. Prioritize a mobile-first web experience to leverage device cameras easily.
Specifications
Requirements
- Functional: Real-time body scanning, wardrobe digitization, outfit generation based on weather/occasion.
- Non-functional: Sub-2-second latency on initial AI generation. Mobile-first responsiveness.
- AI Requirements: High accuracy in edge-based facial/body landmark detection. Guardrails against inappropriate image uploads.
Core Engine
AI Implementation
AI is the brain of P'STYLST. I chose to use a hybrid approach to balance performance, cost, and privacy.
- Computer Vision (Edge): Used TensorFlow.js for immediate, private body and face analysis on the user's device. No images are sent to the server for this step.
- Recommendation System (Server): Integrated OpenAI's LLMs via structured outputs to generate semantic clothing recommendations based on the edge-computed physical data.
- Guardrails: Implemented strict moderation endpoints and fallback logic to handle edge cases where the CV model fails to detect landmarks accurately.
Architecture
Engineering Decisions
Why Next.js? SSR was critical for perceived performance, and the app router provided seamless integration between frontend UI and backend AI routes.
Trade-offs: Running TensorFlow.js on the client increases the initial JS bundle size. I mitigated this by dynamically importing the heavy CV modules only when the user enters the scanning flow, keeping the landing page incredibly fast.
Key Features & Challenges
Real-time Body Analysis
Problem: Users don't know their measurements. Solution: CV edge model. Challenge: Lighting variations affecting model accuracy. Mitigated via UI guidance.
Semantic Outfit Generation
Problem: Hard-coded logic is too rigid for fashion. Solution: LLM-driven generation. Challenge: Hallucinations. Mitigated via strict prompt engineering and structured JSON outputs.
Latency Spikes
Challenge: AI inference can take 5+ seconds. Solved by implementing optimistic UI updates and skeletal loading states to maintain perceived performance.
Privacy Concerns
Challenge: Users hesitant to upload photos. Solved by processing sensitive data entirely on the client-side.
Impact & Results
94%
User Satisfaction
4.5m
Avg Session Time
<2s
Inference Latency
100
Core Web Vitals
What's Next
Future Roadmap
- Short-term: Implement advanced caching for generated outfits to reduce LLM API costs.
- Mid-term: Direct e-commerce integrations to allow users to buy generated outfits immediately.
- Long-term: AR try-on capabilities directly in the browser.
Looking Back
Reflection
Building P'STYLST fundamentally shifted my perspective on product engineering. It taught me that an AI model is only as valuable as the user experience surrounding it. The biggest learning was managing state between heavy client-side ML models and server-side LLMs gracefully.
Technology Stack
Frontend
Backend
AI & Data
Next Project
View Case Study