Purpose
stable-diffusion-webui-colab is a GitHub repository designed to provide a collection of notebooks for running Stable Diffusion WebUI in the Google Colab environment. It allows users to launch WebUI via cloud Colab for free or at low cost to perform AI image generation without needing a local high-performance GPU. The repository provides different Colab files for different model checkpoints.
Main Capabilities
The repository is based on AUTOMATIC1111's stable-diffusion-webui and provides multiple version branches for different needs:
- lite: Includes stable WebUI and stably installed extensions.
- stable: Builds on lite by adding ControlNet v1.1, as well as stable WebUI and stably installed extensions.
- nightly: Uses ControlNet v1.1, the latest WebUI and PyTorch 2.0, with extensions updated daily.
- community: Community-provided Colab notebooks.
- training: Provides DreamBooth and LoRA trainers.
- drive: Provides a way to install the latest version and ControlNet to Google Drive.
The repository preinstalls a variety of extensions, including deforum, images-browser, huggingface, civitai-browser, additional-networks, tunnels, riffusion, batchlinks, catppuccin, locon, rembg, two-shot, stealth_pnginfo, aspect-ratio-helper, asymmetric-tiling, etc. The stable, nightly and drive versions additionally install instruct-pix2pix, controlnet, openpose-editor, depth-lib, posex, 3d-open-pose-editor, etc. Video-related extensions include SD-CN-Animation, text2video, multi-frame-rendering, loopback-wave, SadTalker, infinite-zoom. In addition, the script run_n_times.py is installed, along with several LoRA and embeds.
Usage
Users can run WebUI in Google Colab through the corresponding Colab notebooks in the repository. The repository also provides multiple video tutorial links, covering how to use it, how to use it with Google Drive, how to upload extensions via Hugging Face, and how to use Additional Networks (LoRA) with the CivitAI extension.
Applicable Scenarios
Suitable for users who want to quickly experience or use Stable Diffusion WebUI for image generation in the cloud, especially when local hardware conditions are limited. It is also suitable for users who need specific checkpoints, preinstalled extensions or training features.
Limitations
The repository is outdated and no longer receives updates. The author recommends trying its successor project TostUI (https://github.com/camenduru/TostUI)。项目中的实验性 Colab UI (AICA) does not include all models available in the repository.