image_inpainting = image_inpainting.resize((1024, 1024)) Now let’s pass the image to another inpainting pipeline with SDXL’s refiner model to enhance the image details and quality:   Copied pipeline = AutoPipelineForInpainting.from_pretrained(