Skip to main content
Twelve Labs is an AI company that provides video understanding capabilities through its APIs. Its Embed API lets developers create multimodal embeddings that capture the context and interactions between different modalities in videos, such as visual expressions, body language, spoken words, and overall context. By integrating Twelve Labs’ Embed API with Pinecone Database, developers can store, index, and retrieve these multimodal embeddings at scale. This integration lets developers build AI applications that use video data, such as video search, recommendation systems, and content moderation. Developers generate embeddings using Twelve Labs’ API and store them in Pinecone for fast, accurate similarity search and retrieval. Together, Twelve Labs and Pinecone let developers process and understand video content in a more human-like manner. By combining Twelve Labs’ video-native approach with Pinecone’s purpose-built vector search, developers can build applications across industries, including media and entertainment, e-commerce, and education.

Setup guide

  1. Sign up for a Twelve Labs account and get your API key.
  2. Install the Twelve Labs Python client library.
  3. Sign up for a Pinecone account and create an index.
  4. Install the Pinecone client library.
  5. Use the Twelve Labs Embed API to generate multimodal embeddings for your videos.
  6. Connect to your Pinecone index and upsert the embeddings.
  7. Query the Pinecone index to retrieve similar videos based on embeddings.
For more information and code examples, see the Twelve Labs documentation.