How did you use loopback and get it to change from person to person? Did you use the builtin loopback feature? Or the custom script? Any details you're willing to provide are much appreciated. Awesome video!
The noise being super low and having the denoising strength change factor as something like 1.02, acts as an interpolated keyframe to make the changes happen much slower. Another trick is to enable the [] and () bracket functionality in the settings so you can denote the strength of the prompt words. [] being less and () being more strength. These work separately to the negative prompts. They are also important but not what you want to use for this so for instance my prompt was Photo of Daisy Ridley, 4k, artstation yada yada yada, then the switch of character or object would look like -
Photo of [Daisy Ridley], [[[[John Wick]]]], 8k artst.....
then you increase the amount of brackets for daisy, and decrease for john in this case, every time you use the script. while also balancing the noise and noise strength change factor.
Yeah the strength being less than one makes it decrease the denoising slider a little bit every frame, vice versa. Really useful but is basically just blindfolded keyframing
To actually perform the change in prompt, did you just manually interrupt the loopback, change the prompt, then start a new loopback with the last frame? Or is there something built into the ui to "animate" the prompt after a certain number of loops?
Not interrupt, but changing the steps manually every loop to how many frames I think I'll need. 32 once or twice for a big change like person to person. But yeah if you don't switch the img2img reference to the last frame every single time it will never be smooth.
How did you manage to generate so many iterations without the notorious loopback sharpening? It always tends to destroy my images after a few iterations (especially at low denoising like .1 or .15)
Ah! being entirely ignorant, I thought the algorithm was drifting randomly from the original image until it 'snapped to' another celeb which was present in its corpus and then drafted again from there.
A script used in the AUTOMATIC1111 repo. it's in the img2img tab and what it does is iterate your image any number of times between 1 and 32. So instead of txt2img being a one tap and you get what you get, you can use the script to make changes to an ongoing scene while it saves all the individual frames which you can use to make a video
Yeah but this allows you to do everything locally on your pc and not rely on Google’s gpu- Edit: sorry old news as AI moves so fast. Instructions on how to install local Google Deforum: https://www.youtube.com/watch?v=4esuRSyirOk&t=58s
Imported all 800 frames or so into after effects, set the comp to 12 fps, made new comp from that one and changed it to 24. Using the built in frame blend works well but I used the Twixtor Pro plugin.
Negative prompts for red glow, purple light, stuff like that helps. But letting your noise hit .7+ for a couple frames every once in a while can help it return to better colors
Hi in case others are reading this. Unless op stated a red dress, the webui has the tendency to color correct all the pictures and therefore slowly make it magenta or reddish.
There are other scripts available that solve this problem. On GitHub there is a script called img2img loopback alternative. There are others too that only use the first image for the color correction giving much better consistent color results.
Are there any tricks to prevent loopback from turning the iterations more and more saturated each loop? I've tried desaturate/muted/low contrast prompts but most of my loopbacks turn into bright blue/pink/agenta garbage
I am so pleased to have stumbled across this subthread.
I spent many hours last night trying to figure out how to ameliorate the colour shift. I tried an old(ish) extension that tries to do this, but fails to do while massively slowing things down.
I just did a test run and I think I can still see some magenta shift, but it is very much tuned out.
I want AI that does this just takes a photo and doesn't modify it TOO much just adds a "filter" that morphs the original enough so that it doesn't look like it was "only a filter" that did it. Instead you have to go about it in such a roundabout way before you arrive again at the desired product.
Most people probably didn't notice but this videos demonstrates a very old bug in the img2img process where every new iteration is slightly dimmer, and with a magenta tint to it (especially the shadow) hence why it quickly turns entirely red.
I don't know if it's an Automatic1111 WebUI thing or if it's a general stable diffusion thing but this has been tormenting me for so long.
This is pretty hard to counteract, I've created LUTs that compensate for it and they work okay but they're a workaround and can slow some workflows. Automatic also implemented an optional crude correction that matches the histogram of the previous picture, which does the job for a few generation then turns everything into a pretty high micro-contrast and banding mess.
I've been struggling with this bug for weeks! How did you fix it ?? The color of the images just get "burn" and saturated. I've tried decreasing the wave rate but nothing, also tried the togglw apply color correction to img2img results to match original colors.
Use the new VAE, it's fixed. I don't have a link to download it anymore but I had done a post with detailed instructions in the past. Ot you can use the 1.5 model with the new VAE available here: Https://anga.tv/ems/model.ckpt
Are you using the same seed, or randomizing each run? Are you using img2img alternative test by chance? My problem is I want to try to keep the overall image as stable as possible while trying to vary controlnet images, and if I use img2img alternative test or I keep the seed the same without it, I still get the same problem, even with the new checkpoint file.
And actually, I just noticed with the new checkpoint file that if I let it run long enough, the images get progressively darker and darker now instead of more bright and saturated.
Does loopback use all the images from the previous iteration, or does it only reference the images in the output folder? I'm using hlky/webui if it matters.
It only looks like an animation, but for the most part it is just a bunch of new images made with constraints so that they look similar to the last ones. The images are all made with different seeds so movement is expected, all you have to do is keep the movement less drastic and it looks like an animation
so you can either input a real photo, or make an image you like from txt2img, then send it over to img2img. Once you make a loop, in the viewer you find the last image in the sequence and click send to img2img and itll update on the left panel. Doing that makes it "continue" instead of resetting back to the original photo every loop
38
u/RayHell666 Oct 15 '22
Very nice, what's the denoising strength value you put to get that continuity ?
26
u/Aeloi Oct 15 '22
How did you use loopback and get it to change from person to person? Did you use the builtin loopback feature? Or the custom script? Any details you're willing to provide are much appreciated. Awesome video!
22
u/imacarpet Oct 15 '22
What is loopback?
7
u/LexVex02 Oct 15 '22
I've had dreams like this.
10
u/Grass---Tastes_Bad Oct 15 '22
Automatic gets a lot of fame here, but I think deforum on colab is way better for this.
I’ve actually used it for ads for my business for a very similar video of yours.
1
u/physis123 Oct 15 '22
How did you generate the video? Looks really smooth
1
u/j4nds4 Oct 15 '22
How did you avoid the dreaded color shift that makes it unusable dark?
1
u/danque Oct 15 '22
Hi in case others are reading this. Unless op stated a red dress, the webui has the tendency to color correct all the pictures and therefore slowly make it magenta or reddish.
There are other scripts available that solve this problem. On GitHub there is a script called img2img loopback alternative. There are others too that only use the first image for the color correction giving much better consistent color results.
3
u/Medium_Winner1817 Oct 16 '22
I took a picture of myself everyday for 5 years and this was the result!
5
u/GoryRamsy Oct 15 '22
It’s like it was made for posting on Reddit. Excellent work, op
2
u/MissStabby Oct 15 '22
Are there any tricks to prevent loopback from turning the iterations more and more saturated each loop?
I've tried desaturate/muted/low contrast prompts but most of my loopbacks turn into bright blue/pink/agenta garbage
2
u/FrivolousPositioning Oct 15 '22
I want AI that does this just takes a photo and doesn't modify it TOO much just adds a "filter" that morphs the original enough so that it doesn't look like it was "only a filter" that did it. Instead you have to go about it in such a roundabout way before you arrive again at the desired product.
2
u/leomozoloa Oct 15 '22
Most people probably didn't notice but this videos demonstrates a very old bug in the img2img process where every new iteration is slightly dimmer, and with a magenta tint to it (especially the shadow) hence why it quickly turns entirely red.
I don't know if it's an Automatic1111 WebUI thing or if it's a general stable diffusion thing but this has been tormenting me for so long.
This is pretty hard to counteract, I've created LUTs that compensate for it and they work okay but they're a workaround and can slow some workflows. Automatic also implemented an optional crude correction that matches the histogram of the previous picture, which does the job for a few generation then turns everything into a pretty high micro-contrast and banding mess.
I wish we would solve that problem for good
2
u/Maydaysos Oct 15 '22
Any tutorials on loop back
1
u/baeocyst Oct 15 '22
How do I get loopback working if you could explain real briefly please? Thanks
1
u/numberchef Oct 15 '22
Excellent work!
1
u/tamemadnest Oct 15 '22
wow
1
u/moistmarbles Oct 15 '22
Does loopback use all the images from the previous iteration, or does it only reference the images in the output folder? I'm using hlky/webui if it matters.
1
u/Thorlokk Oct 15 '22
I wonder if the AI has actually inadvertently re-invented the classic morphing algorithms?
-8
u/Griffsterometer Oct 15 '22
TIL AI’s default woman is Daisy Ridley and default man is Keanu Reeves
0
u/[deleted] Oct 15 '22
[deleted] — view deleted comment
1
u/[deleted] Oct 15 '22
[removed] — view removed comment