stable diffusion 技巧
- 渐变/混合/先后
[from:to:when]
[A|B]
A AND B - 保存常用prompt
使用style - lora分层控制
安装LoRA分层控制插件:https://github.com/hako-mikan/sd-webui-lora-block-weight
影响除脸之外的部分(保持不变脸情况下改变其他部分)
(强)1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1
(弱)1,1,1,1,1,1,0.2,1,0.2,0,0,0.8,1,1,1,1,1
影响脸部(脸型、发型、眼型、瞳色等)
(强)1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0
(弱)1,0,0,0,0,0,0,0,0.8,1,1,0.2,0,0,0,0,0

使用方法:<lora名:权重:对应控制方法名> - controlNet



- 面部修复
插件Face Editor
https://github.com/ototadana/sd-face-editor - 手部修复
https://github.com/jexom/sd-webui-depth-lib - inpaint教程
https://www.bilibili.com/video/BV1uL411e7Uk/?spm_id_from=333.880.my_history.page.click&vd_source=001f9bb7bc6b807f4cdf0e23cc182212