Twelve Labs icon

Twelve Labs

Interact with Twelve Labs API for video understanding

Video → Upload From File

AI-generated

Summary

Upload a video file from binary data to a specified index in Twelve Labs' video understanding platform and optionally wait for the video processing to complete.

Inputs

  • Binary Property (required) — Name of the binary property containing the video file to upload, e.g., 'data'.
  • Index ID (required) — ID of the index where the video will be uploaded.
  • Wait for Completion — Boolean flag to determine whether to wait until the video processing is complete before continuing. Defaults to true.

Output shape

A JSON object containing the task ID, index ID, upload status, and if waiting for completion, the video ID, processing status, and a success message.

If 'Wait for Completion' is false, the response includes initial upload status and a message indicating that processing is underway. Otherwise, the node waits for video processing to finish and returns the final status and video ID.

Discussion