Analyze and segment videos

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

Choose an endpoint

  • For videos under 1 hour, use the POST method of the /analyze endpoint. This endpoint returns results immediately and supports real-time streaming.
  • For videos up to 2 hours, a portion of a video up to 4 hours long, or video segmentation, use the POST method of the /analyze/tasks endpoint. This endpoint processes videos asynchronously.
  • For multiple videos, use the POST method of the /analyze/batches endpoint. This endpoint processes multiple analysis requests in one batch.

Related guide: Analyze videos.

Related quickstart notebook