</div>
</div>  
</hfoption>
<hfoption id="Image-to-image">  
You can use PAG with image-to-image pipelines.  
```py
from diffusers import AutoPipelineForImage2Image
from diffusers.utils import load_image
import torch