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
POSTmethod of the/analyzeendpoint. 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
POSTmethod of the/analyze/tasksendpoint. This endpoint processes videos asynchronously. - For multiple videos, use the
POSTmethod of the/analyze/batchesendpoint. This endpoint processes multiple analysis requests in one batch.
Related guide: Analyze videos.