TiledWan Inpaint Crop Improved
TiledWanInpaintCropImproved
Advanced inpainting crop node that intelligently crops images around masked areas for optimal inpainting results. Features: - Batch processing with temporal consistency for video sequences - Automatic context area detection and expansion - Smart resizing with aspect ratio preservation - Optional pre-processing (resize, mask manipulation, outpainting extension) - Window size consistency across batches for video processing - Linear interpolation for smooth mask transitions in video sequences The node processes masks to find the optimal crop area, applies various preprocessing steps, and outputs cropped images ready for inpainting along with stitcher data for reconstruction.
Pack: comfyUI-TiledWan
custom_nodes.comfyUI-TiledWan
Inputs (27)
| Name | Type | Required |
|---|---|---|
| image | IMAGE | required |
| downscale_algorithm | COMBO | required |
| upscale_algorithm | COMBO | required |
| preresize | BOOLEAN | required |
| preresize_mode | COMBO | required |
| preresize_min_width | INT | required |
| preresize_min_height | INT | required |
| preresize_max_width | INT | required |
| preresize_max_height | INT | required |
| mask_fill_holes | BOOLEAN | required |
| mask_expand_pixels | INT | required |
| mask_invert | BOOLEAN | required |
| mask_blend_pixels | INT | required |
| mask_hipass_filter | FLOAT | required |
| extend_for_outpainting | BOOLEAN | required |
| extend_up_factor | FLOAT | required |
| extend_down_factor | FLOAT | required |
| extend_left_factor | FLOAT | required |
| extend_right_factor | FLOAT | required |
| context_from_mask_extend_factor | FLOAT | required |
| output_resize_to_target_size | BOOLEAN | required |
| output_target_width | INT | required |
| output_target_height | INT | required |
| output_padding | COMBO | required |
| keep_window_size | BOOLEAN | required |
| mask | MASK | optional |
| optional_context_mask | MASK | optional |