ahgsql / StyleSelectorXL

This repository contains a Automatic1111 Extension allows users to select and apply different styles to their inputs using SDXL 1.0.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancements: Select List for Style Choices, Random style & Interactive "x/y/z" Plot Functionality

acezard opened this issue · comments

Hello,

I've been using StyleSelectorXL and I like the work you've done so far! I have a couple of feature requests that I believe would improve the usability of the extension, especially for users who have added a multitude of styles. If you don't have time, I can try myself, but I have no knowledge of Python or its ecosystem so I would rely heavily on ChatGPT4 to help me code it, thus I can't guarantee a solid PR even though I am still a developer by trade.

1. Select List for Style Choices

Currently, the interface uses radio buttons for style selections, which works well for a small number of choices. However, when the number of styles increases in the styles.json file, this approach becomes less manageable (please see screenshot). My suggestion is to add an option to use a select list or another interface option that could effectively manage a larger number of styles.

image

2. Randomized style

This one should be pretty simple, just adding a "random style" radio button so that the chosen style is randomized at generation time from the JSON file. Although it sounds easy, there might be issues I didn't think about. It would work well in a 1 batch size/ 1 batch count job presumably, but how would it work with multiple batches/xyz plot/other extensions etc?

3. Interactive "x/y/z" Plot Functionality

My second request is about adding a feature that would allow the use of StyleSelectorXL in an interactive way with the "x/y/z" plot. This would enable users to generate a prompt in each style, once, by doing one job, instead of manually launching the job multiple times and changing the style after each prompt or queuing them in AgentScheduler extension. This enhancement would save time and improve the overall user experience by a lot in my case.

image

These changes, I believe, would make the plugin even more useful to the community. I look forward to your thoughts on these suggestions.

Thanks for considering my request!

Best

Added Dropdown Setting and Randomize Style Option. XYZ Plot is a little bit confusing and hard to achive right now

#4

Added another Checkbox "Generate All Styles" , basically does what you are requesting, So Check it, then set batch size to 18 ( Or how much style you have) Then hit generate. It will loop through all available styles in order.

#5