惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Y
Y Combinator Blog
Recorded Future
Recorded Future
博客园 - Franky
I
InfoQ
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
雷峰网
雷峰网
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Cloudbric
Cloudbric
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Check Point Blog
爱范儿
爱范儿
The GitHub Blog
The GitHub Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
U
Unit 42
N
Netflix TechBlog - Medium
The Cloudflare Blog
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
T
Troy Hunt's Blog
Engineering at Meta
Engineering at Meta
H
Heimdal Security Blog
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tenable Blog
B
Blog
S
Securelist
H
Hacker News: Front Page
Google Online Security Blog
Google Online Security Blog
G
Google Developers Blog

小明明s à domicile

Stable Diffusion高级教程 - Controlnet Stable Diffusion高级教程 - 图生图(img2img)模式 Stable Diffusion高级教程 - 微调模型 Stable Diffusion高级教程 - VAE Stable Diffusion高级教程 - Script Stable Diffusion高级教程 - Textual Inversion(Embedding) Stable Diffusion高级教程 - 如何使用Stable Diffusion? Stable Diffusion高级教程 - AIGC发展史和产品对比 关于本博客
Stable Diffusion高级教程 - Extension
2023-04-26 · via 小明明s à domicile

前言

这节主要介绍 stable-diffusion-webui 提供的扩展 (extension) 功能。stable-diffusion-webui 为了只保证核心功能并便于管理,将非核心功能解耦并转为扩展和脚本形式提供,这在很多知名项目都有相关实践。这节先介绍扩展。

扩展列表

项目的 wiki 有专门的页面: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions

这里面列出来当前全部的扩展,比如常用的:

  1. https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN 简体中文汉化
  2. https://github.com/journey-ad/sd-webui-bilingual-localization 双语汉化
  3. https://github.com/civitai/sd_civitai_extensionC 站的官方扩展,可以自动下载模型
  4. https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper 另外一个 C 站的扩展
  5. https://github.com/DominikDoom/a1111-sd-webui-tagcompleteTAG 自动补全
  6. https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients 根据美学权重优化图片
  7. https://github.com/hnmr293/sd-webui-llul 用于给局部增加细节
  8. https://github.com/Scholar01/sd-webui-mov2mov 制作视频,之后我们还会用得到。
  9. https://github.com/CiaraStrawberry/TemporalKit 用于让视频顺滑,之后我们还会用得到它 + Ebsynth。
  10. https://github.com/canisminor1990/sd-webui-kitchen-theme 一个自定义主题,我这里只是提出这个思路,其实还有其他主题就不列出来了,我个人还是比较习惯原版 UI。
  11. https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg 移除图片背景(对,可以用 SD 抠图)。

扩展安装

目前安装扩展有三种方法,没有推荐偏向,按个人习惯即可。

本地克隆

如官方文档说明,直接克隆代码到 extensions 目录即可

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients extensions/aesthetic-gradients

通过 UI 界面「Install from URL」

点最后一个 Tab「Extensions」,再点「Install from URL」,和上面的方法差不多,UI 稍微封装了一下:

然后点「Installed」的「Apply and restart UI」重启 UI 就可以了。

通过 UI 界面的「Available」

也是最后一个 Tab「Extensions」,再点「Available」,默认是官方 wiki 的各个扩展的 json,点击「Load from」就会加载这些扩展,把全部选项都去掉勾选就会列出全部扩展,点击扩展行最后一项的「Install」就可以安装了。

开发扩展

可以遵循 官方文档 ,其实是很简单的,我这里就不重复粘贴了。