daniabib / ComfyUI_ProPainter_Nodes

πŸ–ŒοΈ ComfyUI implementation of ProPainter framework for video inpainting.
GNU General Public License v3.0
163 stars 6 forks source link

ProPainter Nodes for ComfyUI

ComfyUI implementation of ProPainter for video inpainting. ProPainter is a framework that utilizes flow-based propagation and spatiotemporal transformer to enable advanced video frame editing for seamless inpainting tasks.

Features

πŸ‘¨πŸ»β€πŸŽ¨ Object Removal

🎨 Video Completion

Installation

ComfyUI Manager:

You can use ComfyUI Manager to install the nodes:

  1. Search for ComfyUI ProPainter Nodes and author daniabib.

Manual Installation:

  1. Clone this repository to ComfyUI/custom_nodes:

    git clone https://github.com/daniabib/ComfyUI_ProPainter_Nodes
  2. Install the required dependencies:

    pip install -r requirements.txt

Models will be automatically downloaded to the weights folder.

Examples

Basic Inpainting Workflow

https://github.com/daniabib/ComfyUI_ProPainter_Nodes/assets/33937060/56244d09-fe89-4af2-916b-e8d903752f0d

https://github.com/daniabib/ComfyUI_ProPainter_Nodes/blob/main/examples/propainter-inpainting-workflow.json

Others suggested nodes

Nodes Reference

🚧 Section under construction

ProPainter Inpainting

Input Parameters:

Output:

ProPainter Outpainting

Note: The authors of the paper didn't mention the outpainting task for their framework, but there is an option for it in the original code. The results aren't very good but I decided to implement a node for it anyway.

Input Parameters:

Output:

License

The ProPainter models and code are licensed under NTU S-Lab License 1.0.