Your Style, Your Story: Fashion Reimagined with GenAI
FashionGen is a GenAI-powered fashion platform that redefines online shopping by making it personal, inclusive, and engaging. With features like personalized outfit recommendations, a virtual try-on, and culturally resonant style suggestions, FashionGen adapts to diverse backgrounds and speaks your language. Users can explore trends, receive real-time fashion advice, and shop effortlessly through Amazon, creating a truly global fashion experience.
- Personalized Style Recommendations
- Conversational AI for Multilingual Fashion Advice
- Virtual Try-On for Confidence in Purchases
- Up-to-Date Fashion Trends
- Amazon Integration for Easy Shopping
- Cultural Sensitivity with Upcoming Festive Suggestions
ReactJS, Node.js, Flask, MongoDB, SQL, Firebase, OpenAI, Stable Diffusion, Gemini
- Download the dataset from Kaggle.
- Extract the downloaded dataset in
website/server/product_images. - Copy the
imagesfolder from the extracted dataset (fashion-dataset) towebsite/server/product_images.
- Download the trained model zip file from Google Drive.
- Extract the zip file in
flaskApi/models/.
-
Navigate to Flask API Directory
cd flaskApi -
Create Python Virtual Environment
python -m venv env
-
Activate Virtual Environment On macOS/Linux:
source env/bin/activateOn Windows:
env/Scripts/activate
-
Install Requirements
pip install -r requirements.txt
-
Set Up Environment Variables Create a .env file in the flaskApi directory to store environment variables.
touch .env
Add the following environment variables to the .env file.
OPENAI_API_KEY= GEMINI_API_KEY= SEGMIND_API_KEY=
-
Run Flask Server
python app.py
-
Ensure MySQL is installed and running on your system
-
In the MySQL client, create a new database for the project
CREATE DATABASE fashionkart;
-
Import the fashionkart.sql file located in the root directory to set up the initial database structure and sample data
mysql -u username -p fashionkart < fashionkart.sqlReplace username with your MySQL username and provide your password when prompted.
-
Navigate to Website Server Directory
cd website/server -
Install Dependencies
npm install
-
Run Development Server
npm run dev
Visit http://localhost:8000/ in your web browser to access.