/KlingAI-Virtual-Try-On

This project utilizes the KlingAI API to provide a virtual try-on experience using images of people and garments.

Primary LanguagePython

KlingAI Virtual Try-On

This project utilizes the KlingAI API to provide a virtual try-on experience using images of people and garments.

Features

  • Upload images of a person and a garment.
  • Generate a virtual try-on image by combining the two inputs.
  • Random seed option for varied results.
  • Responsive Gradio interface for user-friendly interaction.

Installation

To set up the project, clone the repository and install the required packages:

git clone 
cd 
pip install -r requirements.txt

Usage

Run the application using the following command:

python app.py

Open the provided link in your browser to access the Gradio interface.

Input Images

Make sure to provide valid images of people and garments in the specified formats. The application expects:

  • Person images: assets/human/
  • Garment images: assets/cloth/

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For questions or suggestions, feel free to reach out: