This is an implementation of magic-research / magic-animate as a Cog model.
Follow the model pushing guide to push your own model to Replicate.
Download weights first
cog run script/download-weights
Then for predictions,
cog predict -i image=@demo4.png -i video=@demo4.mp4