twelvelabs-pegasus1.5#
A multimodal model that provides comprehensive video understanding and analysis capabilities, including video-to-text generation, structured video segmentation, image-guided prompting, and timestamp-level temporal grounding.
Details
Model name:
twelvelabs-pegasus1.5Model source: https://www.twelvelabs.io
Model author: Twelve Labs, Inc.
Model license: https://www.twelvelabs.io/legal/tos
Exposes embeddings? no
Tags:
video, caption, official
Requirements
Packages:
twelvelabs>=1.2.8CPU support
N/A
GPU support
N/A
Example usage
1import fiftyone as fo
2import fiftyone.zoo as foz
3
4dataset = foz.load_zoo_dataset("quickstart-video")
5
6# Default configuration
7model = foz.load_zoo_model("twelvelabs-pegasus1.5")
8
9# Custom prompt and generation length
10model = foz.load_zoo_model(
11 "twelvelabs-pegasus1.5",
12 prompt="List the main objects that appear in this video.",
13 max_tokens=1024,
14)
15
16dataset.apply_model(model, label_field="caption")
17
18session = fo.launch_app(dataset)