Segment Anything with Text Meta's SAM 3 model enables zero-shot text-prompt segmentation, allowing users to segment objects like "helmet" or "safety vest" without training or clicks. A Roboflow Workflow tutorial demonstrates using SAM 3 for construction site PPE inspection, generating AI safety summaries from annotated images. You can segment anything with text using SAM 3, which takes a short prompt like "helmet" or "safety vest" and returns pixel-level masks for every matching object, zero-shot, with no training or clicks. This tutorial builds a Roboflow Workflow that uses SAM 3 to inspect construction site PPE and generate an AI safety summary from the annotated image. Segment anything with text means giving a segmentation model a plain-language prompt, like "helmet" or "safety vest", and getting back pixel-accurate masks for every matching object in the image. No training data, no drawn boxes, no click prompts. SAM 3 https://roboflow.com/segment-anything-with-concepts?ref=blog.roboflow.com does this natively: Meta calls the capability promptable concept segmentation, and unlike earlier Segment Anything models, SAM 3 finds every instance of the concept you describe, not one object per prompt. In this tutorial, we'll use it for construction site PPE inspection, a task where text-prompt segmentation earns its keep. Construction accounted for nearly one-fifth of all U.S. workplace deaths in 2023, according to CPWR's April 2025 Data Bulletin https://www.cpwr.com/wp-content/uploads/DataBulletin-April2025.pdf?ref=blog.roboflow.com , and PPE checks are one visible part of reducing that risk. But jobsite scenes change constantly: workers move, machines block the view, and helmets and vests appear small, folded, or partially hidden. The traditional approach means collecting images, labeling every class, and training a custom model before you see a single result. With SAM 3, we skip straight to results. We'll build a Roboflow Workflow https://roboflow.com/workflows/build?ref=blog.roboflow.com that segments PPE from text prompts such as person, helmet, safety vest, excavator, and traffic cone, visualizes the masks, and generates a short AI-powered safety summary from the annotated image. SAM 3 vs. Grounded SAM and lang-segment-anything Text-prompt segmentation isn't new as an idea; what's new is doing it in one model. The original SAM and SAM 2 https://blog.roboflow.com/what-is-segment-anything-2/ only accepted visual prompts clicks, boxes, or masks , so the community bridged the gap by chaining models: Grounding DINO https://blog.roboflow.com/grounding-dino-zero-shot-object-detection/ converts a text prompt into bounding boxes, then SAM converts those boxes into masks. Grounded SAM and lang-segment-anything are both packages of that two-model pipeline. The chained approach works, but it inherits two models' worth of weaknesses. Errors compound: if Grounding DINO misses the box, SAM never sees the object. It returns one region per detected box rather than reasoning about the concept across the scene. And running it means hosting two models, aligning their dependencies, and paying two inference costs per image. SAM 3 collapses the pipeline into a single model trained for promptable concept segmentation. You provide a short noun phrase or an image exemplar , and it detects and segments every instance of that concept in the image or video directly. For this tutorial that difference is practical: one prompt such as helmet masks every helmet in a crowded jobsite scene in one pass, and running it in a Roboflow Workflow means there's no pipeline to host at all. Run SAM 3 with a Text Prompt in Python If you want the raw capability before building the full workflow, Roboflow's serverless API runs SAM 3 on hot GPU instances, so there's nothing to download or host. One request with a text prompt returns segmentation masks: python import requests response = requests.post "https://serverless.roboflow.com/sam3/concept segment?api key=