stable-diffusion-webui-colab

camenduruUnlicense更新放缓

在 Google Colab 上一键跑起 Stable Diffusion WebUI 的笔记本合集,省去本地显卡和环境配置,直接在线出图、图生图、训练 LoRA 和 DreamBooth。

stable diffusion webui colab

0.0.17发布于 2023-03-15 01:41 UTC15,890star2,602fork同步于 2026-11-10 11:25 UTC

怎么上手

由 README 提炼,执行前请确认
在浏览器打开对应笔记本:https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/main/stable/stable_diffusion_webui_colab.ipynb
硬件要求按 README 说明

README 未说明具体显存要求,运行环境为 Google Colab 云端 GPU,本地无需显卡

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

在 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 训练

容易踩的坑

README 明确标注仓库已过时不再更新,建议改用 camenduru/TostUI;部分模型需在 Hugging Face 上获取 token 才能下载;DreamBooth/LoRA 训练需切换到 training 分支的笔记本

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

4 个版本0.0.17
  1. 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.whl

    Build Date: Tuesday, March 14, 2023

    Build command: !pip wheel git+https://github.com/facebookresearch/xformers#egg=xformers

    For Colab Pro Users: please use !pip install --pre xformers

  2. 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.whl

    Build 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.whl

    Build 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.whl

    Build 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.whl

    Build Date: Wednesday, January 23, 2023

  3. 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.whl

    Build Date: Tuesday, January 3, 2023

    !pip wheel git+https://github.com/facebookresearch/xformers#egg=xformers

    Build Time: 1h 5m 🦥

    test 🦆 prompt (sd-v1-4.ckpt)

    duck
    Steps: 50, Sampler: Euler a, CFG scale: 7, Seed: 1886223165, Size: 512x512, Model hash: 7460a6fa
    

    Total 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.whl

    Build 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.whl

    Build 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.whl

    Build 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.whl

    Build Date: Tuesday, January 3, 2023

    thanks @iceandstorm ♥

  4. 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.whl

    Build Date: Thursday, October 27, 2022

    https://github.com/facebookresearch/xformers/tree/faa88b123514562dbe8e32ec72a25937b0dd9da5

    !pip wheel git+https://github.com/facebookresearch/xformers#egg=xformers

    Build Time: 1h 13m 🦥

    test 🦆 prompt (sd-v1-4.ckpt)

    duck
    Steps: 50, Sampler: Euler a, CFG scale: 7, Seed: 1886223165, Size: 512x512, Model hash: 7460a6fa
    

    Total progress: 100% 50/50 [00:07<00:00, 6.26it/s]

    thanks @C43H66N12O12S2 ♥

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    🐣 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

    Screenshot 2023-03-07 050440

    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

    Screenshot 2023-02-23 165554t

    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

    litestablenightlyInfo - Token - Model Page
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_webui_colab CompVis/stable-diffusion-v-1-4-original
    Open In ColabOpen In ColabOpen In Colabwaifu_diffusion_webui_colab hakurei/waifu-diffusion-v1-3
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_inpainting_webui_colab runwayml/stable-diffusion-inpainting
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_1_5_webui_colab runwayml/stable-diffusion-v1-5
    Open In ColabOpen In ColabOpen In Colabmo_di_diffusion_webui_colab (Use the tokens modern disney style in your prompts for the effect.) nitrosocke/mo-di-diffusion
    Open In ColabOpen In ColabOpen In Colabarcane_diffusion_3_webui_colab (Use the tokens arcane style in your prompts for the effect.) nitrosocke/Arcane-Diffusion
    Open In ColabOpen In ColabOpen In Colabcyberpunk_anime_diffusion_webui_colab (Use the tokens dgs illustration style in your prompts for the effect.) DGSpitzer/Cyberpunk-Anime-Diffusion
    Open In ColabOpen In ColabOpen In Colabmidjourney_v4_diffusion_webui_colab (Use the tokens mdjrny-v4 style in your prompts for the effect.) prompthero/midjourney-v4-diffusion
    Open In ColabOpen In ColabOpen In Colabpapercut_diffusion_webui_colab (Use the tokens PaperCut in your prompts for the effect.) Fictiverse/Stable_Diffusion_PaperCut_Model
    Open In ColabOpen In ColabOpen In Colabsamdoesart_diffusion_webui_colab (Use the tokens SamDoesArt in your prompts for the effect.) Sandro-Halpo/SamDoesArt-V3
    Open In ColabOpen In ColabOpen In Colabanything_3_webui_colab ckpt/anything-v3.0
    Open In ColabOpen In ColabOpen In Colabwoolitize_webui_colab (Use the tokens woolitize style in your prompts for the effect.) plasmo/woolitize
    Open In ColabOpen In ColabOpen In Colabinkpunk_webui_colab (Use the tokens nvinkpunk style in your prompts for the effect.) Envvi/Inkpunk-Diffusion
    Open In ColabOpen In ColabOpen In Colabrando_mix_3_webui_colab (Thanks to Sint for the suggestion ❤) sentet1c/RandoMix3
    Open In ColabOpen In ColabOpen In Colabf222_webui_colab lilpotat/f2
    Open In ColabOpen In ColabOpen In Colabberry_mix_1_5_webui_colab lilpotat/rbm
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_v2_1_webui_colab stabilityai/stable-diffusion-2-1
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_v2_1_base_webui_colab stabilityai/stable-diffusion-2-1-base
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_v2_webui_colab stabilityai/stable-diffusion-2
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_v2_base_webui_colab stabilityai/stable-diffusion-2-base
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_v2_depth_webui_colab stabilityai/stable-diffusion-2-depth
    Open In ColabOpen In ColabOpen In Colabstable_diffusion_v2_inpainting_webui_colab stabilityai/stable-diffusion-2-inpainting
    Open In ColabOpen In ColabOpen In Colabhassan_blend_1_4_webui_colab (Thanks to maximaljahn for the suggestion ❤) hassanblend/hassanblend1.4
    Open In ColabOpen In ColabOpen In Colabyiffy_e18_webui_colab Doubleyobro/yiffy-e18
    Open In ColabOpen In ColabOpen In Colabpony_diffusion_2_webui_colab AstraliteHeart/pony-diffusion-v2
    Open In ColabOpen In ColabOpen In Colabelysium_anime_2_webui_colab hesw23168/SD-Elysium-Model
    Open In ColabOpen In ColabOpen In Colabeimis_anime_diffusion_1_webui_colab (Thanks to Tjbr0ss2 for the suggestion ❤) eimiss/EimisAnimeDiffusion_1.0v
    Open In ColabOpen In ColabOpen In Colabdreamlike_diffusion_1_webui_colab (Use the tokens dreamlikeart style in your prompts for the effect.) dreamlike-art/dreamlike-diffusion-1.0
    Open In ColabOpen In ColabOpen In Colabvan_gogh_diffusion_webui_colab (Use the tokens lvngvncnt style in your prompts for the effect.) dallinmackay/Van-Gogh-diffusion
    Open In ColabOpen In ColabOpen In Colabanalog_diffusion_webui_colab (Use the tokens analog style in your prompts for the effect.) wavymulder/Analog-Diffusion
    Open In ColabOpen In ColabOpen In Colabmonstermash_any_3_webui_colab N75242/monstermash_anyv3
    Open In ColabOpen In ColabOpen In Colabyohan_diffusion_webui_colab (Thanks to EBIX_benis for the suggestion ❤) andite/yohan-diffusion
    Open In ColabOpen In ColabOpen In Colabopenjourney_v2_diffusion_webui_colab prompthero/openjourney-v2
    Open In ColabOpen In ColabOpen In Colabvintedois_diffusion_0_1_webui_colab (Use the tokens estilovintedois in your prompts for the effect.) 22h/vintedois-diffusion-v0-1
    Open In ColabOpen In ColabOpen In Colabknollingcase_webui_colab (Use the tokens knollingcase in your prompts for the effect.) Aybeeceedee/knollingcase
    Open In ColabOpen In ColabOpen In Colabcomic_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
    Open In ColabOpen In ColabOpen In Colabcomplex_lineart_webui_colab (Use the tokens ComplexLA style in your prompts for the effect.) Conflictx/Complex-Lineart
    Open In ColabOpen In ColabOpen In Colabsynthwave_punk_v2_webui_colab (Use the tokens snthwve style nvinkpunk in your prompts for the effect.) ItsJayQz/SynthwavePunk-v2
    Open In ColabOpen In ColabOpen In Colabillustration_diffusion_webui_colab (Use the tokens holliemengert artstyle in your prompts for the effect.) ogkalu/Illustration-Diffusion
    Open In ColabOpen In ColabOpen In Colabseek_art_mega_v1_webui_colab coreco/seek.art_MEGA
    Open In ColabOpen In ColabOpen In Colabpopup_book_diffusion_webui_colab (Use the tokens popupBook in your prompts for the effect.) RayHell/popupBook-diffusion
    Open In ColabOpen In ColabOpen In Colabwaifu_diffusion_v1_4_webui_colab hakurei/waifu-diffusion-v1-4
    Open In ColabOpen In ColabOpen In Colabprotogen_v2_2_webui_colab ckpt/Protogen_V2.2
    Open In ColabOpen In ColabOpen In Colabelldreths_lucid_mix_v10_webui_colab ckpt/elldrethSLucidMix_v10
    Open In ColabOpen In ColabOpen In Colaball_in_one_pixel_model_webui_colab (Use the tokens pixelsprite 16bitscene in your prompts for the effect.) PublicPrompts/All-In-One-Pixel-Model
    Open In ColabOpen In ColabOpen In Colabcafe_instagram_v6_webui_colab cafeai/cafe-instagram-sd-1-5-v6
    Open In ColabOpen In ColabOpen In Colabcinematic_diffusion_webui_colab (Use the tokens syberart in your prompts for the effect.) Basunat/Cinematic-Diffusion
    Open In ColabOpen In ColabOpen In Colabfood_crit_webui_colab (Use the tokens food_crit in your prompts for the effect.) plasmo/food-crit
    Open In ColabOpen In ColabOpen In Colabsimpmaker_3k_webui_colab AmethystVera/SimpMaker-3K1
    Open In ColabOpen In ColabOpen In Colabduchaitenaiart_v1_1_webui_colab (Thanks to DucHaiten for the suggestion ❤) DucHaiten/DucHaitenAIart
    Open In ColabOpen In ColabOpen In Colabuber_realistic_v1_webui_colab (Thanks to cdefghijkl for the suggestion ❤) lilpotat/urp
    Open In ColabOpen In ColabOpen In Colabizumi_v1_webui_colab lilpotat/iz
    Open In ColabOpen In ColabOpen In Colabyiffy_mix_webui_colab chilon249/yiffymix
    Open In ColabOpen In ColabOpen In Colabbabes_blend_webui_colab alexds9/babes
    Open In ColabOpen In ColabOpen In Colabsamdoessexy_blend_webui_colab thecollector/samdoessexy-blend
    Open In ColabOpen In ColabOpen In Colabcomics_blend_webui_colab (Use the tokens ComplexLA style nvinkpunk marioalberti artstyle ghibli style in your prompts for the effect.) fiacr/comicsblend
    Open In ColabOpen In ColabOpen In Colabdream_like_sam_kuvshino_webui_colab ratkovm8640/dreamlikesamkuvshinov
    Open In ColabOpen In ColabOpen In Colab8528_diffusion_webui_colab (Thanks to 黄色いバラ for the suggestion ❤) 852wa/8528-diffusion
    Open In ColabOpen In ColabOpen In Colabhasdx_webui_colab (Thanks to EBIX_benis for the suggestion ❤) bestjammer/hasdx
    Open In ColabOpen In ColabOpen In Colababyss_orange_mix_2_webui_colab WarriorMama777/OrangeMixs
    Open In ColabOpen In ColabOpen In Colabdreamlike_photoreal_2_webui_colab dreamlike-art/dreamlike-photoreal-2.0
    Open In ColabOpen In ColabOpen In Colabphotorealistic_fuen_v1_webui_colab claudfuen/photorealistic-fuen-v1
    Open In ColabOpen In ColabOpen In Colabcool_japan_diffusion_2_1_webui_colab aipicasso/cool-japan-diffusion-2-1-0
    [Open In Colab](https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/main/lite/anyt