A method, non-transitory computer readable medium, apparatus, and
system for
image generation are described. An embodiment of the present disclosure includes obtaining an input image, an
inpainting mask, and a plurality of content preservation values corresponding to different regions of the
inpainting mask, and identifying a plurality of
mask bands of the
inpainting mask based on the plurality of content preservation values. An
image generation model generates an output
image based on the input image and the inpainting mask. The output image is generated in a plurality of phases. Each of the plurality of phases uses a corresponding mask band of the plurality of mask bands as an input.