Skip to main content
To add any video to your app, use the TwelveLabsVideoLoader. It analyses the video with the TwelveLabs Pegasus video understanding model β€” which watches the visuals, motion and audio β€” and loads the resulting description into your RAG application. This lets you run RAG over video content directly from a public URL, without a separate transcription step.
  • Sign up for an account with TwelveLabs and grab an API key. There’s a generous free tier at twelvelabs.io.
  • Set the key in the environment variable TWELVELABS_API_KEY (or pass it directly to the loader).

Install TwelveLabs addon

Usage

You can customise the analysis with an optional prompt, model (pegasus1.2 or pegasus1.5) and maxTokens: