Analyze and segment videos

The TwelveLabs Node.js SDK provides methods to analyze videos, generate text based on their content, and extract structured, timestamped segments.

Choose a method

  • For videos under 1 hour, use the analyze or analyzeStream method. These methods return results immediately in the response.
  • For videos up to 2 hours, or for video segmentation, use the analyzeAsync.tasks.create method. This method processes videos asynchronously.