This app demonstrates how to use Cloudinary's multi endpoint to create a GIF from a sequence of product images with different color variations. It also shows how to set up and run a simple Flask web app to display the generated GIF and (optionally) a video version with overlays.
- Generates a GIF from multiple product images using Cloudinary's multi endpoint
- (Optionally) Converts the GIF to MP4 and applies overlays (see server.py for details)
- Simple Flask web interface to view the results
- Sign up for a free Cloudinary account.
- Clone this repository.
- Create a virtual environment
python3 -m venv venv
- Activate your virtual environment
source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Enter your entire API Environment Variable (can be found on the API Keys page of the Cloudinary Console) in the
.env
file of your project directory. - Run the app:
python server.py
- Open your browser to http://127.0.0.1:5000 to view the app.
- You must have a valid Cloudinary account and set your credentials in the
.env
file. - The app uses only Python and Cloudinary's API—no system-level dependencies like ffmpeg are required for the default GIF workflow.
- If you want to experiment with MP4/video overlays, see the comments in
server.py
for advanced usage.