F
licenseNot graded
qualityD
maintenanceA FastMCP server that provides virtual try-on functionality through the Replicate API, allowing users to visualize how clothing items would look on models.
-
这是一个基于 CLIP 且带有 MCP 的时尚推荐器。
用户上传服装图片 → YOLO 检测服装 → CLIP 编码 → 推荐类似服装
/project-root
│
├── /backend
│ ├── Dockerfile
│ ├── /app
│ │ ├── server.py # FastAPI app code
│ │ ├── /routes
│ │ │ └── clothing_routes.py
│ │ ├── /controllers
│ │ │ └── clothing_controller.py
│ │ │ └──clothing_tagging.py
│ │ │ └── tag_extractor.py # Pending: define core CLIP functionality
│ │ ├── schemas/
│ │ │ └── clothing_schemas.py
│ │ ├── config/
│ │ │ └── tag_list_en.py $ Tool for mapping: https://jsoncrack.com/editor
│ │ │ └── database.py
│ │ │ └── settings.py
│ │ │ └── api_keys.py
│ │ └── requirements.txt
│ └── .env
│
├── /fastmcp
│ └── app
│ └── server.py
│
├── /frontend
│ ├── Dockerfile
│ ├── package.json
│ ├── package-lock.json
│ ├── /public
│ │ └── index.html
│ ├── /src
│ │ ├── /components
│ │ │ ├── ImageUpload.jsx
│ │ │ ├── DetectedTags.jsx
│ │ │ └── Recommendations.jsx
│ │ ├── /utils
│ │ │ └── api.js
│ │ ├── App.js # Main React component
│ │ ├── index.js
│ │ ├── index.css
│ │ ├── tailwind.config.js
│ │ ├── postcss.config.js
│ │ └── .env
│ ├── .gitignore
│ ├── docker-compose.yml
│ └── README.md
└────── requirements.txt
python -m venv venv
source venv/bin/activate # On macOS or Linux
venv\Scripts\activate # On Windowspip install -r requirements.txtuvicorn backend.app.server:app --reload一旦服务器运行并且数据库连接,您应该在控制台中看到以下消息:
Database connected
INFO: Application startup complete.数据库连接信息:应用程序启动完成。
npm installnpm start一旦运行,服务器就会记录确认并在浏览器中打开应用程序: http://localhost:3000/
图片上传
提交按钮
显示服装标签+推荐
FastAPI 服务器已启动并运行(4 月 24 日)
数据库连接已建立(4 月 24 日)
后端架构已正常运行(4 月 24 日)
上传图片的基本前端 UI(4 月 25 日)
下一步:
评估 CLIP 对样本服装图像的标记准确率
微调标记系统以获得更好的推荐
使用实时用户数据测试后端集成
设置模型性能监控
前端演示
This server cannot be deployed
Search and get fashion products recommendations across multiple e-ecom stores
AI product photography for fashion sellers: Shopify photo audits, seasonal guides, AI try-on.
Virtual try-on and on-model AI fashion photography: catalog search, try-on grids, HD delivery.
Visual fashion search across retailers and resale, with localized prices and app handoffs.