Spiral gives your agent every tool with one account. Browse the tools →

Notion · ImageReleased 2026-03-27

How to Use SAM 3.1 Image in Notion

SAM 3.1 Image extracts object masks from photos using short descriptions, points, or boxes. Use it for product cutouts, editing selections, and draft annotations.

Prompts to try with SAM 3.1 Image in Notion

Copy an example into Notion, or ask in your own words.

Every morning, use SAM 3.1 Image on new product photos with the description "handbag." Prepare masks and source overlays for review.

SAM 3.1 ImageNotion
Try asking
  • Each evening, use SAM 3.1 Image to select "chair" in newly submitted room photos. Collect separate selections and flag images for a count review.

  • Once a week, use SAM 3.1 Image to draft "bottle" masks for new annotation images. Keep the results pending until an annotator checks them.

  • Every day, use SAM 3.1 Image to select "screen" in new workplace photos. Prepare a review sheet for a separate redaction step.

  • Each Friday, use SAM 3.1 Image to select "lamp" in new furniture photos. Include object boxes and prepare proposed crops for review.

How to set up SAM 3.1 Image in Notion

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Notion this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Allow custom MCP servers

    A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

  2. Add Spiral to a custom agent

    Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

  4. Run SAM 3.1 Image in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds SAM 3.1 Image, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run SAM 3.1 Image

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "fal-ai/sam-3-1/image",
        "input": {
          "image_url": "https://raw.githubusercontent.com/facebookresearch/segment-anything-2/main/notebooks/images/truck.jpg"
        }
      }'

Then paste one of the prompts above: Notion finds SAM 3.1 Image on Spiral, shows the price and runs it.

SAM 3.1 Image providers and prices

Spiral runs SAM 3.1 Image through fal. Open a card for today's price, with every fee included.

falImage
Sam 3 1 · Image to Image
fal-ai/sam-3-1/image

Settings you can ask for

SAM 3.1 Image works from your image URL and prompt. Ask Notion for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Apply maskon or offon

Apply the mask on the image.

Output formatjpeg, png, or webppng

The format of the generated image.

Return multiple maskson or offoff

If True, upload and return multiple generated masks as defined by max_masks.

Max masks1 to 323

Maximum number of masks to return when return_multiple_masks is enabled.

Include scoreson or offoff

Whether to include mask confidence scores.

Include boxeson or offoff

Whether to include bounding boxes for each mask (when available).

Every API field of Sam 3 1 · Image to Image is on its tool page: open its card above.

What can you do with SAM 3.1 Image in Notion?

Prepare object selections from newly arriving photos on a schedule. An always-on agent can collect masks and source previews into a review queue for each batch.

Product cutout preparation

Select a shoe, bag, or other product in a photo, then use its mask to prepare a cutout. Inspect the selection before placing it on a new background.

Selective photo edits

Extract a mask for a jacket, chair, or car so an image editor can apply a color or exposure change to that object.

Draft segmentation annotations

Generate object masks for a labeled image dataset. Have an annotator correct the selections before accepting them as training labels.

Object crop preparation

Locate objects in a photo and use their bounding boxes to prepare individual crops for a catalog or review sheet.

Count review

Request separate selections for a visible category, such as chairs or bottles. Compare the masks with the photo to produce a reviewed count.

Redaction preparation

Select visible screens or license plates to prepare masks for a separate blur or pixelation step. Review the full photo for missed regions before sharing.

Questions about SAM 3.1 Image in Notion

Can Notion use SAM 3.1 Image?

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run SAM 3.1 Image like any built-in tool.

How much does SAM 3.1 Image cost in Notion?

$0.013 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.

Do I need a fal account to use SAM 3.1 Image in Notion?

No. Spiral runs SAM 3.1 Image on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up SAM 3.1 Image in Notion?

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

Does Notion wait while SAM 3.1 Image runs?

SAM 3.1 Image runs in the background. Notion starts the run, checks on it and gives you the image when it's ready.

What is SAM 3.1 Image useful for?

Use it to select objects in existing photos. The resulting masks can support product cutouts, selective edits, and draft image annotations.

How should I describe the object I want?

Start with a short phrase such as "red backpack" or "car wheel." Meta documents limitations with longer instructions involving complex spatial relationships, so use a point or box to clarify the target.

Can SAM 3.1 select several objects of the same type?

Concept segmentation targets all matching instances, such as the chairs in a room. Review the returned masks before using them as a count or completed annotation.

What size are the segmentation masks?

Meta's reference implementation resizes binary masks to the original image dimensions. Use those dimensions when aligning a mask with the source photo.

Can I correct a selection with points?

Yes. Points associated with the same object refine its selection; use them when the text description leaves the target ambiguous.

Get started

Start using SAM 3.1 Image in Notion

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Notion:

Set up Notion

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options