vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.51k stars 400 forks source link

[Feature]: Allow to select separate styles for refiner #1990

Closed Olivmamman closed 1 year ago

Olivmamman commented 1 year ago

Feature description

Currently the refiner only allows for writing a manual prompt; positive and negative. Found under "Second pass". Workflow could be much faster with a dropdown accessing your styles in the "styles.csv".

Screenshot_801

Version Platform Description

No response

Olivmamman commented 1 year ago

Made a workaround by configuring the "ui-config.jason" file by adding:

"txt2img/Secondary Prompt/value": "RAW photo, subject, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
"txt2img/Secondary negative prompt/value": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, UnrealisticDream"

Using Realistic Vision as refiner model and above is its recommended prompt :D

Is there any list of UI items? Right now I just bruteforced e.g. guessed with some trial and error what it could be. Looked in "models\ui.py" and found something similar but not written exactly as what I ended up with in the "ui-config.jason".

Edit: sorry for not understanding github ui (closing and opening)... :/ Edit2: Some guy on reddit made a list of UI items based on A1111 (will follow it for now) https://docs.google.com/spreadsheets/d/15r06uepR2OuxW3bf7IoD-_dUAuRuOAHkLIQH1D3mct0/edit#gid=1691381218

vladmandic commented 1 year ago

Any UI setting (including prompts) you can change, you can also apply as default (in settings) and then it creates UI-config.json - so your workaround can be muuuch easier.

Regarding feature request in general, I agree and it's planned (actually a much larger change to replace current styles completely)

Olivmamman commented 1 year ago

Any UI setting (including prompts) you can change, you can also apply as default (in settings) and then it creates UI-config.json - so your workaround can be muuuch easier.

Regarding feature request in general, I agree and it's planned (actually a much larger change to replace current styles completely)

oooooh... makes sense! Sorry for overlooking this fundamental part of the settings, have totally missed it!

Many thanks for taking your time answering and working on SDnext, truly awesome! 👍

vladmandic commented 1 year ago

further work will be tracked under #800, closing