圖像分割: SAM3

使用SAM3模型從照片或圖像中分割主要主體或內容,隔離特定物件或區域。輸入圖像並接收分割遮罩輸出。

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

試試範例

關於此工作流程

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.