)
frames = output.frames[0]
export_to_gif(frames, "animation.gif")
```  
<div class="flex justify-center">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/animatediff.gif"/>
</div>  
</hfoption>
</hfoptions>