
video-to-video
Idle
Your request will cost $0.05 per run.
For $1 you can run this model approximately 20 times.
One more thing::
SAM3 Video (wavespeed-ai/sam3-video) is a prompt-based video segmentation and mask-guided editing model. You provide a video plus a short text instruction (and optionally enable mask application), and the model segments/targets the requested subject(s) across frames with strong temporal consistency.
It’s a practical fit for object-focused video edits like background cleanup, removing unwanted elements, or isolating subjects for downstream compositing—especially on short-to-medium clips with clear subjects.
Prompt-based target selection (concept prompts) Identify what to edit/segment using natural language (e.g., “the woman”, “person”, “red car”) without manually drawing masks frame-by-frame.
Multi-object targeting in one run Track multiple object categories by listing them in the prompt (comma-separated), producing consistent targets across frames.
Mask-guided region control via apply_mask
Toggle whether the model applies the mask to the video output for tighter, more controllable edits.
Temporal consistency for video workflows Designed to keep results stable across frames, reducing flicker/drift compared with per-frame processing.
Editing-oriented use cases Works well for object removal and background cleanup when your prompt clearly specifies what should change and what should stay.
video: (required) Input video file or a public URL.prompt: (required) Text instruction for segmentation/editing. Use commas to target multiple objects (e.g., person, cloth).apply_mask: Whether to apply the mask to the video (boolean). Default: true.Write prompts like you’re describing what to target and (if applicable) what the edit intent is.
Tips:
person, woman, car, dog, shirt.person, backpack, bicycle.Examples:
The womanperson, clothremove the person in the background, keep lighting unchangedProvide video as either:
Pricing/processing uses a billed duration clamp of 5–600 seconds, so very short clips are billed as 5s, and very long clips are treated as 600s.
apply_mask
true: apply the model’s mask to the output video (recommended when you want tighter control over the edited region).false: run without applying the mask (useful when you want the model’s edits without explicit masking).After you finish configuring the parameters, click Run, preview the result, and iterate if needed.
Per-run cost depends on video duration (billed duration is clamped to 5–600 seconds), charged in 5-second units at $0.05 per 5s.
| Billed duration | Cost per run |
|---|---|
| 5s | $0.05 |
| 10s | $0.10 |
| 600s (max) | $6.00 |
apply_mask when you need more precise, localized control (especially in cluttered scenes).