AI-Powered Fashion Design Pipeline - Create professional fashion designs from concept to runway
Transform your fashion ideas into reality with our complete AI-powered design workflow: Prompt β Sketch β Colors β Model β Runway Video
- Step 1: Text prompt β Professional fashion sketch
- Step 2: Color selection β Colored design
- Step 3: Model generation β Fashion photography
- Step 4: Runway video β Professional fashion show
- google/nano-banana - Fashion sketches, coloring, and model photography
- google/veo-3 - Professional runway video generation
- Replicate API - Seamless AI model integration
- Hand-drawn fashion designer sketch style
- No text, labels, or watermarks
- Clean professional backgrounds
- Fashion week quality runway videos
- Downloadable PNG images and MP4 videos
- Node.js 18+
- Replicate API Token (Get one here)
-
Clone the repository
git clone <your-repo-url> cd muse-sketch-studio
-
Install dependencies
npm install
-
Set up environment variables
cp env.example .env # Edit .env and add your Replicate API token: # REPLICATE_API_TOKEN=your_actual_token_here
-
Start the application
# Start backend (Terminal 1) node simple-server.js # Start frontend (Terminal 2) npm run dev
-
Open your browser
http://localhost:8080
Create a .env file in the root directory:
REPLICATE_API_TOKEN=your_replicate_api_token_here
MODEL_ID=google/nano-banana
PROMPT_TEMPLATE=professional fashion designer sketch, hand-drawn style, clean pencil lines
β οΈ Security Note: Never commit your.envfile or share your API tokens. The.envfile is already added to.gitignore.
| Endpoint | Method | Description |
|---|---|---|
/api/health |
GET | Server health check |
/api/generate-sketch |
POST | Generate fashion sketch |
/api/add-colors |
POST | Add colors to sketch |
/api/generate-model |
POST | Create model photo |
/api/generate-runway |
POST | Generate runway video |
- Enter your design prompt (e.g., "elegant evening gown")
- Select garment type from dropdown
- Click "Generate Sketch"
- Wait 10-15 seconds for AI generation
- Select colors from the palette
- Click "Add Colors"
- AI preserves the sketch structure while adding colors
- Click "Generate Model Photo"
- AI creates professional fashion photography
- Model wearing your colored design
- Click "Create Runway Video"
- AI generates professional runway show
- Takes 5-20 minutes for video generation
- Download PNG images at each step
- Download MP4 runway video
- Share your complete fashion collection
src/
βββ components/
β βββ FashionPipeline.tsx # Multi-step workflow UI
β βββ FashionCanvas.tsx # Display generated content
β βββ ui/ # Reusable UI components
βββ pages/
β βββ FashionDesignTool.tsx # Main application page
βββ hooks/ # Custom React hooks
simple-server.js # Express API server
βββ Replicate API integration
βββ Multi-step fashion pipeline
βββ Professional AI prompts
βββ Error handling & timeouts
Professional fashion designer sketch, hand-drawn style, clean pencil lines,
technical fashion illustration, [garment], [user prompt].
Pure sketch only, no text, no labels, no annotations, no background elements,
white/cream paper background, detailed garment construction lines,
professional fashion croquis style, elegant proportions, fashion design studio quality
Add colors to this professional fashion designer sketch, maintain the exact same design and proportions,
keep the hand-drawn sketch aesthetic, professional fashion illustration style,
no text or labels, clean background. Preserve the original sketch lines and structure
while adding the specified colors to the garment.
Professional fashion runway show, [walk style], model walking confidently down the runway,
smooth fluid motion, elegant stride, high fashion presentation, professional lighting,
fashion week atmosphere, cinematic quality, no text or watermarks,
luxury fashion show environment, seamless loop motion
- Frontend: React 18, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Node.js, Express.js (built-in modules only)
- AI: Replicate API (google/nano-banana, google/veo-3)
- Build: Vite, ESLint, PostCSS
npm run dev # Start frontend development server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Run ESLint
node simple-server.js # Start backend API server{
"imageUrl": "https://replicate.delivery/.../image.jpg",
"success": true,
"step": "sketch"
}- Built with Vite - deploy to Vercel, Netlify, or any static host
npm run buildcreates optimized production build
- Deploy to Railway, Render, or any Node.js hosting
- Set environment variables in hosting platform
- Ensure Replicate API token is configured
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Replicate - For providing access to cutting-edge AI models
- Google - For the amazing nano-banana and Veo-3 models
- shadcn/ui - For the beautiful UI component library
- Fashion Design Community - For inspiration and feedback
- π Bug Reports: Open an issue on GitHub
- π‘ Feature Requests: Create a feature request issue
- π¬ Questions: Start a discussion on GitHub
Built with β€οΈ for the fashion design community
Transform your fashion ideas into reality with AI-powered design tools