Nodes/ComfyUI_CineStyle/CS ProPainterX Inpaint
ComfyUI Node

CS ProPainterX Inpaint

Erase masked regions from a video sequence with ProPainterX and paste the result back onto the source frames. Inference runs at the source size, one pass covers as many frames as the free VRAM affords, and long clips are run in overlapping passes that are cross-faded together.

By chflame163·Created 2 months ago·Updated 5 days ago· 79
CS ProPainterX Inpaint
  • image
  • mask
  • IMAGE
◄deviceauto►
◄subvideo_length80►
◄neighbor_length10►
◄ref_stride10►
◄mask_dilation4►
◄force_unload_modelfalse►
◄batch_overlap4►
Category😺dzNodes/CineStyle

Inputs (9)

NameTypeDefaultDescription
imageIMAGEVideo frames as a ComfyUI IMAGE batch.
maskMASKMatched per-frame masks marking what to remove; one shared mask broadcasts to every frame.
deviceCOMBOauto2 options: auto, cpu
subvideo_lengthINT808–300Frames the transformer stage reasons over at once. This is what sets peak VRAM, and the node lowers it automatically when memory is tight.
neighbor_lengthINT102–100—
ref_strideINT101–100—
mask_dilationINT40–64ProPainterX's own dilation of the removal region.
force_unload_modelBOOLEANfalseRelease the models when this run ends so other nodes can take the VRAM back.
batch_overlapINT40–64Frames two consecutive passes share; they are cross-faded to hide the seam.

Outputs (1)

NameTypeDescription
IMAGEIMAGE—