当前位置: 首页 > news >正文

Stable Diffusion - Style Editor 和 Easy Prompt Selector 提示词插件配置

欢迎关注我的CSDN:https://spike.blog.csdn.net/
本文地址:https://spike.blog.csdn.net/article/details/132122450

Style Editor 插件:

cd extensions
git clone https://ghproxy.com/https://github.com/chrisgoringe/Styles-Editor

报错:

  File "extensions/Styles-Editor/scripts/main.py", line 164match command:^
SyntaxError: invalid syntax

原因是 match 是 Python3.9.1 支持,与当前的环境不符合,需要修改源码,即:

  • extensions/Styles-Editor/scripts/main.py
  @classmethoddef handle_outstanding_api_calls(cls):with cls.api_lock:for command, value in cls.api_calls_outstanding:if command == "delete":# match command:# case "delete":FileManager.remove_style(maybe_prefixed_style=value)elif command == "move":# case "move":FileManager.move_to_additional(maybe_prefixed_style=value[0], new_prefix=value[1])# case "duplicate":elif command == "duplicate":FileManager.duplicate_style(maybe_prefixed_style=value)cls.api_calls_outstanding = []return FileManager.get_current_styles()

修复Bug,重启UI,即可显示:

Img2

删除空行,Command + 右键 选中整行,再按 Delete,即可删除空行。

Easy Prompt Selector 插件,同时,再进行汉化:

cd extensions
git clone https://ghproxy.com/https://github.com/blue-pen5805/sdweb-easy-prompt-selector

汉化参考:

1、老用户,先更新升级,再下载我的汉化包。
2、新用户,先安装,安装地址:https://github.com/blue-pen5805/sdweb-easy-prompt-selector
3、升级或者安装完毕后,解压缩汉化包,覆盖掉原文件即可,路径:extensions\sdweb-easy-prompt-selector
4、新增汉服触发词界面,需结合汉服唐风、宋风、明风三个lora使用,汉服lora总下载地址:https://civitai.com/models/15365?modelVersionId=54777
当前版本,原版本20230613,汉化时间20230617,原插件只有几十个提示词,我增加到3000+。
欢迎知乎关注“路过银河”,每日更新模型评测、下载,当然不关注也没关系。

重启 WebUI,即可以使用插件。效果如下:

Img2

测试:

1girl,black footwear,black hair,boots,curtains,dress,floral print,full body,handbag,lips,long hair,long sleeves,looking at viewer,polka dot legwear,shoes,smile,solo,standing,tile floor,tile wall,
a woman standing in front of a building wearing a gray dress and purple socks and a gray jacket with polka dots,Ayami Kojima,long black hair,a hologram,private press,
best quality,masterpiece,ultra high res,(photorealistic:1.4),
Negative prompt: (ng_deepnegative_v1_75t,badhandv4,bad_prompt_version2-neg,EasyNegative:0.9),(worst quality, low quality:1.3),(depth of field, blurry:1.2),(greyscale, monochrome:1.1),croped,lowres,text,jpeg artifacts,(logo,signature,watermark,username,artist name,title:1.3),
Steps: 30, Sampler: DDIM, CFG scale: 7, Seed: 2800574805, Size: 512x768, Model hash: 4b5bc79af1, Model: 墨幽人造人_v1030, Denoising strength: 0.3, Clip skip: 2, ADetailer model: face_yolov8n.pt, ADetailer confidence: 0.3, ADetailer dilate/erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.7.6, Hires upscale: 2, Hires steps: 10, Hires upscaler: 4x-UltraSharp, TI hashes: “ng_deepnegative_v1_75t: 54e7e4826d53, badhandv4: 5e40d722fc3d, bad_prompt_version2-neg: 6f35e7dd816a, EasyNegative: 66a7279a88dd”, Version: v1.5.1

更新墨幽模型:

wget https://liblibai-online.liblibai.com/web/model/4b5bc79af15151d058d12d5e61c68ffc5b2b7f47dbdee4523b3c54a9bad1efda.safetensors?attname=%E5%A2%A8%E5%B9%BD%E4%BA%BA%E9%80%A0%E4%BA%BA_v1030.safetensors -O 墨幽人造人_v1030.safetensors

测试效果,墨幽1030、+CandyLand、+RealGirlFace,即:

Img3

Lora:

  • 高跟鞋:腿部曲线修复-高跟鞋修复 (推荐)、YUZU2:,
  • 真实人脸:不要油光和网红脸的lora,<lora:real_girl_face:0.8>
  • 糖果风格 Lora:(candyland:1.2),<lora:candyland-10:1>

Img4

http://www.lryc.cn/news/110440.html

相关文章:

  • Stable Diffusion - SDXL 模型测试 (DreamShaper 和 GuoFeng v4) 与全身图像参数配置
  • 中介者模式(Mediator)
  • SpringBoot使用@Autowired将实现类注入到List或者Map集合中
  • 【linux目录的权限和粘滞位】
  • TP DP PP 并行训练方法介绍
  • P005 – Python操作符、操作数和表达式
  • SQL92 SQL99 语法 Oracle 、SQL Server 、MySQL 多表连接、Natural 、USING
  • 物联网平台使用笔记
  • Python-flask项目入门
  • 基于数据库 Sqlite3 的 root 管理系统
  • Hadoop 之 Hive 4.0.0-alpha-2 搭建(八)
  • vue3常用API之学习笔记
  • Python 程序设计入门(005)—— 字符串操作
  • 怎样将项目jar包放到服务器上
  • ruby调试
  • 【云原生】使用kubeadm搭建K8S
  • HCIE-Datacom真题和机构资料
  • 轮足机器人硬件总结
  • Flowable-网关-排他网关
  • GET 和 POST 的区别
  • FFmpeg中硬解码后深度学习模型的图像处理dnn_processing(一)
  • 计及需求响应和电能交互的多主体综合能源系统主从博弈优化调度策略(Matlab代码实现)
  • local-path-provisioner的使用(hostPath、local、local-path-provisioner三者对比)
  • 命令行快捷键Mac Iterm2
  • 无涯教程-Lua - Modules(模块)
  • url重定向
  • Linux 查看IP地址、子网掩码和网关的配置信息
  • token
  • 利用awk筛选给定时间范围内的日志
  • ORACLE字符集概念学习