Skip to content

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?

1 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 67% up
Kind
Text
ID
17hetf3

Author

31
posts
200
comments
17
media
View profile

7 comments

You could generate a conventional morph then feed those frames into SD with prompts.

2 points

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.

1 points

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 :)

1 points

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.

1 points

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

1 points

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?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.