Become a founding member.

Segment Mask

Copy agent promptDownload schemaOpen in a workflowCopy link

Segment Mask is available on Wireflow. Track an object through a video from a text prompt (Meta SAM 3) and get back a black and white mask video: white where the object is, black everywhere else. Set it up below, then run it in a workflow or through the API.

Utility~1 credits at default settingsMaker not listed

Input

3 fields

Result Idle

Your result will appear here.

Set your inputs, then open a workflow to create it.

Credit estimate uses the model defaults. Your workflow shows the final estimate for your inputs before you run.

Model guide

How to use Segment Mask

  1. Add a video as the source.
  2. Adjust the settings, or keep the defaults.
  3. Choose Open in a workflow. Sign in, check the credit estimate on the board, then run it.
  4. Connect the result to the next step on the board, such as an editor or another model.

Inputs explained

Video (required)
Set the video used by this model. Type: video.
Prompt (optional)
What to mask. Defaults to `face`. Separate several objects with commas, e.g. `face, hands` or `person`. Type: text. Default: "face".
Detection Threshold (optional)
Lower finds more (and less precise) matches, higher only confident ones. Type: number. Minimum: 0.1. Maximum: 1. Default: 0.5.

Tips before you run

Start with the default settings and change one input at a time. Keep the result you like on your board so the next step can use it.

If you add a reference file, use a link the workflow can read. Check the inputs and credit estimate on the board before starting a run.

Segment Mask pricing

Segment Mask costs about 1 credits per run at default settings. You pay with Wireflow credits, and the board shows the estimate for your settings before you run.

See Wireflow plans and credits

Segment Mask API

Run Segment Mask from your own code with the Wireflow API. Open it in a workflow, then call the run endpoint with that workflow's ID and poll for the result. Agents can run it through MCP.

# Model: Segment Mask. Open a workflow first.
# Replace YOUR_WORKFLOW_ID with the ID in its /flow/ URL.
curl 'https://www.wireflow.ai/api/v1/workflows/YOUR_WORKFLOW_ID/run' \
  -H 'Authorization: Bearer YOUR_WIREFLOW_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"nodeIds":["model"]}'

# Response (202):
# {"data":{"executionId":"...","status":"running",
#  "poll":"/api/v1/workflows/executions/.../poll"}}
# GET the returned poll path with the same Authorization header.

Read the run API docs or connect your agent.

Read the Segment Mask docs

Working with this model

What comes out

A black and white video the same size and length as the clip: white where the prompt matched, black everywhere else. It is the mask itself, not your clip with a colored overlay. Track several things at once by separating them with commas (face, hands), or use person for the whole body. If a small or turned face is missed, lower Detection Threshold; if it grabs things it should not, raise it.

What it is not, yet

It does not hide anything on its own. Laying the mask over the clip with Video Blend changes the colors of the whole frame (see the note on Video Blend), so it is not a clean face hide. A masked merge that keeps the rest of the frame untouched is not shipped yet.

Segment Mask FAQ

What is Segment Mask?

Segment Mask is available on Wireflow. Track an object through a video from a text prompt (Meta SAM 3) and get back a black and white mask video: white where the object is, black everywhere else.

Is Segment Mask free?

Running it uses Wireflow credits, about 1 credits per run. You can set up the inputs here and open a workflow before you spend anything.

How much does Segment Mask cost?

Segment Mask costs about 1 credits per run at default settings. You pay with Wireflow credits, and the board shows the estimate for your settings before you run.

Can I use Segment Mask commercially?

Yes. What you make with Segment Mask on Wireflow is yours to use for personal and commercial work, subject to the model maker's own terms. Our terms of service have the details.

Does Segment Mask have an API?

Yes. Save a workflow with Segment Mask, then call the Wireflow run API with its workflow ID. The API tab above has examples you can copy, and agents can run it through MCP.

How do I use Segment Mask?

Set the inputs above and choose Open in a workflow. Sign in to save your board, then check its credit estimate before you run.

More workflow tools