User-defined metadata on asset upload
You can now attach user-defined metadata to your assets during upload. Previously, you could only add metadata after indexing a video. With this update, the following methods accept the user_metadata parameter:
This release also introduces two new methods for managing user-defined metadata on existing assets:
Update: SDK support is now available.
Timestamp formatting for analysis responses
You can now choose the output format for timestamps in both general analysis (prompt-based text generation) and video segmentation. This feature requires Pegasus 1.5.
Update: SDK support is now available.
Timestamp formatting in structured responses
Declare a field as {"type": "timestamp", "format": "<format>"} to control the format of the returned value. Available formats: seconds, hh:mm:ss, and hh:mm:ss.fff.
For complete parameter specifications, see the following parameters in the API Reference section:
- Sync analysis:
json_schema. - Async analysis:
json_schemaandfields.
Format control for segment boundaries
Set the segment_time_format parameter to control the output format for the automatic start_time and end_time boundaries on each returned segment. Available formats: seconds, hh:mm:ss, and hh:mm:ss.fff.
For complete parameter specifications, see the segment_time_format property in the API Reference section.