Different ways to upload videos and run analysis via the SDK
This page describes the main SDK methods for uploading videos and running analysis. Use upload
to send files to the server and analyze
to run one of several analysis modes on the uploaded videos.
For complete code walkthroughs, see SDK Usage Examples.
upload
– upload one or many files for later analysisanalyze
– run different kinds of analysis on uploaded videosmy_videos
– list your uploaded videosdelete_video
– remove a video by IDUpload one or many local files or URLs. This wraps upload_video
and
accepts either a single string/Path
or a list of them. Remote URLs
must point directly to a video file with one of the following extensions:
.mp4
, .mov
, .avi
, or .webm
.
Run analysis on one or more uploaded videos.
The analysis_type
argument controls what kind of analysis to perform:
search
– supply search_query="..."
to quickly scan for matching clips.rapid_review
– pass custom_event
(and optional custom_category
) to generate event-only suggestions.edge_case
– set edge_case_category
(plus optional concept_ids
and mode="agent"
) to use the specialized edge case pipeline.Retrieve your uploaded videos:
Each entry includes the video ID, filename, duration and size.
Remove a video:
For a step-by-step tutorial, head over to SDK Usage Examples.
Different ways to upload videos and run analysis via the SDK
This page describes the main SDK methods for uploading videos and running analysis. Use upload
to send files to the server and analyze
to run one of several analysis modes on the uploaded videos.
For complete code walkthroughs, see SDK Usage Examples.
upload
– upload one or many files for later analysisanalyze
– run different kinds of analysis on uploaded videosmy_videos
– list your uploaded videosdelete_video
– remove a video by IDUpload one or many local files or URLs. This wraps upload_video
and
accepts either a single string/Path
or a list of them. Remote URLs
must point directly to a video file with one of the following extensions:
.mp4
, .mov
, .avi
, or .webm
.
Run analysis on one or more uploaded videos.
The analysis_type
argument controls what kind of analysis to perform:
search
– supply search_query="..."
to quickly scan for matching clips.rapid_review
– pass custom_event
(and optional custom_category
) to generate event-only suggestions.edge_case
– set edge_case_category
(plus optional concept_ids
and mode="agent"
) to use the specialized edge case pipeline.Retrieve your uploaded videos:
Each entry includes the video ID, filename, duration and size.
Remove a video:
For a step-by-step tutorial, head over to SDK Usage Examples.