# pass prompt and image to pipeline
image_1 = pipeline(prompt, image=init_image, output_type="latent").images[0]
```  
<Tip>  
It is important to specify `output_type="latent"` in the pipeline to keep all the outputs in *latent* space to avoid an unnecessary decode-encode step. This only works if the chained pipelines are using the same VAE.  
</Tip>  
Chain it to an upscaler pipeline to increase the image resolution:  
```py
from diffusers import StableDiffusionLatentUpscalePipeline