ZIM
Zero-shot image matting from NAVER Cloud. Click or sketch a box around anything and get a fine-edged mask that keeps hair, branches and thin structures SAM tends to blur.
Install
boat model install zimWithout a tag BOAT installs zim:vit_b. Tags install side by side, so you can keep several.Download: 380 MB of weights.
You will be asked to accept the model's license on first install. Add --accept-license to accept it non-interactively. Read the terms
Overview
Summarized from the upstream project, last reviewed Nov 3, 2026.
ZIM (ICCV 2025 Highlight) keeps SAM's promptable, zero-shot design but produces matte-quality masks instead of coarse ones. The authors build SA1B-Matte by converting SA-1B segmentation labels into detailed matte labels without manual annotation, then train with a hierarchical pixel decoder and prompt-aware masked attention so the output follows the region you pointed at. BOAT uses it for point prompts and Auto Search: click an object, or sketch a loose box, and get a mask or rotated box with clean edges.

Box prompts (a), point prompts (b) and automatic mask generation (c), compared with SAM and other matting models. From the upstream repository.
Tags are the image-encoder backbones and share the same decoder: vit_b is the default and lighter, vit_l is slower but captures finer detail.
Tools
What ZIM adds to the annotation editor. Each example loops what you do and what comes back.


Point prompt
PointsMasks
Click on the object to get a precise mask.
- Apply


Point prompt
PointsMasks
Click on the object to get a precise mask.
- Apply


Auto search
BoxMasks
Draw one or more boxes to segment exactly those objects.
- Apply


Auto search
BoxMasks
Draw one or more boxes to segment exactly those objects.
- Apply


Auto search
BoxRotated boxes
Draw one or more boxes to segment exactly those objects.
- Apply
Platforms
BOAT picks the runtime profile that matches your machine. Only that profile's code is downloaded.
macOS · Metal
Apple silicon (MPS)
Linux · CUDA 12.8
NVIDIA, incl. Blackwell
Linux · CUDA 12.6
NVIDIA GPUs
Linux · CPU
x86_64 CPU
License
BOAT's adapter code is Apache-2.0. The model's own code and weights keep their upstream license:CC-BY-NC-4.0.
License terms shown at install
ZIM is provided by NAVER Cloud under the CC BY-NC 4.0 license.
By continuing, you acknowledge that ZIM and its weights may be used for non-commercial purposes only.
Bundled license files: BOAT-APACHE-2.0.txt, NOTICE.md, UPSTREAM-LICENSE.txt, UPSTREAM-NOTICE.txt
Package details
- Package
- zim
- Version
- 0.0.1
- Type
- Common model
- BOAT Core
- ≥ 0.1.0 · < 1.0.0
- Inference timeout
- 600s
- Manifest SHA-256
- 4d48caeb827b0670e8612a8a2674a6edbbc3781616116643ed0b19a727640e68
Upstream notice
BOAT adapter code is Apache-2.0. ZIM code and weights are licensed by NAVER Cloud under CC BY-NC 4.0 (non-commercial use only); see UPSTREAM-LICENSE.txt and UPSTREAM-NOTICE.txt. Model: zim Source: https://github.com/naver-ai/ZIM Vendored revision: models/macos-metal/vendor/UPSTREAM_REVISION Modifications: only the model, predictor, ONNX encoder/decoder and ResizeLongestSide sources are vendored. `zim_anything/__init__.py` and `zim_anything/utils/__init__.py` are rewritten to drop the removed automatic mask generator, argparser and visualization imports. The vendored model files are otherwise unchanged. Weights are the naver-iv/zim-anything-vitb and zim-anything-vitl ONNX exports pinned in ../weights/*/weights.json. Runtime dependencies are installed from pinned distributions with their own license files.