Skip to content
rafay-bytePublic

About

An AI-powered application for 3D virtual try-on, image-to-text conversion, and inpainting using IP-Adapter and Stable Diffusion models.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

👗 3D Studio — AI-Powered Virtual Try-On & Image Generation

An AI-powered application for 3D virtual try-on, image-to-text conversion, and inpainting using IP-Adapter and Stable Diffusion models.

![Python](https://img.shields.io/badge/Language-Python-3776AB?style=for-the-badge&logo=python) ![GitHub](https://img.shields.io/badge/GitHub-rafay--byte-181717?style=for-the-badge&logo=github) ![Flask](https://img.shields.io/badge/Flask-000000?style=for-the-badge&logo=flask&logoColor=white) ![PyTorch](https://img.shields.io/badge/PyTorch-EE4C2C?style=for-the-badge&logo=pytorch&logoColor=white) ![OpenCV](https://img.shields.io/badge/OpenCV-5C3EE8?style=for-the-badge&logo=opencv&logoColor=white) ![HuggingFace](https://img.shields.io/badge/HuggingFace-FFD21E?style=for-the-badge&logo=huggingface&logoColor=white) ![Gradio](https://img.shields.io/badge/Gradio-F97316?style=for-the-badge&logo=gradio&logoColor=white)


📋 Overview

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.


✨ Features

  • 👗 Virtual clothing try-on with AI
  • 👗 Image-to-text description generation
  • 👗 IP-Adapter based inpainting
  • 👗 Web interface with Flask/Gradio

🛠️ Tech Stack

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

Key Dependencies

  • git+https://github.com/tencent-ailab/IP-Adapter.git
  • diffusers
  • transformers
  • accelerate
  • scipy
  • safetensors
  • controlnet_aux
  • pillow
  • opencv-python
  • python-dotenv
  • gradio

📁 Project Structure

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

🚀 Getting Started

Prerequisites

  • Python 3.8+ (or relevant runtime)
  • pip package manager
  • Git for version control

Installation

  1. Clone the repository:

    git clone https://github.com/rafay-byte/3D-STUDIO.git
    cd 3D-STUDIO
  2. Create a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate    # Linux/Mac
    venv\Scripts\activate       # Windows
  3. Install dependencies:

    pip install -r requirements.txt

Usage

Refer to the project structure above and run the main script:

python app.py    # or the main entry point

🤝 Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

This project is provided as-is for educational and development purposes.


👤 Author

Abdul Rafay Khalid


Made with ❤️ by Abdul Rafay Khalid

About

An AI-powered application for 3D virtual try-on, image-to-text conversion, and inpainting using IP-Adapter and Stable Diffusion models.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages