Analyze videos

The TwelveLabs Node.js SDK provides methods to analyze videos to generate text based on their content.

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, use the analyzeAsync.tasks.create method. This method processes videos asynchronously.