stable diffusion 技巧

FrostyForest / 2023-05-03 / 原文

  1. 渐变/混合/先后
    [from:to:when]
    [A|B]
    A AND B
  2. 保存常用prompt
    使用style
  3. 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
    image
    使用方法:<lora名:权重:对应控制方法名>
  4. controlNet
    image
    image
    image
  5. 面部修复
    插件Face Editor
    https://github.com/ototadana/sd-face-editor
  6. 手部修复
    https://github.com/jexom/sd-webui-depth-lib
  7. inpaint教程
    https://www.bilibili.com/video/BV1uL411e7Uk/?spm_id_from=333.880.my_history.page.click&vd_source=001f9bb7bc6b807f4cdf0e23cc182212