Google Colab上で以下のコードを実行してください。無料版のGoogle Colabでは警告やエラーが表示される場合があるため、ご注意ください。
!pip install -q torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url <https://download.pytorch.org/whl/cu118> -U
!pip install -q xformers==0.0.18 triton==2.0.0 -U
!git clone <https://github.com/AUTOMATIC1111/stable-diffusion-webui.git>
%cd stable-diffusion-webui
%mkdir -p /content/stable-diffusion-webui/models/Lora/
#Chilloutmixを使いたければ、このコードを実行
!wget <https://civitai.com/api/download/models/11745> -O /content/stable-diffusion-webui/models/Stable-diffusion/Chilloutmix-Ni-pruned-fp32-fix.safetensors
#Counterfeitを使いたければ、このコードを実行
!wget <https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5.safetensors> -O /content/stable-diffusion-webui/models/Stable-diffusion/Counterfeit-V2.5.safetensors
#VAE
!wget <https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5.vae.pt> -O /content/stable-diffusion-webui/models/VAE/Counterfeit-V2.5.vae.pt
#LoRAを使いたければ、このコードを実行
!wget <https://civitai.com/api/download/models/34562> -O ./models/Lora/japanesedolllikenessV1_v15.safetensors
!wget <https://civitai.com/api/download/models/16576> -O ./models/Lora/epiNoiseoffset_v2.safetensors
!python launch.py --share --xformers --enable-insecure-extension-access