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 video files under 1 hour, use the
POSTmethod of the/analyzeendpoint. This endpoint returns results immediately and supports real-time streaming. - For video files up to 2 hours, or for video segmentation, use the
POSTmethod of the/analyze/tasksendpoint. This endpoint processes videos asynchronously.
Related guide: Analyze videos.