sddebz / stable-diffusion-krita-plugin

GNU Affero General Public License v3.0
423 stars 34 forks source link

Implement list of modifiers for prompt #42

Open miguelmarco opened 2 years ago

miguelmarco commented 2 years ago

This PR creates a new tab in the interface, with a list of usual modifiers for the prompt. This modifiers are automatically added to the prompt en each call to the server.

The idea is to allow the user to fix an overall style for a project, and don't have to worry about typing it in all prompts. If instead the user prefears the previous workflow, the tab can just be ignored. I know it can be suboptimal to go back and forth between the modifiers tab and the txt2img/img2img one, but when I tried to put the widget in those tabs, the UI became too bloated. Maybe it could be considered to add buttons in the new tab to launch the actions, so the user can just play with the presets in this tab and test different options.

The list was compiled by myself by making a quick scrap of lexica, and taking the ones that seems most usual (and somehow fix ok in a category structure), plus some that I also saw on reddit. Since it was compiled just with the idea of demo'ing the concept, I am sure it could be improved in the future (specially if more people get involved in curating it).