Stable Diffusion 本地搭建快速安装

1、安装前需下载配置环境

Python 3.10.6 下载链接:https://www.python.org/downloads/release/python-3106/

GIT下载链接:https://git-scm.com/download/win

下载一键使用的安装包:https://www.123pan.com/s/csfUVv-Xfxfd.html提取码:258a

这个安装文件在40g左右,里面包含了插件和模型等文件,已经放置在可用位置,可自行去下载需要的模型和插件进行扩充。

扩展安装地址:https://github.com/Mikubill/sd-webui-controlnet.git

下载ControlNet模型【链接】选择里面的 control_sd15_openpose.pth,下载后放入./stable-diffusion-webui/extensions/sd-webui-controlnet/models 文件夹下

解压安装包后以管理员身份打开run.bat文件

2、打开后等待bat文件运行,这时出现这段地址就表示启动成功了。

若出现启动失败,请检查电脑的网络设置处的代理端口是否设置了代理。我遇到过启动失败的情况,关掉代理端口就能启动了。

3、复制http://127.0.0.1:7860 到浏览器,进入界面就可以使用stable diffusion了。(启动后bat页面不能关闭,不然不能使用)

国风模型:【点击下载】下载后放入sd.webui\webui\models\Stable-diffusion文件夹下

负提示词:

(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet

关键词检索(laion-aesthetic-6pls):https://laion-aesthetic.datasette.io/laion-aesthetic-6pls/images
艺术风格汇总list of artists for SD:https://rentry.org/artists_sd-v1-4

更多模型下载地址:https://civitai.com/

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Scroll to Top
%d 博主赞过: