7.9 KiB
7.9 KiB
Kitchen Stable Diffusion WebUI
English | 简体中文
⚠️⚠️⚠️ 警告:最低要求 gradio-3.23.0 & sd-webui 4c1ad74
✨ 特性
- 🌈 支持亮暗色主题,并一键切换。
- 🪄 支持 Prompt 格式化。
- 🎛️ 快捷设置伸缩侧边栏.
- 🎨 基于 Antd CSS Token。
🖥 兼容环境
![]() Chrome |
![]() Edge |
![]() Safari |
|---|---|---|
| last 2 versions | last 2 versions | last 2 versions |
⚠️ 目前已知道在 Firefox 火狐浏览器上存在样式兼容问题
📦 安装
作为扩展(推荐) 将存储库克隆到您的扩展文件夹中:
git clone "https://github.com/canisminor1990/sd-web-ui-kitchen-theme" extensions/kitchen-theme
当前主题支持亮暗色双主题,如果你想强制使用暗色模式,使用参数 --theme=dark 启动您的 WebUI。例如,在 Windows 上,您的 webui-user.bat 应包括:
set COMMANDLINE_ARGS= --theme=dark
或通过 URL Props 直接切换
http://localhost:7860/?__theme=light
http://localhost:7860/?__theme=dark
⚒️ 推荐设置
Kitchen WebUI Setting
右上角 ⚙ 图标打开设置面板,当前可用设置如下
- Sidebar
- Default expand 默认展开:
true - Default width 默认宽度:
280
- Default expand 默认展开:
- ExtraNetwork Sidebar
- Enable 启用:
true - Default expand 默认展开:
true - Default Width 默认宽度:
340 - Default card size 模型卡片默认尺寸:
86
- Enable 启用:
Extra-Networks 扩展模型视窗
- 拇指视图
- 卡牌宽度: 86
- 卡牌高度: 128
Quick-Setting 快捷设置
sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, img2img_background_color, img2img_color_correction, samples_save, samples_format, grid_save, return_grid, n_rows, live_previews_enable, show_progress_every_n_steps, live_preview_refresh_period
🪄 提示词格式化
全角标点转半角,去除多余空格,补充缺失逗号,把 Extra-Networks 模型移动到末尾
格式化前
photorealistic photo of a handsome male (wizard :1.2), <lora:LuisapHotlineStyle:0.5> <lora:ElegantHanfuRuqunStyle:0.2> short beard, white wizard shirt, (with golden trim:0.8),
格式化后
photorealistic photo of a handsome male, (wizard:1.2), short beard, white wizard shirt, (with golden trim:0.8), <lora:LuisapHotlineStyle:0.5>, <lora:ElegantHanfuRuqunStyle:0.2>
⌨️ 本地开发
你可以使用 Gitpod 进行在线开发:
或者克隆到本地开发:
$ git clone https://github.com/canisminor1990/sd-web-ui-kitchen-theme.git
$ cd sd-web-ui-kitchen-theme
$ npm install
$ npm start
🤝 参与贡献
🔗 链接
- stable-diffusion-webui:https://github.com/AUTOMATIC1111/stable-diffusion-webui
- gradio-theme-gallery: https://huggingface.co/spaces/gradio/theme-gallery
- before
1.0.0version- sd-web-ui-quickcs: https://github.com/Gerschel/sd-web-ui-quickcss/
- Dark-Themes-SD-WebUI-Automatic1111: https://github.com/Nacurutu/Dark-Themes-SD-WebUI-Automatic1111





