- Using the app
- Install and run the app using Python
- Install and run the app using Docker
- How it works
To use the app
- Find a youtube / shorts url containing a short phrase you want to gif-a-fy
- Enter text describing the moment you want to gif-a-fy
- Click the 'create gif' button to create your gif, download, and share!
After creation you can manually adjust, trim, or extend the length of your gif.
Here's a brief gif showing how easy it is to create gifs using the app.
And here are a few gifs made using the app
To run the app install the associated requirements.txt
and run
python -m streamlit run yt_gif_maker/app.py
Or run via Docker
docker compose up
You do not need a GPU to run this locally.
The app pulls your desired YouTube video and - if available - YouTube's automated transcript. Because these transcripts tend to be low quality, you can also produce your own using any of Whisper's core models (including the newly released turbo).
A vector embedding of the transcription is then created for semantic matching of your input phrase.
Once the best match is found the corresponding timestamps are used to create an initial clip + gif of your input phrase. You can then manually adjust the start/stop time of your gif, download, and share!