---
title: "TwelveLabs Developer Hub: APIs, SDKs and Docs"
description: "Build with the TwelveLabs API and SDK. Explore documentation, sample apps, and guides for semantic search, embeddings, and video AI integration."
canonical: "https://www.twelvelabs.io/developer-hub"
lang: "en"
---

# Explore our guides and examples to integrate TwelveLabs

DEVELOPER HUB

Easily build features like semantic search, anomaly detection, content recommenders and capabilities tailored to you. Our API unlocks your video’s full potential.

## Quick links

- [API Reference](https://docs.twelvelabs.io/reference/api-reference)
- [Sample Apps](https://www.twelvelabs.io/sample-apps)
- [Community](https://docs.twelvelabs.io/docs/from-the-community)
- [SDKs](https://docs.twelvelabs.io/docs/twelve-labs-sdks)
- [Recipes](https://docs.twelvelabs.io/recipes)
- [Status Hub](https://status.twelvelabs.io)
- [Help](https://discord.com/invite/Sh6BRfakJa)
- [Playground](https://playground.twelvelabs.io/)
- [Platform Overview](https://www.twelvelabs.io/product/product-overview)

## Try our API.

Get your API keys from the [API Keys dashboard](https://playground.twelvelabs.io/dashboard/api-keys) (see the [authentication guide](https://docs.twelvelabs.io/v1.3/api-reference/authentication)) and ensure the TwelveLabs SDK is installed on your computer:

PYTHON NODE

pip install twelvelabs

You can copy and paste the code below to analyze videos and generate text based on their content. Replace the placeholders surrounded by <> with your values.

PYTHON NODE

from twelvelabs import TwelveLabs

from twelvelabs.indexes import IndexesCreateRequestModelsItem

from twelvelabs.tasks import TasksRetrieveResponse

client = TwelveLabs(api_key="<YOUR_API_KEY>")

index = client.indexes.create(

index_name="<YOUR_INDEX_NAME>",

models=[

IndexesCreateRequestModelsItem(

model_name="pegasus1.2", model_options=["visual", "audio"]

)

]

)

print (f"Created index: id= {index.id}")

task = client.tasks.create(

index_id=index.id, video_url="<YOUR_VIDEO_URL>")

print (f"Created task: id= {task.id}")

def on_task_update(task: TasksRetrieveResponse):

print (f" Status= {task.status}")

task = client.tasks.wait_for_done(task_id=task.id, callback=on_task_update)

if task.status != "ready":

raise RuntimeError(f"Indexing failed with status {task.status}")

print (

f"Upload complete. The unique identifier of your video is {task.video_id}.")

text_stream = client.analyze_stream(video_id=task.video_id, prompt="<YOUR_PROMPT>")

for text in text_stream:

if text.event_type == "text_generation":

print (text.text)

For more information, visit our [Quickstart documentation](https://docs.twelvelabs.io/v1.3/docs/get-started/quickstart) or test in the [Playground sandbox](https://docs.twelvelabs.io/v1.3/docs/resources/playground).

## Jump right in with a Sample App…

Discover what TwelveLabs can do by experimenting with our fully functional sample applications.

[See all sample apps](https://www.twelvelabs.io/sample-apps)

[Node Who talked about us Use semantic search capabilities of the platform to identify the most suitable influencers to reach out to. Try this example](https://www.twelvelabs.io/blog/who-talked-about-us) [Node Analyze social media posts for your videos Simplify the cross-platform video promotion workflow by analyzing unique posts for each social media platform. Try this example](https://www.twelvelabs.io/blog/generate-social-posts) [Node Shade finder This application uses the image-to-video search feature to find color shades in videos. Try this example](https://www.twelvelabs.io/blog/shade-finder)

## Integrations

Expand the functionality and efficiency of TwelveLabs’ Video Understanding Platform with our partner integrations.

[!Databricks logo(https://website-assets.twelvelabs.io/images/rDG8PfyTWCLkmU559hAs7tDkLn0.png?width=4096) Semantic video search plugin The plugin allows you to accurately identify movements, actions, objects, people, sounds, on-screen text, and speech](https://www.twelvelabs.io/blog/twelve-labs-and-databricks-mosaic-ai) [!Pinecone logo(https://website-assets.twelvelabs.io/images/OxZEaw9Bzb5KySmOVO4ANsmP4Q0.png?width=4096) The TwelveLabs handler This guide outlines how you can use the handler and how the handler interfaces with the Twelve Labs Video Understanding Platform.](https://www.twelvelabs.io/blog/twelve-labs-and-pinecone) [!Milvus logo(https://website-assets.twelvelabs.io/images/0oUj8IR8yeX3aaujZq4mFfjyZY.png?width=4096) Semantic video search This integration combines Twelve Labs’ Embed API with MongoDB Atlas Vector Search to create an efficient semantic video search solution.](https://www.twelvelabs.io/blog/twelve-labs-and-milvus)

## Browse by product

Explore documentation specific to each of our product offering.

[Product overview](https://www.twelvelabs.io/product/product-overview)

[Search Find specific moments within your videos by describing the scene in natural language.!Diagram of a search query matching video clips(https://website-assets.twelvelabs.io/images/Iq6XjeWDnhxtiAISyCMfyrYjSJk.png?width=4096)](https://www.twelvelabs.io/) [Analyze Generate text from videos - summary, chapters, highlights and more.!Diagram of a video turned into AI generated content(https://website-assets.twelvelabs.io/images/nX8MA39f9keFb9KYNX3ZJUJScs.png?width=4096)](https://www.twelvelabs.io/) [Embed Build your own classifier using natural language and run instantly. !Diagram of multimodal embeddings plotted in a vector space(https://website-assets.twelvelabs.io/images/ZnydUVm81GnSuXOr2Ym3JaJSI.png?width=4096)](https://www.twelvelabs.io/)

## Our stable of models.

Learn more about TwelveLabs’ world-leading video foundation models.

[Learn more](https://www.twelvelabs.io/product/models-overview)

![Animated pixel horse running](https://website-assets.twelvelabs.io/images/QMCvtZrqLrVUhVRHyT07zsnPJcY.gif)

### Marengo

Our breakthrough video foundation model analyzes frames and their temporal relationships, along with speech and sound — a huge leap forward for search and any-to-any retrieval tasks.

![Animated pixel winged horse flying](https://website-assets.twelvelabs.io/images/dXiH2JE0LbKAi8Oz1mz5OifLjQ.gif)

### Pegasus

Our powerful video-first language model integrates visual, audio, and speech information — and employs this deep video understanding to reach new heights in text generation.

## Support and guidance

### Contact

Have a question? Get in touch with a member of the TwelveLabs team for help.

[Contact us](https://www.twelvelabs.io/contact)

### Community

Connect with the TwelveLabs community for ideas, tips, and knowledge sharing.

[Discord](https://discord.com/invite/mwHQKFv7En)
