temp_image = generate_image(prompt, negative_prompt, white_bg_image, image_zoe, 908097)
```  
Paste the original image over the initial outpainted image. You'll improve the outpainted background in a later step.  
```py
x = (1024 - resized_img.width) // 2
y = (1024 - resized_img.height) // 2
temp_image.paste(resized_img, (x, y), resized_img)
temp_image
```  
<div class="flex justify-center">
<img src="https://huggingface.co/datasets/stevhliu/testing-images/resolve/main/initial-outpaint.png"/>
</div>