diffusers.utils.export_to_gif(out, path_out, fps=reader.get_meta_data()['fps'])
```  
Here, the diffusion process starts from the given computed latent.
The pipeline sets `output_latent=True` to access `out.latent` and computes its contribution to the next frame's latent initialization.
The result is much more stable now:  
<div class="flex gap-4">
<div style="flex: 1 1 50%; max-width: 50%;">