A minimalist E-Commerce platform integrated with multi-model Local AI Services (SD1.5,Qwen 2.5 7B). Features Redis queue orchestration, CPU/GPU hybrid scheduling, and 1-click Docker deployment
0
stars
256
commits
PHP
primary language
Jul 30, 2026
updated
A premium fashion e-commerce ecosystem featuring an integrated AI Virtual Try-on engine, bridging the gap between luxury retail and computer vision technology.
Trinity Style is a full-stack graduation project designed to redefine the online shopping experience. By combining a Luxury Minimalist aesthetic with state-of-the-art AI, the platform allows users to visualize garments on their own photos, reducing return rates and enhancing engagement.
🤖 AI Virtual Try-on: Leverages SegFormer for precise segmentation and ControlNet to generate realistic clothing overlays
🔒 Secure Infrastructure: Features a robust PHP backend with OTP authentication and secure SQL transaction logic
📊 User Tier System: Specialized logic for loyalty tiers and personalized "Try-on History" archives
Frontend: HTML5, CSS3, JavaScript Backend: PHP, Python(Flask/FastAPI), MySQL
AI/ML: SegFormer, ControlNet, IP-Adapter Environment: macOS / Windows Cross-platform development
git clone https://github.com/trinity-newfed/Trinity-Style-AI.git
https://github.com/user-attachments/assets/907da0ec-a473-4ed2-826a-cde5ee686c04
! This project uses Composer to manage PHP libraries. Make sure you have Composer installed before proceeding.
! For AI, Stable Diffusion and Qwen require venv and ollama
https://ollama.com/download/windows
https://getcomposer.org/Composer-Setup.exe
composer require vlucas/phpdotenv
composer require phpmailer/phpmailer
The AI engine requires Python 3.10.11. Note that the SegFormer model download exceeds 5.4GB on the first run. Python: https://www.python.org/downloads/release/python-31011/
cd AI python -m venv sd15
sd15\Scripts\activate
pip install torch torchvision diffusers transformers safetensors accelerate
pip install torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu
pip install mysql-connector-python flask-cors
pip install -r requirements.txt
https://github.com/user-attachments/assets/cc1d23ae-a700-4db6-ac55-361c17de06be
https://github.com/user-attachments/assets/bdad452c-ba02-48d5-ba3a-682ede1fb063
https://github.com/user-attachments/assets/74b8635d-dc7a-4f48-8666-985813320484
https://github.com/user-attachments/assets/38f5672e-3a06-48e3-bdf1-04fc3ca82ca9
https://github.com/user-attachments/assets/ebbee385-929e-48e3-ae1e-24bfc6bd5efc
PHP
67.6%
CSS
13.6%
JavaScript
10.6%
Python
3.5%
Hack
3.0%
Shell
1.2%
A minimalist E-Commerce platform integrated with multi-model Local AI Services (SD1.5,Qwen 2.5 7B). Features Redis queue orchestration, CPU/GPU hybrid scheduling, and 1-click Docker deployment
0
stars
256
commits
PHP
primary language
Jul 30, 2026
updated
A premium fashion e-commerce ecosystem featuring an integrated AI Virtual Try-on engine, bridging the gap between luxury retail and computer vision technology.
Trinity Style is a full-stack graduation project designed to redefine the online shopping experience. By combining a Luxury Minimalist aesthetic with state-of-the-art AI, the platform allows users to visualize garments on their own photos, reducing return rates and enhancing engagement.
🤖 AI Virtual Try-on: Leverages SegFormer for precise segmentation and ControlNet to generate realistic clothing overlays
🔒 Secure Infrastructure: Features a robust PHP backend with OTP authentication and secure SQL transaction logic
📊 User Tier System: Specialized logic for loyalty tiers and personalized "Try-on History" archives
Frontend: HTML5, CSS3, JavaScript Backend: PHP, Python(Flask/FastAPI), MySQL
AI/ML: SegFormer, ControlNet, IP-Adapter Environment: macOS / Windows Cross-platform development
git clone https://github.com/trinity-newfed/Trinity-Style-AI.git
https://github.com/user-attachments/assets/907da0ec-a473-4ed2-826a-cde5ee686c04
! This project uses Composer to manage PHP libraries. Make sure you have Composer installed before proceeding.
! For AI, Stable Diffusion and Qwen require venv and ollama
https://ollama.com/download/windows
https://getcomposer.org/Composer-Setup.exe
composer require vlucas/phpdotenv
composer require phpmailer/phpmailer
The AI engine requires Python 3.10.11. Note that the SegFormer model download exceeds 5.4GB on the first run. Python: https://www.python.org/downloads/release/python-31011/
cd AI python -m venv sd15
sd15\Scripts\activate
pip install torch torchvision diffusers transformers safetensors accelerate
pip install torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu
pip install mysql-connector-python flask-cors
pip install -r requirements.txt
https://github.com/user-attachments/assets/cc1d23ae-a700-4db6-ac55-361c17de06be
https://github.com/user-attachments/assets/bdad452c-ba02-48d5-ba3a-682ede1fb063
https://github.com/user-attachments/assets/74b8635d-dc7a-4f48-8666-985813320484
https://github.com/user-attachments/assets/38f5672e-3a06-48e3-bdf1-04fc3ca82ca9
https://github.com/user-attachments/assets/ebbee385-929e-48e3-ae1e-24bfc6bd5efc
PHP
67.6%
CSS
13.6%
JavaScript
10.6%
Python
3.5%
Hack
3.0%
Shell
1.2%