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
analyzeoranalyzeStreammethod. These methods return results immediately in the response. - For videos up to 2 hours, or for video segmentation, use the
analyzeAsync.tasks.createmethod. This method processes videos asynchronously.