</Tip>  
2. Load an image to pass to the pipeline:  
```py
init_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
```  
3. Pass a prompt and image to the pipeline to generate an image:  
```py
prompt = "cat wizard, gandalf, lord of the rings, detailed, fantasy, cute, adorable, Pixar, Disney, 8k"
image = pipeline(prompt, image=init_image).images[0]
make_image_grid([init_image, image], rows=1, cols=2)
```  
<div class="flex gap-4">
<div>