Pegasus 1.5 now supports synchronous analysis
You can now use Pegasus 1.5 with the synchronous analysis endpoint. Set the model_name parameter to pegasus1.5 when calling the POST method of the /analyze endpoint to analyze videos directly from a URL, asset, or base64 string and receive results in the response.
The following Pegasus 1.5 capabilities, previously available only through async analysis, are now available on the synchronous analysis endpoint:
- Structured prompts with reference images: Use the
prompt_v2parameter to include up to 4 reference images in your prompt. - Video clipping: Use the
start_timeandend_timeparameters to analyze a specific portion of the video. The clip must be at least 4 seconds long.
Note
Synchronous analysis with Pegasus 1.5 supports general analysis (prompt-based text generation) only. For video segmentation, use the POST method of the /analyze/tasks endpoint.
For complete parameter specifications, see the Sync analysis page in the API Reference section.