For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
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 and segment 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 and segment videos
LogoLogo
Sample appsIntegrationsDiscordPlaygroundDevEx repo
On this page
  • Sample applications

Python SDK

Was this page helpful?

The TwelveLabs class

Next
Built with

The TwelveLabs Python SDK provides a robust interface for interacting with the TwelveLabs Video Understanding Platform. It simplifies authentication and efficiently processes asynchronous tasks.

Notes
  • This section provides an overview of the key methods and their usage. However, it is a partial list of all available methods and fields in the SDK.
  • The SDK is designed to closely follow the structure of the TwelveLabs API. In most cases, you’ll find a corresponding method in the SDK for each method in the API.

Sample applications

To get started quickly, see the sample applications below that demonstrate the capabilities of the TwelveLabs Python SDK. These applications show how to implement common use cases and the best practices for using the SDK.

  • Building an Olympic Video Classification Application with TwelveLabs