Submit a video for classification
š Response format varies based on the Accept header:
Accept: application/json ā { "identifier": "..." }
Other values (e.g. text/plain) ā plain text with just the identifier string.
Your API key.
The video to be classified. Supported formats: Any video format (MP4, AVI, MOV, etc.). MIME types: Any mimetype starting with 'video/' (e.g., video/mp4, video/avi, video/quicktime). Maximum file size: 5GB.
An optional reference ID to associate with the classification request.
Choose to classify a maximum of 5, 10 or 30 frames.
5, 10, 30 If set to true extracts key frames and uses those for classification instead of fixed-time distance images. The extracted key frames may be less than the requested frames.
Key frames identification algorithm. Possible values are iframes (default), flow and color.
iframes : extracts the iframes of the video;color : returns the average frame, based on color, of every shot sequence. Shot sequences are group of frames that start with an iframe;flow : returns the most still frame with respect of the previous frame of every shot sequence.iframes, flow, color Set it to true if you also want to analyze people's faces in the image using morphing.
If specified, the classification result will also be automatically sent to the entered URL. Otherwise, the result can be obtained by polling the relative endpoint. Please note that in order to use a webhook callback URL you need to request a specific enablement, otherwise the parameter is ignored. Moreover, the system may cache the analysis results of repeated submissions, i.e. submissions of the same file with the same options: in this case the webhook won't be called and the results would be accessible only by polling the relative endpoint.
The classification identifier. The format depends on the Accept header.
"8d64370a87b820cc1cf620338f5c898bab37439c9a405f32d9eaffc50c4f27b0"