image = pipeline("A photo of sks dog in a bucket", num_inference_steps=50, guidance_scale=7.5).images[0]
image.save("dog-bucket.png")
```  
</Tip>  
<hfoptions id="training-inference">
<hfoption id="PyTorch">  
```py
from diffusers import DiffusionPipeline
import torch