Twelve Labs icon

Twelve Labs

Interact with Twelve Labs API for video understanding

Index → Create

AI-generated

Summary

Create a new video index on Twelve Labs platform with specified name and AI models for search and analysis.

Inputs

  • Index Name (required) — Specify the name of the new index to create.
  • Marengo Model — Select a search model to enable semantic search capabilities; options include Marengo 3.0, Marengo 2.7, or None to exclude this model.
  • Pegasus Model — Choose an analysis and generation model to enable chat, summaries, and video analysis; options are Pegasus 1.2 or None.
  • Model Options — Select one or both content modalities to process in the index: Visual (scenes, objects, actions) and/or Audio (speech, sounds). At least one must be selected.

Output shape

a single JSON object representing the created index

The output includes the index ID, name, comma-separated string of included model names, and the index status. An error is thrown if no models or no model options are selected.

Discussion