Retrieve all scene records from a specific scene index including descriptions and visual embeddings.
Copy
Ask AI
import videodbconn = videodb.connect(api_key="your_api_key")coll = conn.get_collection()video = coll.get_videos()[0]# Get scene index recordsscene_records = video.get_scene_index("scene_index_id")for record in scene_records: print(f"Scene: {record['scene_id']}") print(f"Description: {record['description']}") print(f"Time: {record['start']}s - {record['end']}s")
Returns list of scene records with AI-generated descriptions
Each record includes start/end timestamps and visual embeddings
Scene IDs follow the pattern sc- prefix
Can be used to search for specific scenes by description