基于骋风算力,搭建SD AUTOMATIC1111 纯净版

简述

本版本基于AUTOMATIC1111 1.11.0 进行部署。保留纯净版的目的,方便高级玩家进行根据自己需求,搭建出改造出自己需要的镜像。

1 插件层面: 只添加sd-webui-controlnet, sd-webui-prompt-all-in-one, webui-localization-zh_CN 最基础的插件,其他可以根据自己需求进行安装。

2 模型层面: 整合了sd1、sd2、sd3 、sd_xl 等基础模型。其他模型可以自己通过软链接手动挂载。

一、应用创建

1. 选择应用: 首页-AI应用,选择 “秋葉aaaki Stable Diffusion整合包 v4.9” 。

2. 创建应用: 选择应用后,会自动跳转到算力市场,选择你需要的服务器,进入容器创建流程。

3. 创建镜像: 容器创建过程中,初始镜像会将镜像拉取到服务器, 镜像有约20G,所以整个过程会持续2-3分钟。当容器状态变为 "运行中"后,容器创建完成。

4. 打开WEB-UI: 快捷工具-自定义服务器进入stable-diffusion-webui 。Nvidia 4090机型,启动后首次加载需要等待1-2分钟左右,是正常现象。( 推荐Chrome浏览器 )。

二、添加模型

1、在系统盘足够的情况下,也可以直接放置在 ~/sd-webui-aki-v4.9/models/Stable-diffusion/ 目录下。

2、模型文件,会持续预置大量模型,会放置 /root/fs_public/Stable_Diffusion/models/ 目录下。

3、用户根据自己需要可以进行软链接到系统盘相应模型目录下。模型路径需要遵守模型本身需要放置的文件夹,如果到错误/models子文件夹,可能会造成模型无法加载成功,

4、以例如添加一个 模型“anything-v5.safetensors”, 需要执行以下软连接命令。

ls -s 【文件路径】 【目标文件路径 】

其中:

"~/sd-webui-aki-v4.9/models/Stable-diffusion/sd1.5/anything-v5.safetensors" , 是你目标加载文件的路径。 自己下载的模型文件推荐放置在数据盘 '~/data' 。

"/root/fs_public/Stable_Diffusion/models/Stable-diffusion/sd1.5/anything-v5.safetensors",是实际文件放置的路径。

ln -s /root/fs_public/Stable_Diffusion/models/Stable-diffusion/sd1.5/anything-v5.safetensors   ~/sd-webui-aki-v4.9/models/Stable-diffusion/sd1.5/anything-v5.safetensors

三、添加插件

扩展插件由于需求比较个性化,实践下来插件由于python依赖包版本不一致,相互之间冲突比较多,所以尽量保留了整合包原版的插件,可以根据自己需要进行安装。 完成插件安装,需要手动重启WEBUI。

重启 WEBUI

source /root/.webui_start/start_webui.sh

1、“可下载”安装, 由于需要去 github拉取列表, 建议打开科学上网解决环境问题。

2、通过“网络地址”,填写插件GIT地址安装。

3、进入容器直接下载,或者手动上传到插件目录。

cd /root/sd-webui-aki-v4.9/extensions
git clone git@github.com:OpenTalker/SadTalker.git

四、重要信息

1 重启 WEBUI

source /root/.webui_start/start_webui.sh

2 系统路径说明

名称路径描述
模型/root/stable-diffusion-webui/models

公共模型通过软连接到公共存储的/root/fs_public/Stable_Diffusion/models/

插件/root/stable-diffusion-webui/extensions已安装的插件路径
结果/root/data/sd/outputs图片生成结果路径

3 版本信息

模块版本
sd-webui本体v1.10.0
xformers0.0.27+cu118
python3.10.15

4 基础模型

使用示例

可以参照一下示例生成一个图片,尝试一下使用。

正向提示词

A dynamic manga-style illustration of a strong and elegant woman with a cyberpunk twist. She wears a vibrant blue and gold qipao with glowing neon accents,spiked bracelets,and futuristic high-tech boots,striking a heroic pose. Her outfit integrates sleek cybernetic elements,and her expression exudes confidence and power. She stands against a vivid background of a futuristic city blending with nature: a green meadow under a bright blue sky with fluffy white clouds,combined with holographic trees,glowing grids,and floating neon signs. The art style features bold outlines,vivid neon colors,dramatic lighting,and action-packed energy,creating a perfect mix of natural and cyberpunk aesthetics.,

反向提示词

Distorted anatomy, blurry details, overly realistic features, muted colors, messy backgrounds, extra limbs, pixelation, low-quality effects.

参数建议

  • 模型: sd_xl_refiner1.0_0.9
  • VAE: sdxl_vae.safetensors
  • CFG Scale: 8
  • Steps: 50
  • Sampler: DPM++ 2M Karras
  • 尺寸: 1024x1024

changelog

秋叶整合包4.9_启动脚本_v1.0

  1. 调整VAE模型目录到fs_public
  2. 调整output目录到数据盘 /data/sd/outputs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值