stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Advanced Seed Blending/Travel (more than 2 seeds)
Is your feature request related to a problem? Please describe. I'm working on an animation tool and I'm looking at adding seed travel to it. Currently it's possible to blend from seedA -> seedB. But I think I'm going to want to to do a bit more advanced blending. a simple example would be.
- blend from seedA -> seedB but only half way. and then blend towards seedC until we're 100% seedC.
- But we never fully reached seedB
Describe the solution you'd like
I think a system similar to the prompt blending would work here. example of some seed blends:
Simple A -> B, equivalent to what's possible now.
1111:0.2|2222:0.8
A+B -> C
{1111|2222}:0.2|3333:0.8
A+B+C with arbitrary weight
1111:2|2222:4|3333:10
UI could maybe be an additional textfield when "extra" is displayed.
Describe alternatives you've considered Hack it in myself. But before I embark on that I figured it would be good to collect some thoughts around it.
Additional context Hopefully this system would allow you to take any prompts you like and blend them together in whatever combination you like. It is however possible that this would not be as useful as I hope.
I have a rough prototype working locally now. In this video one can see how the first loop I do the traditional Seed->Seed. But on the second loop I divert to a third seed before reaching the end of the first travel.
https://www.youtube.com/watch?v=ToGs7lmncuI
@amotile looking great
Turns out I managed to get this to work as a custom script. With some elbow grease it's possible to do quite a bit of hijacking of the code.
https://github.com/amotile/stable-diffusion-backend/blob/master/src/process/implementations/automatic1111_scripts/advanced_seed_blending.py
@amotile hi. I don't know if the script is as plug and play, the main repo, or something to compliment https://github.com/amotile/stable-diffusion-backend I would like to add this to custom scripts wiki section. I would like to know your thoughts.
It should be plug and play as far as I know. Both this one and the other script in that folder.