r/StableDiffusion • u/amotile • Oct 08 '22
Update I created two custom scripts for AUTOMATIC1111, Prompt blending and Advanced Seed blending
With prompt blending is what's talked about in this PR:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/1273
Ex.



And advanced seed blending is what I showcase here:
https://www.youtube.com/watch?v=ToGs7lmncuI
In Automatic1111 you can already blend between two seeds but this lets you blend any number of seeds to combine cool ones you found. Ex:
seedA:1, seedB:3, seedC:0.3
To get my animation project to work I needed these features, but they haven't been merged into the main project. So I recreated them as custom scripts instead.
Code available here:
In case someone finds them useful outside the context of my animation GUI.
3
u/Electroblep Oct 08 '22
Thank you for sharing your hard work. One question, I am using Automatic1111 but didn't know you could already blend between 2 seeds. If it's an easy explanation or you know somewhere I can read up on it, please let me know.
2
u/StaplerGiraffe Oct 08 '22
Interesting way of hacking the prompt parser. I edited the parser directly after every pull, but that was kind of annoying. I am not sure I like the syntax though. I use this kind of blending for globally acting modifiers. Examples(the weights are auto-normalizing):
<main prompt>@10 art by <artists>@2
<main prompt>@10 female@-1 male@1
<main prompt>@10 art by <artists>@2 female@-2 male@2 human@-0.9
To reproduce the last example seems to be quite messy in your syntax. I might copy your hack and replace it with my syntax. At the moment I am experimenting with the AND prompt, but that one has a higher runtime cost.
3
u/Slumber_watcher Oct 08 '22
This looks really cool. :) I hope the PR gets added.
1
u/ZCaliber11 Oct 08 '22
Man, I'm smooth brain. There a way to download only specific things from a git without getting the entire repository?