Inpainting on image other than height and width 1024:1024

Being able to use inpainting on image other than height and width not exceed Height and Width 1024x1024 (so Aspect Ratio: 1:1 Dimensions: 896 x 1152 will not inpaint)