HyperAI

Run Img2img-turbo Demo Online

Model Introduction

img2img-turbo can transform an image into another image with completely different style or features in just one step. This model is like an efficient image translator that can quickly "translate" one visual scene into another while maintaining the quality and details of the image, and is suitable for a variety of different image conversion needs.

Example Demo

Cat Sketching

1

Fish Sketching

2

Generate diverse output

3

How to run

1. Open a new terminal page

2. Enter the following command to install the dependent environment

cd img2img-turbo

pip install gradio==3.43.1 transformers==4.35.2 diffusers==0.25.1 peft 

3. Enter the command python gradio_canny2image.py  Run the Canny Edge Gradio demo, or enter the command python gradio_sketch2image.py  Run the Gradio demo of Sketch hand-drawn

4. Open the "API Address" on the right. If you don't have real-name authentication, you need to do it first.