You're looking at a specific version of this model. Jump to the model overview.
meta /sam-2-video:d0b79afb
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
|
15
|
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'},
'highlighted_frames': {'items': {'format': 'uri',
'type': 'string'},
'title': 'Highlighted Frames',
'type': 'array'}},
'required': ['black_white_masks', 'highlighted_frames'],
'title': 'Output',
'type': 'object'}