所以自己加了点,插件和模型的链接,不懂编程就复制格式改的,反正能用。自己新建一个块,粘贴就行。一次性跑不成就多跑几次。 ## 安装常用插件 extensions = [ https://gitcode.net/ranting8323/stable-diffusion-webui-localization-zh_CN“, https://gitcode.net/ranting8323/sd-webui-additional-networks“, https://github.com/camenduru/sd-civitai-browser“, https://github.com/kohya-ss/sd-webui-additional-networks“, https://github.com/Mikubill/sd-webui-controlnet“, https://github.com/camenduru/openpose-editor“, https://github.com/jexom/sd-webui-depth-lib“, https://github.com/hnmr293/posex“, https://github.com/camenduru/sd-webui-tunnels“, https://github.com/jexom/sd-webui-depth-lib“, https://github.com/FacePerceiver/LAION-Face ] ## 安装常用模型 def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d}
    model_url = “https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5_fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/2.5D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/ElChuaso/anyhentai_19/resolve/main/anyhentai_19.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/2.5D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5-pruned-fp32.ckpt aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/2.5D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/Meina/MeinaHentai/resolve/main/MeinaHentai%20V2.1-baked%20VAE.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/2.5D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/nuigurumi/basil_mix/resolve/main/Basil%20mix.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/cloud768/perfectworld/resolve/main/abyssorangemix2_Hard.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/KSD2023/chikmix_V2/resolve/main/chikmix_V2.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/hanafuusen2001/ChikMix/resolve/main/chikmix_v1.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/justahuggingacctforacctreasons/kotosmix_v10/resolve/main/kotosmix_v10.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/randomuser417/orangechillmix/resolve/main/orangechillmix_v70.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/cloud768/perfectworld/resolve/main/perfectWorld_perfectWorldBakedVAE.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/cloud768/perfectworld/resolve/main/chilloutmix_NiPrunedFp32Fix.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/3D”)
    %cd /mnt/workspace/stable-diffusion-webui for e in extensions: !git -C “extensions” clone {e} ## 下载controlnet模型 def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/CrucibleAI/ControlNetMediaPipeFace/resolve/main/control_v2p_sd15_mediapipe_face.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_seg-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_style-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_sketch-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_openpose-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_keypose-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_depth-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_color-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/t2iadapter_canny-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_seg-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_scribble-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_openpose-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_normal-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_mlsd-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_hed-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_depth-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)
    def aria2(url, filename, d): !aria2c —console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d} model_url = “https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_canny-fp16.safetensors aria2(model_url, model_url.split(“/“)[-1], “/mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models”)