Analyze and segment videos

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

Related quickstart notebook

Choose a method

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