Skip to navigation

Analyze and segment videos

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

Choose a method

Sync analysis

One video under 1 hour, or up to twenty images. Use the analyze method for immediate results, or the analyzeStream method for real-time streaming.

Async analysis

One video up to 2 hours (or a portion up to 4 hours), or up to twenty images, with video segmentation. Use the analyzeAsync.tasks.create method, then poll the task for results.

Batch analysis

Up to 1,000 videos in one request, with video segmentation. Use the analyzeAsync.batches.create method, then poll the batch for results.