Generate an AI-powered description of a specific video frame’s visual content.
import videodbconn = videodb.connect(api_key="your_api_key")coll = conn.get_collection()video = coll.get_videos()[0]# Get scene collectionscene_collection = video.get_scene_collection("scene_collection_id")# Get a frame from a scenescene = scene_collection.scenes[0]frame = scene.frames[0]# Describe the framedescription = frame.describe()print(f"Frame description: {description}")print(f"Frame time: {frame.frame_time}s")# Describe with custom promptcustom_desc = frame.describe(prompt="List all objects visible")
Generates detailed visual description using AI vision models
Can use custom prompts to focus description on specific aspects
Overwrites existing frame description
Frame IDs start with fr- prefix
Each frame includes timestamp (frame_time) in the video
Useful for generating captions or accessibility descriptions