Marengo 2.7 has been sunset. Review your integration now. See the Migration guide for details.

Sample appsIntegrationsDiscordPlaygroundDevEx repo
GuidesSDK ReferenceAPI Reference
GuidesSDK ReferenceAPI Reference
  • Python SDK
    • The TwelveLabs class
    • Manage indexes
    • Upload content
    • Index content
    • Manage videos
    • Manage entities
    • Search
    • Create embeddings v2
    • Create embeddings v1
    • Analyze videos
  • Node.js SDK
    • The TwelveLabs class
    • Manage indexes
    • Upload content
    • Index content
    • Manage videos
    • Manage entities
    • Search
    • Create embeddings v2
    • Create embeddings v1
    • Analyze videos
On this page
  • Choose a method
Python SDK

Analyze videos

The TwelveLabs Python SDK provides methods to analyze videos and generate text based on their content.

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, use the analyze_async.tasks.create method. This method processes videos asynchronously.
Was this page helpful?
Previous

Sync analysis

Next
Built with
LogoLogo
Sample appsIntegrationsDiscordPlaygroundDevEx repo