README 明确标注仓库已过时不再更新,建议改用 camenduru/TostUI;部分模型需在 Hugging Face 上获取 token 才能下载;DreamBooth/LoRA 训练需切换到 training 分支的笔记本
stable-diffusion-webui-colab
camenduruUnlicense更新放缓在 Google Colab 上一键跑起 Stable Diffusion WebUI 的笔记本合集,省去本地显卡和环境配置,直接在线出图、图生图、训练 LoRA 和 DreamBooth。
stable diffusion webui colab
在浏览器打开对应笔记本:https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/main/stable/stable_diffusion_webui_colab.ipynbREADME 未说明具体显存要求,运行环境为 Google Colab 云端 GPU,本地无需显卡
在 Google Colab 上一键启动 Stable Diffusion WebUI 的笔记本合集,免本地显卡
在 Google Colab 上一键跑起 Stable Diffusion WebUI 的笔记本合集,省去本地显卡和环境配置,直接在线出图、图生图、训练 LoRA 和 DreamBooth。
核心能力
- 提供 lite、stable、nightly 三档 Colab 笔记本
- stable 档内置 ControlNet v1.1 与稳定扩展
- nightly 档用 PyTorch 2.0 并每日更新扩展
- 覆盖 SD1.4/1.5、Inpainting、Waifu 等多种模型
- 另有 training 分支提供 DreamBooth 与 LoRA 训练
容易踩的坑
- 0.0.17xformers 0.0.17 for colab T4最新正式版2023-03-15 · 2023-03-15 01:41 UTC
Build with 🦒 Colab T4
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.17/xformers-0.0.17+b6be33a.d20230315-cp39-cp39-linux_x86_64.whlBuild Date: Tuesday, March 14, 2023
Build command:
!pip wheel git+https://github.com/facebookresearch/xformers#egg=xformersFor Colab Pro Users: please use
!pip install --pre xformers - 0.0.16xformers 0.0.16 for colab T42023-01-18 · 2023-01-18 22:19 UTC
查看更新说明
Build with 🦒 Colab T4
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp38-cp38-linux_x86_64.whlBuild Date: Wednesday, January 18, 2023
Build with 🐳 Docker nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 T4
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whlBuild Date: Wednesday, January 18, 2023
Build with 🐳 Docker nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 A10G
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whlBuild Date: Wednesday, January 19, 2023
Build with 🤗 Hugging Face Default 🐳 Docker docker.io/nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04 T4
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+bc08bbc.d20230123-cp38-cp38-linux_x86_64.whlBuild Date: Wednesday, January 23, 2023
- 0.0.15xformers 0.0.15 for colab T42022-11-30 · 2022-11-30 23:04 UTC
查看更新说明
Build with 🦒 Colab T4
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15+e163309.d20230103-cp38-cp38-linux_x86_64.whlBuild Date: Tuesday, January 3, 2023
!pip wheel git+https://github.com/facebookresearch/xformers#egg=xformersBuild Time: 1h 5m 🦥
test 🦆 prompt (sd-v1-4.ckpt)
duck Steps: 50, Sampler: Euler a, CFG scale: 7, Seed: 1886223165, Size: 512x512, Model hash: 7460a6faTotal progress: 100% 50/50 [00:07<00:00, 6.51it/s]
thanks @Mar0xy ♥
Build with 🤗 Hugging Face A10G
Build Date: Monday December 5, 2022
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whlBuild with 🐳 Docker pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime
Build Date: Saturday, December 17, 2022
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15+f82722f.d20221217-cp310-cp310-linux_x86_64.whlBuild with 🐳 Docker nvidia/cuda:11.7.0-cudnn8-devel-ubuntu22.04
Wednesday, December 21, 2022
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15+f351fee.d20221222-cp310-cp310-linux_x86_64.whlBuild with 🦒 Colab Pro A100
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15+e163309.d20230103.ColabProA100-cp38-cp38-linux_x86_64.whlBuild Date: Tuesday, January 3, 2023
thanks @iceandstorm ♥
- 0.0.14xformers 0.0.14 for colab T42022-10-27 · 2022-10-27 10:38 UTC
查看更新说明
Build with Colab T4
!pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.14/xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whlBuild Date: Thursday, October 27, 2022
https://github.com/facebookresearch/xformers/tree/faa88b123514562dbe8e32ec72a25937b0dd9da5
!pip wheel git+https://github.com/facebookresearch/xformers#egg=xformersBuild Time: 1h 13m 🦥
test 🦆 prompt (sd-v1-4.ckpt)
duck Steps: 50, Sampler: Euler a, CFG scale: 7, Seed: 1886223165, Size: 512x512, Model hash: 7460a6faTotal progress: 100% 50/50 [00:07<00:00, 6.26it/s]
thanks @C43H66N12O12S2 ♥
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
🐣 Please follow me for new updates https://twitter.com/camenduru 🔥 Please join our discord server https://discord.gg/k5BwmmvJJU 🥳 Please join my patreon community https://patreon.com/camenduru
WebUI Restrictions Lifted! 🥳 Free WebUI is Back! 🔥 This repository is outdated and no longer receives updates. Please try https://github.com/camenduru/TostUI
How to use DreamBooth & LoRA trainer ?
https://github.com/camenduru/stable-diffusion-webui-colab/tree/training
or please select training from switch branches/tags

