An AI-powered application for 3D virtual try-on, image-to-text conversion, and inpainting using IP-Adapter and Stable Diffusion models.
      
3D Studio — AI-Powered Virtual Try-On & Image Generation is a project by Abdul Rafay Khalid (@rafay-byte).
An AI-powered application for 3D virtual try-on, image-to-text conversion, and inpainting using IP-Adapter and Stable Diffusion models.
- 👗 Virtual clothing try-on with AI
- 👗 Image-to-text description generation
- 👗 IP-Adapter based inpainting
- 👗 Web interface with Flask/Gradio
| Component | Technology |
|---|---|
| Language | Python |
| Flask | 🌶️ Framework/Library |
| Streamlit | 🎈 Framework/Library |
| PyTorch | 🔥 Framework/Library |
| OpenCV | 📷 Framework/Library |
| Hugging Face Transformers | 🤗 Framework/Library |
| Gradio | 🖼️ Framework/Library |
| Pillow (PIL) | 🖼️ Framework/Library |
| NumPy | 🔢 Framework/Library |
| Diffusers (Stable Diffusion) | 🎨 Framework/Library |
git+https://github.com/tencent-ailab/IP-Adapter.gitdiffuserstransformersacceleratescipysafetensorscontrolnet_auxpillowopencv-pythonpython-dotenvgradio
3D-STUDIO/
├── 📄 adapter_model.py
├── 📄 app.py
├── 📁 clothes/
├── 📁 humans/
├── 📄 img2txt.py
├── 📄 ip_adapter_inpainting.py
├── 📄 ip_adapter_openpose.py
├── 📁 models/
├── 📄 openpose.py
├── 📄 requirements.txt
├── 📄 segmentation.py
└── 📄 utils.py
- Python 3.8+ (or relevant runtime)
- pip package manager
- Git for version control
-
Clone the repository:
git clone https://github.com/rafay-byte/3D-STUDIO.git cd 3D-STUDIO -
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows
-
Install dependencies:
pip install -r requirements.txt
Refer to the project structure above and run the main script:
python app.py # or the main entry pointContributions, issues, and feature requests are welcome!
- 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 provided as-is for educational and development purposes.
Abdul Rafay Khalid
- GitHub: @rafay-byte
- BS AI Student @ PAF-IAST
Made with ❤️ by Abdul Rafay Khalid