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

推荐订阅源

W
WeLiveSecurity
T
Tenable Blog
Project Zero
Project Zero
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
S
Schneier on Security
Scott Helme
Scott Helme
S
Securelist
Know Your Adversary
Know Your Adversary
Vercel News
Vercel News
IT之家
IT之家
V
V2EX
F
Fortinet All Blogs
Simon Willison's Weblog
Simon Willison's Weblog
K
Kaspersky official blog
博客园_首页
T
Tailwind CSS Blog
The GitHub Blog
The GitHub Blog
Spread Privacy
Spread Privacy
Microsoft Security Blog
Microsoft Security Blog
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
有赞技术团队
有赞技术团队
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
The Hacker News
The Hacker News
L
LINUX DO - 热门话题
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
CXSECURITY Database RSS Feed - CXSecurity.com
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Threat Research - Cisco Blogs
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CERT Recently Published Vulnerability Notes
S
SegmentFault 最新的问题
AWS News Blog
AWS News Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost

小明明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」就可以安装了。

开发扩展

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