You're looking at a specific version of this model. Jump to the model overview.
lucataco /sam3-video:8cbab4c2
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
|
|
| prompt |
string
|
person
|
Text prompt for segmentation
|
| visual_prompt |
string
|
Optional: JSON string defining visual prompts (points/labels) or bounding boxes
|
|
| negative_prompt |
string
|
Optional: Text prompt for objects to exclude
|
|
| mask_only |
boolean
|
False
|
If True, returns a black-and-white mask video instead of an overlay on the original video
|
| return_zip |
boolean
|
False
|
If True, returns a ZIP file containing individual frame masks as PNGs
|
| mask_opacity |
number
|
0.5
Max: 1 |
Opacity of the mask overlay (0.0 to 1.0)
|
| mask_color |
string
|
green
|
Color of the mask overlay. Options: 'green', 'red', 'blue', 'yellow', 'cyan', 'magenta'
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}