> This page is for version v1.3 (default).
> For other versions, use one of these documentation indexes:
> - v1.3 (default): https://docs.twelvelabs.io/v1.3/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.twelvelabs.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.twelvelabs.io/_mcp/server.

# Analyze and segment videos

> Analyze videos to generate text and extract structured, timestamped segments.

Use the Analyze API to analyze videos or images, generate text based on their content, and extract structured, timestamped segments.

# Choose an endpoint

#### [Sync analysis](/v1.3/api-reference/analyze-videos/sync-analysis)

One video under 1 hour, or up to twenty images. You receive results immediately and can stream them in real time.

#### [Async analysis](/v1.3/api-reference/analyze-videos/create-async-analysis-task)

One video up to 2 hours (or a portion up to 4 hours), or up to twenty images, with video segmentation. You poll the task for results.

#### [Batch analysis](/v1.3/api-reference/analyze-videos/batch-analysis/create-batch)

Up to 1,000 videos in one request, with video segmentation. You poll the batch for results.

**Related guide**: [Analyze videos and images](/v1.3/docs/guides/analyze-videos-and-images).

[**Related quickstart notebook**](https://colab.research.google.com/github/twelvelabs-io/twelvelabs-developer-experience/blob/main/quickstarts/TwelveLabs_Quickstart_Analyze.ipynb)