Sync analysis
Changed onThis method analyzes a video or one or more images and returns the results directly in the response. Each request must contain a video or one or more images, but not both. You can use general analysis (prompt-based text generation) with either media type.
<Accordion title="Input requirements"> **Videos** - Minimum duration: 1 second - Maximum duration: 1 hour - Formats: [FFmpeg supported formats](https://ffmpeg.org/ffmpeg-formats.html) - Resolution: 360x360 to 5184x2160 pixels - Aspect ratio: Between 1:1 and 1:2.4, or between 2.4:1 and 1:1.Images
- You can provide one to twenty images per request.
- Formats: JPEG, PNG, WebP, GIF, and BMP.
- Maximum size: 20 MB per image.
- Maximum pixel count: 16,777,216 pixels per image (width × height). </Accordion>
When to use this method:
- Analyze videos up to 1 hour, or analyze images
- Retrieve immediate results without polling for task completion
- Stream text fragments in real time for immediate processing and feedback
Do not use this method for:
- Videos longer than 1 hour. Use the POST method of the /analyze/tasks endpoint instead.
- Video segmentation with custom segment definitions. Use the POST method of the /analyze/tasks endpoint instead.
On the Free plan, you have a total of 600 minutes (10 hours) shared across indexing, analysis, and segmentation. For details, see the Video hours and video count limits section.
<Note title="Note"> This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page. </Note>Request
- Base URL: https://api.twelvelabs.io/v1.3
- URL: https://api.twelvelabs.io/v1.3/analyze
- Auth: API key in header x-api-key
Request body
Response
The specified video has successfully been analyzed.
Changes
- info
added the new optional request property
- info
added the new
pegasus1.6enum value to the request property
- info
- info
added the optional property
///to the response with the status - info
added the optional property
//to the response with the status
- info