ComponentsBundles
Twelve Labs
Components provided by the Twelve Labs integration.
Convert Astra DB to Pegasus Input
Converts Astra DB search results to inputs compatible with TwelveLabs Pegasus.
| Input | Type | Required |
|---|---|---|
| Astra DB Results | other | Yes |
| Output | Type |
|---|---|
| Index ID | Message |
| Video ID | Message |
Split Video
Split a video into multiple clips of specified duration.
| Input | Type | Required |
|---|---|---|
| Video Data | other | Yes |
| Clip Duration (seconds) | int | Yes |
| Include Original Video | bool | No |
| Last Clip Handling | str | Yes |
| Output | Type |
|---|---|
| Video Clips | JSON |
TwelveLabs Pegasus
Chat with videos using TwelveLabs Pegasus API.
| Input | Type | Required |
|---|---|---|
| Video Data | other | No |
| TwelveLabs API Key | str | Yes |
| Index ID | str | No |
| Index Name | str | No |
| Prompt | str | Yes |
| Model | str | No |
| Temperature | slider | No |
| Pegasus Video ID | str | No |
| Output | Type |
|---|---|
| Message | Message |
| Video ID | Message |
TwelveLabs Pegasus Index Video
Index videos using TwelveLabs and add the video_id to metadata.
| Input | Type | Required |
|---|---|---|
| Video Data | other | Yes |
| TwelveLabs API Key | str | Yes |
| Index ID | str | No |
| Index Name | str | No |
| Model | str | No |
| Output | Type |
|---|---|
| Indexed Data | JSON |
TwelveLabs Text Embeddings
Generate embeddings using TwelveLabs text embedding models.
| Input | Type | Required |
|---|---|---|
| TwelveLabs API Key | str | Yes |
| Model | str | No |
Advanced options: Max Retries, Request Timeout
| Output | Type |
|---|---|
| Embedding Model | Embeddings |
TwelveLabs Video Embeddings
Generate embeddings from videos using TwelveLabs video embedding models.
| Input | Type | Required |
|---|---|---|
| TwelveLabs API Key | str | Yes |
| Model | str | No |
Advanced options: Request Timeout
| Output | Type |
|---|---|
| Embedding Model | Embeddings |
Video File
Load a video file in common video formats.
| Input | Type | Required |
|---|---|---|
| Video File | file | Yes |
| Output | Type |
|---|---|
| Files | Table |