stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[FEATURE] Multiple Scripts in parallel on txt2img
Is your feature request related to a problem? Please describe. There are multiple use cases to want to run multiple scripts in parallel, as an example, combining the "To infinity and beyond" script with "Seed travel" or "prompt matrix" to create a large amount of images across a range of prompts etc.
Describe the solution you'd like Allow multiple choice of scripts to run on a single generation request
Describe alternatives you've considered Maybe just limiting it to two in parallel in case the risk of conflicts are increased with more than 2 Additional context
Mockup
Since a custom script can do basically anything it's very unclear what "combining" them in a general sense would mean.
It would probably require a new kind of architecture where you would have defined "things" to hook into and adjust or change.
This would be more complex for a script author to understand than the current "here's the requested parameters: do your thing" that is all you need to understand now.
So if something like this was included I would hope we get to keep this simpler version as well.
Related discussion: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/2028 (Custom scripts -> plugin API) I would also like to see composable scripts like this, but as @amotile says, what that means is not certain right now.
I am also very much interested in this. My current solution is manually patching together scripts I use in combination frequently.
Can you please tell me how to do it?
You just combine the python code. It would be on a case-by-case basis. Obviously you need to know python and understand how the scripts function.
it would be nice to have StylePile and One Button Prompt at the same time, i like to generate random images
or be able to have the scripts run in series like an inside/outside sort of thing. Good example would be loopback outside script running Ultimate SD Upscale inside in each loop.
One button prompt and ddetailer would be awesome.