Create a video slideshow from images
Turn a collection of images into an animated video with Ken Burns effects, text overlays, logos, and background music — using a fully declarative Pixeltable pipeline.
Create videos from text prompts or animate images using Google's Veo model.
Video · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
Use Google's Veo model to generate videos. Videos are cached—regeneration only happens if the prompt changes.
pip install pixeltable google-genai
GEMINI_API_KEYgemini.generate_videos()pxt.create_table()add_computed_column()insert()# Create a table for text-to-video generationvideos = pxt.create_table('video_gen_demo/text_to_video', {'prompt': pxt.String})# Add computed column that generates videosvideos.add_computed_column(video=gemini.generate_videos(videos.prompt, model='veo-3.1-fast-generate-preview'))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Turn a collection of images into an animated video with Ken Burns effects, text overlays, logos, and background music — using a fully declarative Pixeltable pipeline.
Pull frames from video files at specified intervals for analysis, thumbnails, or training data.
Detect objects in a video frame by frame: Pixeltable extracts the frames, runs YOLOX models on them and reassembles the frames into a video. Compare detection models and evaluate them against ground truth.
Automatically find scene cuts, transitions, and fades in video files.