Sign In

Animated Offset Padding - Fake Camera Movement with animated Outpainting

4

66

0

Type

Workflows

Stats

66

0

Reviews

Published

Nov 18, 2024

Base Model

SD 1.5 LCM

Hash

AutoV2
2B176D838A
default creator card background decoration
Seamonger's Avatar

Seamonger

As the motion loras usually add watermarks and don't work for all models, I've created a custom node that allows basic "camera movements" by using outpainting while animating the placement of the first render.

Core concept:

  1. Generate a video with AnimateDiff that has your Subject of the scene

  2. Extend the size of the canvas and move the frames from one side to another

  3. Outpaint with another AnimateDiff pass

It's not perfect and outpainting with AnimateDiff is tricky of course. But the concept works and the workflow and node may be at least useful for more experimental animations.


Installation of the custom node

As the code is not in the comfyui manager, you'll have to install it manually:

  1. Download Python file from my GitHub: https://github.com/SimonHeese/ComfyUI_AnimationNodes/blob/main/animated_offset_pad.py

  2. Put the file in your "custom_nodes" folder in comfyui

  3. Restart ComfyUI 🙃