SAM3 Video segments subjects selected by text and tracks them across footage, producing masks or masked video for compositing and localized editing.
SAM3 Video Edit API example
curl -X POST https://api.protoface.com/v1/run/wavespeed-ai/sam3-video \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "video.edit",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"video": "https://example.com/your-video.mp4",
"apply_mask": true
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Edit
Edit uses prompt and video. Adjust the model options to prepare a request for this mode.
video.editPricing
Video editing
Based on verified input duration.
| Offering | Price (USD) |
|---|---|
| All listed options | $0.01 / input second |
- Apply Mask: Off, On (same price).
- Based on the video input; billing steps apply in this order:
- Round input duration up to a whole second.
- Cap billed duration at 600 seconds.
- Bill at least 3 seconds.
- Round the total charge up to the next $0.01.
Edit options
SAM3 Video
SAM3 Video turns a written subject description into a selection that follows the subject through footage. It can return a mask-style video or apply the selection to the source video, providing material for further editing.
The video supplies the scene and movement, while the text identifies what to segment. Selections can include people, clothing, animals or other visible objects, including multiple targets in the same shot. Tracking carries those selections across frames so they can be used throughout a moving sequence.
What it's good for
Editors can prepare a performer for compositing, separate foreground elements for localized treatment, or identify unwanted background objects for cleanup. The masks can also guide removal and replacement work in downstream editing tools. Mask output suits workflows that need a separate selection layer; masked footage provides an isolated subject to carry into a composite.
Run SAM3 Video on Protoface
Use SAM3 Video in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

About WaveSpeed
WaveSpeed is an AI inference platform offering third-party generative models through developer APIs and creator applications. Its image and video workflows sit alongside WaveSpeed-branded media tools, including Video Face Swap, which takes source footage and a reference portrait to replace a selected face in a video.
- Media inference
- Creative tools
- Video face swap










