Skip to main content
TwelveLabs provides state-of-the-art video understanding technology that makes video content instantly searchable and intelligently analyzable. Combined with SambaNova’s high-performance AI models, you can transform educational videos into interactive games and learning experiences.

Prerequisites

Before you begin, ensure you have:

Setup

This integration uses TwelveLabs for video understanding and SambaNova for game code generation, enabling you to convert educational videos into interactive learning experiences.
  1. Configure environment variables
Create a .env file in your project’s root directory with the following configuration:
TWELVELABS_API_KEY=your_twelvelabs_api_key_here
SAMBANOVA_API_KEY=your_sambanova_api_key_here
BASE_URL=http://127.0.0.1:8000
SAMBANOVA_BASE_URL=your_sambanova_base_url_here
  1. Install dependencies
Install the required Python packages
pip install -r requirements.txt
  1. Start the application
python app.py
The API will be available at http://127.0.0.1:8000.

Additional resources

For more information about TwelveLabs capabilities and features, visit the official TwelveLabs documentation.
I