Sketch2Runway is a project that showcases Google's generative AI models Gemini 2.0 Flash and Veo 3 for fashion design. It converts your sketch to a beautiful fashion photo which you can edit and then turn it into a stunning 8-second video with the start-of-art video generation model Veo 3.
The repo includes a Flask web app and a Colab notebook:
- The Flask web app is perfect for anyone: whether you are an artist with creative flair or someone who can barely draw, try it out to see your sketch transformed to photorealistic images and then come to life with stunning runway videos.
- The Colab notebook contains detailed step-by-step tutorial with sample code.
-
Google Cloud SDK (gcloud CLI) installed for authentication.
-
Go to terminal/command prompt and enter the command:
gcloud init
and choose the project ID. -
Enter the following command to set a default login:
gcloud auth application-default login
.
-
-
Access to Veo 3 which is now available for public preview.
- Clone the repository on your local machine.
- Navigate to
cd sketch2runway
directory. - Run
pip install -r requirements.txt
to install the packages. - Open
.env
file and configure yourGemini API key
,GCP_PROJECT_ID
,GCP_BUCKET_NAME
. - Run
flask run
to start the server. - Open
localhost:5000
on your web browser to bring up the web UI.