ComfyUI Node
arkennemasis fal · SAM 3.1 Video Segmentation · $0.01/16 frames
SAM 3.1 builds comes with Object Multiplex, a shared-memory approach for joint multi-object tracking that delivers faster speeds with larger number of objects tracked. Pricing (from fal, 2026-09-29): Your request will cost $0.01 per 16 frames of video input. Model page: https://fal.ai/models/fal-ai/sam-3-1/video Key: FAL_KEY in the .env next to run_nvidia_gpu.bat. Results are saved in output/fal/fal-ai_sam-3-1_video/.
arkennemasis fal · SAM 3.1 Video Segmentation · $0.01/16 frames
- video
- video
- video_path
- boundingbox_frames_zip_path
- info
◄prompt►
◄point_prompts►
◄box_prompts►
◄apply_masktrue►
◄video_output_typeX264 (.mp4)►
◄detection_threshold0.50►
◄max_num_objects16►
◄max_cost_usd20.0►
◄reuse_identical_runtrue►
◄extra_json►
◄max_concurrent1►
Categoryarkennemasis/fal/Video/SAM
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| video | VIDEO | The URL of the video to be segmented. | |
| prompt | STRING | Text prompt for segmentation. Use commas to track multiple objects (e.g., 'person, cloth'). Empty leaves it out. | |
| point_prompts | STRING | List of point prompts JSON. Empty leaves it out. | |
| box_prompts | STRING | List of box prompt coordinates (x_min, y_min, x_max, y_max). JSON. Empty leaves it out. | |
| apply_mask | BOOLEAN | true | Apply the mask on the video. |
| video_output_type | COMBO | X264 (.mp4) | The output type of the generated video. |
| detection_threshold | FLOAT | 0.500.1–1 | Detection confidence threshold (0.0-1.0). Lower = more detections but less precise. |
| max_num_objects | INT | 161–128 | Maximum number of objects to track in the video. |
| max_cost_usdopt | FLOAT | 20.00–100000 | Safety cap. If the estimated cost of this run is above this many US dollars the node stops BEFORE sending anything to fal. 0 = no cap. |
| reuse_identical_runopt | BOOLEAN | true | If these exact inputs (the settings AND the same pictures/clips/audio) were already paid for and the files are still in output/fal, return them instead of paying again - also after a ComfyUI restart. Turn off for a fresh take with the same settings. |
| extra_jsonopt | STRING | Advanced: a JSON object merged into the request last, for any fal field this node has no box for. Example: {"seed": 7}. Leave empty normally. | |
| max_concurrentopt | INT | 11–32 | How many paid fal calls may run at the same time in one run, across every fal node. 1 (default) = one after another. This node starts its paid part only while fewer than this many fal calls are running. Once any fal node fails, the ones still waiting are not started, so nothing more is billed. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| video_path | STRING | — |
| boundingbox_frames_zip_path | STRING | — |
| info | STRING | JSON: request id, cost estimate, saved files and fal's full answer. |