For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sample appsIntegrationsDiscordPlaygroundDevEx repo
GuidesSDK ReferenceAPI Reference
GuidesSDK ReferenceAPI Reference
  • TwelveLabs API
    • Introduction
    • Authentication
  • API Reference
    • Manage indexes
    • Upload content
    • Index content
    • Manage videos
    • Manage entities
    • Any-to-video search
    • Create embeddings v2
    • Create embeddings v1
    • Analyze and segment videos
      • POSTSync analysis
      • POSTCreate an async analysis task
      • GETList async analysis tasks
      • GETRetrieve analysis task status and results
      • DELDelete an analysis task
    • Error codes
LogoLogo
Sample appsIntegrationsDiscordPlaygroundDevEx repo
On this page
  • Choose an endpoint
API Reference

Analyze and segment videos

Was this page helpful?
Previous

Sync analysis

Next
Built with

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

Choose an endpoint

  • For video files under 1 hour, use the POST method of the /analyze endpoint. This endpoint returns results immediately and supports real-time streaming.
  • For video files up to 2 hours, or for video segmentation, use the POST method of the /analyze/tasks endpoint. This endpoint processes videos asynchronously.

Related guide: Analyze videos.

Related quickstart notebook