You're looking at a specific version of this model. Jump to the model overview.
meta /sam-2-video:5c7d79c9
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
video |
string
|
Input video file
|
|
clicks |
string
|
List of click coordinates in format '[x,y],[x,y],...'
|
|
labels |
string
|
List of labels corresponding to clicks, e.g., '1,1,0,1'
|
|
affected_frames |
string
|
List of frame indices for each click, e.g., '0,0,150,0'
|
|
ann_obj_ids |
string
|
List of object IDs corresponding to each click, e.g., '1,1,1,2'
|
|
vis_frame_stride |
integer
|
1
|
Stride for visualizing frames
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'black_white_masks': {'items': {'format': 'uri',
'type': 'string'},
'title': 'Black White Masks',
'type': 'array'},
'black_white_video': {'format': 'uri',
'title': 'Black White Video',
'type': 'string'},
'highlighted_frames': {'items': {'format': 'uri',
'type': 'string'},
'title': 'Highlighted Frames',
'type': 'array'},
'highlighted_video': {'format': 'uri',
'title': 'Highlighted Video',
'type': 'string'}},
'required': ['black_white_masks',
'highlighted_frames',
'black_white_video',
'highlighted_video'],
'title': 'Output',
'type': 'object'}