1. 複製下面的程式碼
- !pip install --upgrade fastapi==0.90.1
- !git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
- !git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
- !curl -Lo chilloutmixni.safetensors https://huggingface.co/nolanaatama/chomni/resolve/main/chomni.safetensors
- !curl -Lo ulzzang-6500.pt https://huggingface.co/nolanaatama/chomni/resolve/main/ulzzang-6500.pt
- !mv "/content/chilloutmixni.safetensors" "/content/stable-diffusion-webui/models/Stable-diffusion"
- !mv "/content/ulzzang-6500.pt" "/content/stable-diffusion-webui/embeddings"
- %cd /content/stable-diffusion-webui
- !COMMANDLINE_ARGS="--share --disable-safe-unpickle --skip-torch-cuda-test --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access" REQS_FILE="requirements.txt" python launch.py
2. 打開下面網址
https://colab.research.google.com/
提示詞
((masterpiece)), ((best quality)), (ultra-detailed),
反提示詞
low quality, bad, low resolution, worst quality, blurry, error, extra digit, missing fingers, bad anatomy, extra leg, missing legs, flat breast, fat, overweight, muscle, wearing underpants
相關軟體下載點
GIT
https://git-scm.com/
Python
https://www.python.org/
模型下載
https://civitai.com/
Stable Diffusion 模型(ckpt/CHECKPOINT)存放路徑
..\stable-diffusion-webui\models\Stable-diffusion\
lora插件模型存放路徑
..\extensions\sd-webui-additional-networks\models\lora
原生lora模型存放路徑
..\stable-diffusion-webui\models\Lora
沒有留言:
張貼留言