Mira is a comprehensive AI-powered application designed to streamline marketing creative workflows. It integrates advanced generative AI capabilities to help teams create, edit, and manage marketing assets with ease. Built with React, Vite, and Tailwind CSS, it offers a modern, responsive interface for various AI media tasks.
Mira serves as a central hub for several powerful AI tools:
- Virtual Try-On: Visualize clothing on different models.
- Product Catalog: Manage and reference your product assets.
- Models Service: Configure and select AI models for your generations.
- AI Model Generation: Create custom AI fashion models.
- Background Swap: Instantly replace product backgrounds with professional scenes.
- Eyewear Try-On: Specialized visualization for eyewear products.
- Ad Creative: Generate complete ad creatives based on product data.
- Frontend: React + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- Icons: Lucide React
- Routing: React Router
- AI Integration: Google Gemini API & OpenRouter
- Node.js (v18 or higher recommended)
- npm or yarn
- A valid API Key from Google AI Studio (Gemini) or OpenRouter.
-
Clone the repository:
git clone https://github.com/yourusername/mira-ui.git cd mira-ui -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173(or the port shown in your terminal).
To use the AI features, you need to configure your API key within the application:
- Click the Settings button (gear icon) in the top-right corner of the app.
- Select your preferred AI Provider (Google Gemini or OpenRouter).
- Enter your API Key.
- The key is saved locally in your browser, so you don't need to re-enter it every time.
src/pages: Individual feature pages (Virtual Try-On, Ad Creative, etc.).src/components: Reusable UI components.src/lib: core logic, includingai-engine.ts(AI integration) andimage-processing.ts.
Mira is currently optimized to use the Gemini 3 Pro Image Preview model for high-quality multimodal generation.
