ComfyUI Node
Inpaint Crop (Artify)
A ComfyUI node in Artify/Inpaint with 13 inputs and 3 outputs.
Inpaint Crop (Artify)
- image
- mask
- optional_context_mask
- stitcher
- cropped_image
- cropped_mask
◄downscale_algorithmbilinear►
◄upscale_algorithmbicubic►
◄mask_fill_holestrue►
◄mask_expand_pixels0►
◄mask_invertfalse►
◄mask_blend_pixels32►
◄mask_hipass_filter0.10►
◄context_from_mask_extend_factor1.20►
◄min_context_megapixels0.00►
◄device_modegpu (much faster)►
CategoryArtify/Inpaint
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to crop for inpainting. | |
| downscale_algorithm | COMBO | bilinear | Algorithm used when stitched content must be downscaled to fit the crop window. |
| upscale_algorithm | COMBO | bicubic | Algorithm used when stitched content must be upscaled to fit the crop window. |
| mask_fill_holes | BOOLEAN | true | Fill enclosed holes in the mask before computing context. |
| mask_expand_pixels | INT | 00–16384 | Expand mask edges by N pixels before context detection. |
| mask_invert | BOOLEAN | false | Invert mask so unmasked regions become the inpaint target. |
| mask_blend_pixels | INT | 320–512 | Blend radius (in pixels) used for stitching transitions. |
| mask_hipass_filter | FLOAT | 0.100–1 | Ignore mask values below this threshold. |
| context_from_mask_extend_factor | FLOAT | 1.201–100 | Grow mask-derived context area by this factor. |
| min_context_megapixels | FLOAT | 0.000–16 | Minimum context area in megapixels. Grows context while preserving input image aspect ratio. |
| device_mode | COMBO | gpu (much faster) | Run crop math on CPU (safe) or GPU (faster). |
| maskopt | MASK | Primary inpainting mask. | |
| optional_context_maskopt | MASK | Extra mask area to force-include as context. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| stitcher | STITCHER | — |
| cropped_image | IMAGE | — |
| cropped_mask | MASK | — |