Analyze videos
Use the Analyze API to analyze videos and generate text based on their content.
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, use the
POSTmethod of the/analyze/tasksendpoint. This endpoint processes videos asynchronously.
Related guide: Analyze videos.