This project utilizes the KlingAI API to provide a virtual try-on experience using images of people and garments.
- 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.
To set up the project, clone the repository and install the required packages:
git clone
cd
pip install -r requirements.txt
Run the application using the following command:
python app.py
Open the provided link in your browser to access the Gradio interface.
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/
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or suggestions, feel free to reach out: