The Stable Diffusion pipeline accepts latents as an optional input for reproducibility purposes, see #247.
In conversation with @tmabraham, he suggested extending this feature to other pipelines too. In addition to reproducibility efforts, this could come in handy for a potential integration with the fastai library.