How to install latest version and ControlNet to Google Drive ?
https://github.com/camenduru/stable-diffusion-webui-colab/tree/drive
or please select drive from switch branches/tags

lite has a stable WebUI and stable installed extensions.
stable has ControlNet v1.1, a stable WebUI, and stable installed extensions.
nightly has ControlNet v1.1 the latest WebUI with PyTorch 2.0, and daily installed extension updates.
🦒 Colab
| lite | stable | nightly | Info - Token - Model Page |
|---|---|---|---|
| stable_diffusion_webui_colab CompVis/stable-diffusion-v-1-4-original | |||
| waifu_diffusion_webui_colab hakurei/waifu-diffusion-v1-3 | |||
| stable_diffusion_inpainting_webui_colab runwayml/stable-diffusion-inpainting | |||
| stable_diffusion_1_5_webui_colab runwayml/stable-diffusion-v1-5 | |||
mo_di_diffusion_webui_colab (Use the tokens modern disney style in your prompts for the effect.) nitrosocke/mo-di-diffusion | |||
arcane_diffusion_3_webui_colab (Use the tokens arcane style in your prompts for the effect.) nitrosocke/Arcane-Diffusion | |||
cyberpunk_anime_diffusion_webui_colab (Use the tokens dgs illustration style in your prompts for the effect.) DGSpitzer/Cyberpunk-Anime-Diffusion | |||
midjourney_v4_diffusion_webui_colab (Use the tokens mdjrny-v4 style in your prompts for the effect.) prompthero/midjourney-v4-diffusion | |||
papercut_diffusion_webui_colab (Use the tokens PaperCut in your prompts for the effect.) Fictiverse/Stable_Diffusion_PaperCut_Model | |||
samdoesart_diffusion_webui_colab (Use the tokens SamDoesArt in your prompts for the effect.) Sandro-Halpo/SamDoesArt-V3 | |||
| anything_3_webui_colab ckpt/anything-v3.0 | |||
woolitize_webui_colab (Use the tokens woolitize style in your prompts for the effect.) plasmo/woolitize | |||
inkpunk_webui_colab (Use the tokens nvinkpunk style in your prompts for the effect.) Envvi/Inkpunk-Diffusion | |||
| rando_mix_3_webui_colab (Thanks to Sint for the suggestion ❤) sentet1c/RandoMix3 | |||
| f222_webui_colab lilpotat/f2 | |||
| berry_mix_1_5_webui_colab lilpotat/rbm | |||
| stable_diffusion_v2_1_webui_colab stabilityai/stable-diffusion-2-1 | |||
| stable_diffusion_v2_1_base_webui_colab stabilityai/stable-diffusion-2-1-base | |||
| stable_diffusion_v2_webui_colab stabilityai/stable-diffusion-2 | |||
| stable_diffusion_v2_base_webui_colab stabilityai/stable-diffusion-2-base | |||
| stable_diffusion_v2_depth_webui_colab stabilityai/stable-diffusion-2-depth | |||
| stable_diffusion_v2_inpainting_webui_colab stabilityai/stable-diffusion-2-inpainting | |||
| hassan_blend_1_4_webui_colab (Thanks to maximaljahn for the suggestion ❤) hassanblend/hassanblend1.4 | |||
| yiffy_e18_webui_colab Doubleyobro/yiffy-e18 | |||
| pony_diffusion_2_webui_colab AstraliteHeart/pony-diffusion-v2 | |||
| elysium_anime_2_webui_colab hesw23168/SD-Elysium-Model | |||
| eimis_anime_diffusion_1_webui_colab (Thanks to Tjbr0ss2 for the suggestion ❤) eimiss/EimisAnimeDiffusion_1.0v | |||
dreamlike_diffusion_1_webui_colab (Use the tokens dreamlikeart style in your prompts for the effect.) dreamlike-art/dreamlike-diffusion-1.0 | |||
van_gogh_diffusion_webui_colab (Use the tokens lvngvncnt style in your prompts for the effect.) dallinmackay/Van-Gogh-diffusion | |||
analog_diffusion_webui_colab (Use the tokens analog style in your prompts for the effect.) wavymulder/Analog-Diffusion | |||
| monstermash_any_3_webui_colab N75242/monstermash_anyv3 | |||
| yohan_diffusion_webui_colab (Thanks to EBIX_benis for the suggestion ❤) andite/yohan-diffusion | |||
| openjourney_v2_diffusion_webui_colab prompthero/openjourney-v2 | |||
vintedois_diffusion_0_1_webui_colab (Use the tokens estilovintedois in your prompts for the effect.) 22h/vintedois-diffusion-v0-1 | |||
knollingcase_webui_colab (Use the tokens knollingcase in your prompts for the effect.) Aybeeceedee/knollingcase | |||
comic_diffusion_v2_webui_colab (Use the tokens charliebo artstyle holliemengert artstyle marioalberti artstyle pepelarraz artstyle andreasrocha artstyle jamesdaly artstyle in your prompts for the effect.) ogkalu/Comic-Diffusion | |||
complex_lineart_webui_colab (Use the tokens ComplexLA style in your prompts for the effect.) Conflictx/Complex-Lineart | |||
synthwave_punk_v2_webui_colab (Use the tokens snthwve style nvinkpunk in your prompts for the effect.) ItsJayQz/SynthwavePunk-v2 | |||
illustration_diffusion_webui_colab (Use the tokens holliemengert artstyle in your prompts for the effect.) ogkalu/Illustration-Diffusion | |||
| seek_art_mega_v1_webui_colab coreco/seek.art_MEGA | |||
popup_book_diffusion_webui_colab (Use the tokens popupBook in your prompts for the effect.) RayHell/popupBook-diffusion | |||
| waifu_diffusion_v1_4_webui_colab hakurei/waifu-diffusion-v1-4 | |||
| protogen_v2_2_webui_colab ckpt/Protogen_V2.2 | |||
| elldreths_lucid_mix_v10_webui_colab ckpt/elldrethSLucidMix_v10 | |||
all_in_one_pixel_model_webui_colab (Use the tokens pixelsprite 16bitscene in your prompts for the effect.) PublicPrompts/All-In-One-Pixel-Model | |||
| cafe_instagram_v6_webui_colab cafeai/cafe-instagram-sd-1-5-v6 | |||
cinematic_diffusion_webui_colab (Use the tokens syberart in your prompts for the effect.) Basunat/Cinematic-Diffusion | |||
food_crit_webui_colab (Use the tokens food_crit in your prompts for the effect.) plasmo/food-crit | |||
| simpmaker_3k_webui_colab AmethystVera/SimpMaker-3K1 | |||
| duchaitenaiart_v1_1_webui_colab (Thanks to DucHaiten for the suggestion ❤) DucHaiten/DucHaitenAIart | |||
| uber_realistic_v1_webui_colab (Thanks to cdefghijkl for the suggestion ❤) lilpotat/urp | |||
| izumi_v1_webui_colab lilpotat/iz | |||
| yiffy_mix_webui_colab chilon249/yiffymix | |||
| babes_blend_webui_colab alexds9/babes | |||
| samdoessexy_blend_webui_colab thecollector/samdoessexy-blend | |||
comics_blend_webui_colab (Use the tokens ComplexLA style nvinkpunk marioalberti artstyle ghibli style in your prompts for the effect.) fiacr/comicsblend | |||
| dream_like_sam_kuvshino_webui_colab ratkovm8640/dreamlikesamkuvshinov | |||
| 8528_diffusion_webui_colab (Thanks to 黄色いバラ for the suggestion ❤) 852wa/8528-diffusion | |||
| hasdx_webui_colab (Thanks to EBIX_benis for the suggestion ❤) bestjammer/hasdx | |||
| abyss_orange_mix_2_webui_colab WarriorMama777/OrangeMixs | |||
| dreamlike_photoreal_2_webui_colab dreamlike-art/dreamlike-photoreal-2.0 | |||
| photorealistic_fuen_v1_webui_colab claudfuen/photorealistic-fuen-v1 | |||
| cool_japan_diffusion_2_1_webui_colab aipicasso/cool-japan-diffusion-2-1-0 | |||
| [ |