Segmentation
Separate foreground from background
The model predicts a foreground probability per pixel, enabling matting, background replacement and area statistics.
Switch model · 5 Available models · 5 of them ship real browser weightsSamples are shared within a subcategory — switching models keeps your input intact.
Input
SamplesSamples are editable — once you change them they count as custom input.

Parameters
Output
SAM Tiny (ONNX)No result yetPick a sample or edit the input, then hit “Run inference”.
Model info
SAM Tiny (ONNX)
Segment Anything Model — quantized mobile variant for the browser.
Framework: Transformers.jsSize: ~13.1 MiB · q8License: Apache-2.0
All models
Notes
Computed for real in the browser (canvas pixel ops / STFT spectral processing / vector retrieval).
Switching models only changes weight size, device and backend metadata; samples are shared across every model in the subcategory.
Marked entries really download and load weights on switch (slow the first time, cached afterwards). Unmarked ones ship no browser weights: instant output, nothing downloaded.