Skip to content

cloudinary-devs/product-recolor-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Recolor and Personalize

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.

Features

  • 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

Running the App

  • Sign up for a free Cloudinary account.
  1. Clone this repository.
  2. Create a virtual environment
    python3 -m venv venv
    
  3. Activate your virtual environment
    source venv/bin/activate
    
  4. Install the required dependencies:
    pip install -r requirements.txt
  5. 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.
  6. Run the app:
    python server.py
  7. Open your browser to http://127.0.0.1:5000 to view the app.

Notes

  • 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.

About

Create a gif to show off products in different colors. Then transform it into a video with overlays.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published