AI-powered personal stylist that analyzes your outfit photos and finds real shoppable products from Myntra, Amazon, and more — in seconds.
STYL-new.mp4
🌐 Live Demo: styl-style-trend-your-look-frontend.onrender.com
STYL is a multimodal AI fashion assistant with two core features:
- Complete My Fit — Upload a photo of your shirt and/or pants, pick an occasion, and STYL analyzes your outfit using Gemini Vision AI and recommends real shoppable shoes, tops, or bottoms that complete your look.
- Occasion Stylist — Tell STYL your occasion, style preference, gender, and budget — it builds a complete outfit from scratch and finds real products within your budget from Indian shopping platforms.
No generic suggestions. Real products. Real you.
- 📸 Multimodal Vision Analysis — Gemini 2.5 Flash sees your actual clothing items and extracts color, style, fit, and vibe
- 🤖 Multi-step Agent Pipeline — LangChain agents reason across vision output, style matching, and product search
- 🛍️ Real Product Search — SerpApi Google Shopping returns live products from Myntra, Amazon, Flipkart, Snitch, and more
- 💰 Budget-aware Curation — Occasion Stylist splits your budget smartly across items and filters products by price
- 👗 Fashion Intelligence — Color harmony rules, occasion-appropriate footwear, gender-specific styling baked into every recommendation
- ⚡ Fast API Backend — Async FastAPI with modular agent architecture
- 🎨 Editorial UI — Clean, fashion-forward frontend with cream/terracotta palette
User Input (Image / Text)
↓
FastAPI Backend
↓
┌─────────────────────────────────┐
│ Agent Pipeline │
│ │
│ Vision Agent (Gemini Vision) │
│ ↓ │
│ Style Agent (LangChain LLM) │
│ ↓ │
│ Search Agent (SerpApi) │
└─────────────────────────────────┘
↓
Real Products + Recommendations
↓
HTML/Tailwind Frontend
| Layer | Tech |
|---|---|
| Frontend | HTML, Tailwind CSS, Vanilla JS |
| Backend | FastAPI, Python |
| Vision AI | Google Gemini 2.5 Flash |
| LLM Orchestration | LangChain |
| Product Search | SerpApi Google Shopping |
| Deployment | Render |
STYL/
├── backend/
│ ├── main.py # FastAPI routes
│ ├── agents/
│ │ ├── vision_agent.py # Gemini Vision analysis
│ │ ├── style_agent.py # Style recommendations
│ │ ├── occasion_agent.py # Occasion outfit planning
│ │ └── search_agent.py # SerpApi product search
│ ├── utils/
│ │ └── image_utils.py # Base64 image helpers
│ └── requirements.txt
├── frontend/
│ ├── index.html # Landing page
│ ├── complete-fit.html # Mode 1 — Complete My Fit
│ └── occasion.html # Mode 2 — Occasion Stylist
└── README.md
git clone https://github.com/krishpatel2-prog/STYL.git
cd STYLcd backend
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -r requirements.txtCreate a .env file inside backend/:
GEMINI_API_KEY=your_gemini_api_key
SERPAPI_API_KEY=your_serpapi_key
uvicorn main:app --reload --port 8000cd ../frontend
python -m http.server 3000Open http://localhost:3000 in your browser.
| Field | Type | Description |
|---|---|---|
shirt |
File (optional) | Shirt image |
pants |
File (optional) | Pants image |
occasion |
String | e.g. Date, Party, Office |
gender |
String | masculine / feminine / neutral |
Response: Vision analysis + occasion match score + stylist verdict + real product recommendations
| Field | Type | Description |
|---|---|---|
occasion |
String | e.g. Date, Wedding |
style |
String | e.g. Classic, GenZ, Streetwear |
gender |
String | masculine / feminine / neutral |
budget_min |
Int | Minimum budget in INR |
budget_max |
Int | Maximum budget in INR |
Response: Complete outfit plan + real products within budget
Both services deployed on Render:
- Backend — Render Web Service (Python)
- Frontend — Render Static Site
Krish Patel — 2nd year B.Tech AI & Data Science, KJ Somaiya Institute of Technology
Powered by Gemini AI · Built with ❤️ and FastAPI