| image | IMAGE | | BHWC picture, or the frames of a clip, to cut from. |
| mask | MASK | | White marks what the model should paint. Several frames are unioned into one crop window. A mask of the wrong size is an error, but the 64x64 stand-in core Load Image hands over when nothing was painted counts as empty, not wrong: it selects the whole picture. |
| context_factor | FLOAT | 1.201–10 | Grows the painted box by this factor so the inpainter sees surrounding context. 1.0 hugs the paint exactly. |
| blend_pixels | INT | 160–256 | Feather width for pasting the result back: the paste mask is widened by this many pixels and blurred. It never touches the sampling mask; 0 pastes hard. |
| output_multiple | INT | 81–128 | Crop and target dimensions are rounded up to a multiple of this so samplers accept them. 8 keeps latent sizes legal. |
| target_widthopt | INT | 00–16384 | Rescale the crop to this width for the sampler; 0 keeps the native width, or follows target_height at the crop's aspect ratio. |
| target_heightopt | INT | 00–16384 | Rescale the crop to this height for the sampler; 0 keeps the native height, or follows target_width at the crop's aspect ratio. |
| mask_growopt | INT | 0-256–256 | Dilate the sampling mask by this many pixels (negative shrinks it) so the inpainter repaints past the drawn edge. Reshapes what gets painted, unlike blend_pixels which only feathers the paste-back. |
| mask_bluropt | FLOAT | 0.00–64 | Gaussian sigma softening the sampling mask's edge, for models that honour soft masks. 0 keeps the hard edge. |
| invert_maskopt | BOOLEAN | false | Paint the black area instead of the white one - everything outside the drawn region. |
| context_pixelsopt | INT | 00–4096 | Flat extra context in pixels, added around the box after context_factor's growth. |
| target_megapixelsopt | FLOAT | 0.000–64 | Rescale the crop so its area is about this many megapixels: 1.0 suits SDXL-class models, 0 keeps the native crop size. Explicit target_width/height win. |
| rescale_algorithmopt | COMBO | bilinear | Resize filter for the sampler round trip. bilinear is the safe default, bicubic keeps upscales a touch crisper, area suits heavy downscales, nearest never invents pixels. |
| extend_leftopt | INT | 00–8192 | Outpainting: grow the frame this many pixels leftward. The new band joins the mask and becomes part of the stitched output. |
| extend_rightopt | INT | 00–8192 | Outpainting: grow the frame this many pixels rightward. |
| extend_upopt | INT | 00–8192 | Outpainting: grow the frame this many pixels upward. |
| extend_downopt | INT | 00–8192 | Outpainting: grow the frame this many pixels downward. |
| keep_insideopt | BOOLEAN | true | Keep the crop inside the picture. On, the context stops at the picture's edges, so the model sees only real pixels. Off, the crop runs past them, filled with stretched copies of the edge pixels. |