akatz-ai / ComfyUI-Depthflow-Nodes

An implementation of Depthflow in ComfyUI
GNU Affero General Public License v3.0
54 stars 4 forks source link

🌊 Depthflow Node Pack for ComfyUI 🌊

Turn your 2D images into stunning 2.5D parallax animations using Depthflow in ComfyUI.

🙌 An implementation of the Depthflow library in ComfyUI originally created by Tremeschin!

âš¡ Extends RyanOnTheInside's Flex System for additional motion control and dynamic features!

🚀 Showcase

Description Description Description

📦 What's Included

This Depthflow Node Pack includes everything you need to create complex parallax animations. From basic motion presets to fine-tuned motion components, here's a breakdown of what you can expect:

1. Base Node: Depthflow

Description

The heart of the node pack. The Depthflow node takes an image (or video) and its corresponding depth map and applies various types of motion animation (Zoom, Dolly, Circle, etc.) to generate a parallax effect. This node outputs a batch of images to be rendered as a video.

Parameters:

Depthflow Core Demo


2. Depthflow Effects

Description

Enhance the parallax animation with customizable effects such as Depth of Field and Vignette. These effects can be configured to interact with the depth information for a more immersive experience.

Examples:

(Depth of Field effect modulated over time by a feature to more clearly demonstrate the effect)


3. Depthflow Motion

Take control of your animations with pre-configured motion presets or dive deep with granular motion components to create exactly the movement you want.

Motion Presets

Simplify your workflow with ready-to-use presets for common animations. Nodes like Zoom, Dolly, and Circle abstract away complex parameters so you can focus on creative output.

Examples:

Description

Motion Components

If you want finer control, the motion components offer modular building blocks to animate individual parameters like height, zoom, and center of rotation. Mix and match different functions like Sine, Cosine, Linear, and more for highly customized motion paths.

See the official Depthflow Parameters page to see how each target parameter affects the output.

🎨 Extending RyanOnTheInside's Flex System

Depthflow is one of the first custom node packs to extend the Flex System, a versatile system developed by RyanOnTheInside. By building on Flex, Depthflow opens up a range of possibilities for dynamically adjusting motion parameters based on user-defined features like sound, colors, or masks. Check out RyanOnTheInside's Github Page for more details on how to set up and use the Flex system.

🔧 Installation and Usage

  1. ComfyUI Manager:
  1. Clone the repository:
    • Navigate to ComfyUI/custom_nodes folder in terminal or command prompt.
    • Clone the repo using the following command:
      git clone https://github.com/akatz-ai/ComfyUI-Depthflow-Nodes.git
    • Restart ComfyUI