Segmentation d'image: SAM3

Utilisez le modèle SAM3 pour segmenter le sujet ou le contenu principal d'une photo ou d'une image, en isolant des objets ou des régions spécifiques. Entrez...

Input

The photo to cut from.

The thing to segment, named plainly: guitar, red mug, left shoe.

Advanced settings

Higher is stricter about what counts as the object.

Output
Output
Example

Essayer un exemple

À propos de ce workflow

SAM3 is prompted by a noun, not a box: type the thing you want — "guitar", "the red mug" — and the detector finds it, refines the boundary and hands back a mask. The template inverts that mask and joins it to the source as alpha, so the visible output is already the cut-out, ready for a composite or a background swap, while the raw mask stays available for a matte. `threshold` decides how sure the detector must be before it claims a pixel; `individual_masks` splits several instances instead of merging them into one region; `refine_iterations` sharpens the edge on hair, fur and thin geometry.

Graph: LoadImage + CLIPTextEncode (object name) -> SAM3_Detect (threshold 0.5, refine_iterations 2) -> InvertMask -> JoinImageWithAlpha, with a MaskPreview of the raw mask. One image and one noun in, one cut-out out.