Inpaint(InpaintStage)
The Inpaint node (class InpaintStage) runs an inpainting workflow from within a ComfyTV pipeline.
Inpaint Stage
Description
The Inpaint node (class InpaintStage) runs an inpainting workflow from within a ComfyTV pipeline. You choose which inpaint workflow to use, supply the mask data that defines the region to repaint, and connect the source image or images. The node executes the selected workflow and returns the resulting image as a COMFYTV_IMAGE.
It is grouped under ComfyTV/Image.
Inputs
workflow (COMBO, required)
Selects which inpaint workflow to run. The dropdown lists the inpaint workflows made available by the ComfyTV package. The chosen workflow determines the actual inpainting model, sampler settings, and processing behavior; this node wires your mask and images into that workflow.
mask_data (STRING, required, default: empty string)
Carries the mask information that tells the inpaint workflow which areas of the image to repaint. It is passed through to the selected workflow. The default is an empty string, so a meaningful mask must be provided for inpainting to do useful work.
images (AUTOGROW, required)
The input image or images to be inpainted. Because this is an autogrow input, extra image slots can be added as needed, allowing a variable number of images to be fed into the same stage.
Outputs
COMFYTV_IMAGE
The inpainted image result produced by the selected workflow. This output is typed as COMFYTV_IMAGE for use by downstream ComfyTV nodes.
Usage Notes
- Choose the target inpaint workflow first, since it controls how the mask and images are interpreted.
- Provide a non-empty
mask_datavalue; the default empty string will not define any region to inpaint. - The autogrow
imagesinput can accept additional images without reconfiguring the node, which is useful when processing several images through the same inpaint workflow. - Connect the
COMFYTV_IMAGEoutput to subsequent ComfyTV image stages, such as save or post-processing nodes.
Comments
Sign in with GitHub to join the discussion.