What problem does it solve? Segmenting objects in images traditionally requires training task-specific models on labeled datasets. This Skill provides guidance for using Meta's Segment Anything Model (SAM) to segment any object in any image with zero-shot transfer, using simple point, box, or mask prompts instead of custom training. ## Core Features & Use Cases - Interactive Prompt-Based Segmentation: Generate masks from foreground/background points, bounding boxes, or previous masks using SamPredictor, with iterative refinement support. - Automatic Mask Generation: Produce all object masks in an image at once with SamAutomaticMaskGenerator, with tunable quality, stability, and density thresholds. - Deployment & Integration: Export to ONNX for edge deployment, use HuggingFace Transformers, build FastAPI/Gradio services, or extend with Grounded SAM for text-prompted segmentation and SAM 2 for video. - Use Case: Building an annotation tool where a user clicks on an object and instantly receives a high-quality segmentation mask, or generating training data for downstream vision models from unlabeled images. ## Quick Start Use the segment-anything skill to segment the object at a clicked point in my image and return the best mask with its quality score.