Skip to content

Tony-tech-web/VirtualStylist

Repository files navigation

Virtual Stylist 👗✨

An AI-powered fashion assistant that analyzes your outfits, provides personalized style advice, and engages in warm, stylish conversations. Built with JavaFX and powered by Google Gemini and ElevenLabs.

🚀 Features

  • AI Outfit Analysis: Upload or drag-and-drop photos for a sophisticated critique based on Occasion, Style, Fit, Palette, and Vibe.
  • Voice Interface: Talk to your stylist using the built-in microphone support.
  • Premium Voice Synthesis: Experience warm, lifelike style advice powered by ElevenLabs (Voice: Rachel).
  • Interactive Chat: A sleek, sliding assistant drawer for deep dives into fashion queries.
  • Style History: Keep track of your previous looks and the stylistic advice received.
  • Modern UI: A premium dark-themed interface with glassmorphism elements and smooth animations.

🛠️ Tech Stack

  • Language: Java 17+
  • UI Framework: JavaFX
  • AI Brain: Google Gemini 2.5 Flash
  • Voice (TTS): ElevenLabs API (Fallback to Windows TTS)
  • Environment Management: dotenv-java

📋 Prerequisites

Before you begin, ensure you have the following:

  • JDK 17 or higher installed.
  • JavaFX SDK configured in your IDE or environment.
  • Google Gemini API Key: Get it here.
  • ElevenLabs API Key (Optional): Get it here.

⚙️ Setup & Installation

  1. Clone the repository:
    git clone [https://github.com/your-username/VirtualStylist.git](https://github.com/your-username/VirtualStylist.git)
    cd VirtualStylist

Configure Environment Variables: Copy .env.example to a new file named .env and add your API keys: env GOOGLE_API_KEY=your_gemini_api_key_here ELEVENLABS_API_KEY=your_elevenlabs_api_key_here Dependencies: Ensure the JAR files in the lib directory are included in your project's classpath. Key dependencies include: dotenv-java javafx libraries Run the Application: You can use the provided batch file (Windows): powershell .\VirtualStylist.bat Or run the Main class from your IDE. 📸 Usage Upload: Click "Upload" or drag an image into the frame. Configure: Select the Occasion, Style, and Vibe to refine the AI's perspective. Analyze: Click "Analyze Look" to get a detailed critique. Chat & Voice: Click the 💬 icon to open the assistant. Use the 🎙 button to ask questions via voice. History: Click "History" to view your stylish journey.

About

Your assistant in deciding your wears

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published