You can set a seed and `Generator` as shown below. Creating an image with a `Generator` should return the same result each time instead of randomly generating a new image.  
```py
from diffusers import AutoPipelineForText2Image
import torch