April 11, 2023 - Written by Ho Chien Chang - 20 min read
#StableDiffusion #googleColab
This article covers:
- How to install
- How to setup for ControlNet
Version 1
1- Open the link below:
controlnet.ipynb2- Copy this notebook to your Google Drive:
In the future you'll be able to access this code from your drive.
3. Start the main code by hovering over the brackets and click on the play button that appears.
4- It will take about 5-10 minutes for the code to be processed.(Depends on the amount of people using google service at the time being.) Then click on the public URL to lauch the Web UI.
5- In order for control net to run properly, we have to go into the settings -> controlNet and check the "Do not append detect to output"
6- Then we check the "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising). With img2img, fill image's transparent parts with this color." box in Sable Diffusion.
7- You have now successfully launched the Web UI of Stable Diffusion with controlNet enabled, if you have previous experience using SD then feel free to head on your way.
8- For those who don't have previous experience with SD click on the link below for more information.
*Basics for Stable Diffusion and ControlNet
(The link will soon be available.)Version 2 (This version is not recommended for now.)
1- Open the link below:
https://github.com/TheLastBen/fast-stable-diffusion
2- scroll down to Read me, open the "Automatic1111"
3- copy it to your google drive:
4- press the play button to sync the Notebook to your google drive
5- Then go ahead and play the next two line
6- Select the Newest model and install
7- Select all ControlNet Models
7- Run Stable diffusion
8- Press the public URL to run the Web UI
9- In order for control net to run properly, we have to go into the settings -> controlNet and check the "Do not append detect to output"
10- Then we check the "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising). With img2img, fill image's transparent parts with this color." box in Sable Diffusion.
By Finishing all the steps above, you'll be all set for using stable diffusion on google colab with controlNet included.