AnimateDiff - Any way to use real photos instead of prompts? My Goal is Smoothly Morphing one Face into Another.
Recently started playing with AnimateDiff and prompt travel and have had some good results. But it made me wonder if I could do the same thing but instead of plugging in prompts, I just feed it a series of real photos and have it fill in the rest. Is that possible?
My goal is to plug in real photos of my students and have a smooth morph effect from one student face into another. This will be part of the video for our Christmas show.
Or maybe AnimateDiff is not the best tool for my goal and you know of a better/easier way?
About this post
- Posted
- Archived
- Score
- 1 · 67% up
- Kind
- Text
- ID
- 17hetf3
7 comments
You could generate a conventional morph then feed those frames into SD with prompts.
It's possible with ComfyUI but you will have to do some serious ass noodling and even if you only spend 20 frames per person the time it will take to gen is going to be very long. I don't believe there is easy "automated" way of doing it.
Might be worth it to try with pair of student for the morph, then collect all the morphs into one video using ffmpeg or the tool of your choice and then run RIFE to add extra frames to mask the transitions between different clips.
OK, no problem. I'm new with ComfyUI but it's installed and what I'vebeen using for animations so far. I've also got a 4090 and Topaz Video Enhance AI for frame interpolation and upscaling.
I would like to try, even if it means morphing only 2 at a time and then putting them all together, later in post. Please describe the workflow you have in mind :)
I think the easiest approach you have is load init and end image and use latent keyframes and controlnet controlling transition.
Then you can use prompt travel to try to influence what is going on, but it heavily depends on the images you have available for the project. If you want to get more creative with the actual animation, I think it would make more sense to use some faceswap instead of just interpolation, but that starts to get pretty complex.
yeah for sure need to use interpolation to get a decent FPS
We did this in the mid 1990's with a program called "morph" ! There should be apps that do this now, like this maybe? https://play.google.com/store/apps/details?id=com.mixaimaging.facemorphing&hl=en&gl=US
Yeah, that's generally what I'm trying to do. But the results on this app looks kinda simple. There's no wow to it.
I'm hoping there's a way to do this with Stable Diffusion though as it will be able to be more creative with the morphing process.
For example...
https://youtube.com/shorts/jTKQrjbxy38?si=3qz0wRZyMw4Q4zCf
It would be nice if I could just insert real pics at frame 60, 120,180 etc and have it do it's morphing magic between them.
But maybe that's not a thing....yet?