Duplicated fromΒ fffiloni/diffusers-image-outpaint
108 unmodified lines109110111112112113114115108 unmodified lines source = image target_ratio=(9, 16) target_height=1280 overlap=48 overlap=128 fade_width=24 max_width = 720 # Resize the image if it's wider than max_width