The TwelveLabs class
The TwelveLabs class is the main entry point for the SDK. It initializes the client and provides access to resources for uploading videos, managing indexes, performing searches, creating embeddings, and analyzing videos.
Methods
The initializer
Description: The constructor creates a new instance of the TwelveLabs class.
Function signature and example:
Parameters
Return value
None. This method initializes the instance.
Request options
Every method accepts an optional request_options argument for per-call configuration. Pass it as a keyword argument:
The request_options argument accepts the following fields: