This example shows how to include animated GIFs into videos using Narakeet.
Check out the outcome in result.mp4.
Upload the script directory to a Narakeet project. The main script file is source.md.
Animated GIFs will automatically loop for the duration of the audio - just include them in the script as an image:
You can optionally make the GIF play one loop and stop on the last frame, using the freeze synchronization option in square brackets. For example:
To loop a GIF without any narration, or for longer than the duration of the audio, just include a pause stage direction to the scene.

(pause: 5)Check out Using Animated GIFs for more information on scene synchronization options.