Node.js SDK

The TwelveLabs Node.js 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.
  • While the API uses snake case for function and parameter names, the Node.js SDK adopts camel case. For example, an API parameter like video_id is videoId in the Node.js SDK.

Sample applications

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