ProPainterNuke

It sends images and masks to ComfyUI, performs inpainting, and returns the result back to Nuke.

Updated: 7 May 2025

Author: pushkarevalexandr

Compatible Nuke versions: 13.0 or later

Compatibility: Windows

ProPainterNuke

ProPainterNuke is a cleanup tool for Nuke that integrates with ComfyUI using the ProPainter model for high-quality inpainting. It allows users to send an image and its corresponding mask from Nuke to ComfyUI, perform cleanup using ProPainter, and return the result seamlessly.

Requirements

To use ProPainterNuke, the following components must be installed and properly configured:

Server Configuration

You need to specify the ComfyUI server address (e.g., http://127.0.0.1:8188).
Use the Test Connection button to verify that the server is reachable and correctly set up.

Workflow

  1. The tool exports the selected frame range as an .exr sequence to a temporary folder located next to the current Nuke project file.

  2. Each frame and its corresponding mask are sent to ComfyUI for processing using the ProPainter pipeline.

  3. Once processed, the cleaned-up results are returned and loaded back into Nuke.

Limitations

ProPainter requires a significant amount of GPU memory. If insufficient memory is available, you may encounter an OutOfMemoryError.
To avoid this, reduce the resolution of the input images before sending them to ComfyUI.

The latest version is always available here:

https://github.com/pushkarev-alexandr/apushkarev_gizmos/blob/main/ProPainter/ProPainterComfyUI.gizmo


 

Changelog

v1.1

  • Change Load/Save EXR tonemap from sRGB to linear

  • Intermediate images are now rendered to the Output - sRGB colorspace

v1.0

  • Initial release

Sign in or register to download or rate.