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.

Instance SegmentationSemantic SegmentationOriented Object DetectionNAVER CloudCC-BY-NC-4.0
Recommended7/10
VRAM0.4–1.3 GBweights, plus ~0.5 GB reserve
Tools5across 3 annotation types
Runs onmacOSCUDACPU4 of 4 runtime profiles

Install

boat model install zim

Without 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.

ZIM compared with SAM and matting models

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 example on instance segmentation

Point prompt

PointsMasks

Instance Segmentation

Click on the object to get a precise mask.

  • Apply
Point prompt example on semantic segmentation

Point prompt

PointsMasks

Semantic Segmentation

Click on the object to get a precise mask.

  • Apply
Auto search example on instance segmentation

Auto search

BoxMasks

Instance Segmentation

Draw one or more boxes to segment exactly those objects.

  • Apply
Auto search example on semantic segmentation

Auto search

BoxMasks

Semantic Segmentation

Draw one or more boxes to segment exactly those objects.

  • Apply
Auto search example on oriented object detection

Auto search

BoxRotated boxes

Oriented Object Detection

Draw one or more boxes to segment exactly those objects.

  • Apply

Tags

Each tag is an installable variant, such as a size or quantization, with its own weights.

TagWeightsPlatformsInstall
zim:vit_bdefault380 MB · 2 filesmacOSCUDACPU
zim:vit_l1.3 GB · 2 filesmacOSCUDACPU

Platforms

BOAT picks the runtime profile that matches your machine. Only that profile's code is downloaded.

macOS · Metal

Apple silicon (MPS)

Python 3.11 · 25 KB

Linux · CUDA 12.8

NVIDIA, incl. Blackwell

Python 3.11 · 26 KB

Linux · CUDA 12.6

NVIDIA GPUs

Python 3.11 · 26 KB

Linux · CPU

x86_64 CPU

Python 3.11 · 24 KB

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.
↑↓ navigate↵ open