https://github.com/302ai/302_virtual_try_on
π€ 302_virtual_try_on! πβ¨
https://github.com/302ai/302_virtual_try_on
Last synced: 2 months ago
JSON representation
π€ 302_virtual_try_on! πβ¨
- Host: GitHub
- URL: https://github.com/302ai/302_virtual_try_on
- Owner: 302ai
- License: apache-2.0
- Created: 2025-01-14T02:25:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-14T05:42:21.000Z (5 months ago)
- Last Synced: 2025-03-25T00:42:09.020Z (3 months ago)
- Language: TypeScript
- Homepage: https://302.ai/tools/tryon/
- Size: 15.4 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
π AI Virtual Try On πβ¨
AI Virtual Try On allows you to upload locally or use AI-generated model and clothing images, freely choose models and outfits for AI try-on, and generate model wearing pictures.

This is the open-source version of the [AI Virtual Try On](https://302.ai/en/tools/tryon/) from [302.AI](https://302.ai/en/). You can directly log in to 302.AI to use the online version with zero code and zero background, or modify and deploy it yourself according to your requirements.
## Interface Preview
Based on model description and parameter settings, use AI to generate model images or upload model images locally. The model images will be displayed on the right side.
Based on clothing description and parameter settings, use AI to generate clothing images or upload clothing images locally. The clothing images will be displayed on the right side.
Select the model to use for try-on and start the AI virtual try-on process.
HD Portrait feature makes the images clearer.
Background removal feature, one-click to remove image background.
Secondary lighting feature, supports inputting lighting descriptions or uploading background images, selecting light source direction to apply secondary lighting to the image.
Try-on image after secondary lighting.
## Project Features
### π Model Images
Generate model images using AI based on model descriptions and parameter settings, or upload model images locally.
### πββοΈ Clothing Images
Generate clothing images using AI based on clothing descriptions and parameter settings, or upload clothing images locally.
### π§ AI Try-On
Select the model you want to use and start the AI virtual try-on.
### πΌοΈ HD Portrait
After generating the try-on image, use AI to make the image clearer and higher quality.
### βοΈ Background Removal
After generating the try-on image, use AI to remove the background.
### π¦ Secondary Lighting
After generating the try-on image, use AI to apply secondary lighting.
### π History Records
Save your creation history, never lose your memories, download anytime, anywhere.
### π Dark Mode
It supports dark mode to protect your eyes.
### π Multi-language Support
- Chinese Interface
- English Interface
- Japanese Interface## π© Future Update Plans
- [ ] Support selecting both tops and bottoms simultaneously for complete outfit coordination## π οΈ Tech Stack
- **Framework**: Next.js 14
- **Language**: TypeScript
- **Styling**: TailwindCSS
- **UI Components**: Radix UI
- **State Management**: Jotai
- **Form Handling**: React Hook Form
- **HTTP Client**: ky
- **i18n**: next-intl
- **Theming**: next-themes
- **Code Standards**: ESLint, Prettier
- **Commit Standards**: Husky, Commitlint## Development & Deployment
1. Clone the project
```bash
git clone https://github.com/302ai/302_virtual_try_on
cd 302_virtual_try_on
```2. Install dependencies
```bash
pnpm install
```3. Configure environment
```bash
cp .env.example .env.local
```
Modify the environment variables in `.env.local` as needed.4. Start development server
```bash
pnpm dev
```5. Build for production
```bash
pnpm build
pnpm start
```## β¨ About 302.AI β¨
[302.AI](https://302.ai/en/) is an enterprise-oriented AI application platform that offers pay-as-you-go services, ready-to-use solutions, and an open-source ecosystem.β¨
1. π§ Comprehensive AI capabilities: Incorporates the latest in language, image, audio, and video models from leading AI brands.
2. π Advanced application development: We build genuine AI products, not just simple chatbots.
3. π° No monthly fees: All features are pay-per-use, fully accessible, ensuring low entry barriers with high potential.
4. π Powerful admin dashboard: Designed for teams and SMEs - managed by one, used by many.
5. π API access for all AI features: All tools are open-source and customizable (in progress).
6. π‘ Powerful development team: Launching 2-3 new applications weekly with daily product updates. Interested developers are welcome to contact us.