aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.98k stars 399 forks source link

Image Attribute Edit #296

Closed bubbliiiing closed 11 months ago

bubbliiiing commented 11 months ago
  1. Add FaceAttribute Edit with sliders

Egs: this is zhoumo is smiling. image

By Add ctrl Lora to support lora prompt like this ,which mean,during the sampling process, the amplitude of LoRa is controlled by a piecewise linear function input_prompt += f"<lora:{feature_edit_id}:0@0, 0@0.5, {feature_edit_id_ratio}@0.5, {feature_edit_id_ratio}@1>, "

  1. New UI to support this edit
hkunzhe commented 11 months ago

TODO:

  1. ~check the conflict with sd-webui-loractl.~
  2. Check the match between sliders and the SD model (SD1/SDXL).
  3. ~UI Interaction.~
  4. add the wiki doc.