Image Annotation Editor

Ultralytics Platform includes an annotation editor for labeling images with bounding boxes, polygons, keypoints, oriented boxes, and classifications. The editor supports manual drawing, SAM-powered smart annotation, and predictions from compatible YOLO models or, on detection datasets with 1–200 classes, class-prompted models: hosted models, including Ultralytics VLM1, or paid provider models.

Ultralytics Platform Annotate Editor Toolbar With Canvas

flowchart TD
    A([Open an image]) --> B{Annotation mode?}
    B -->|draw| C[Draw shapes]
    B -->|smart| D[SAM or model labels]
    C --> E([Labels save automatically])
    D --> E
New: Ultralytics VLM1 auto-annotation

Ultralytics VLM1 labels a detection dataset from its class names alone. Ultralytics VLM1 4B and Ultralytics VLM1 2B are the most accurate models Platform hosts, answer in under half a second per image, and are free for a limited time.

Supported Task Types#

The annotation editor provides annotation tools for 6 YOLO task types:

TaskToolAnnotation Format
DetectRectangleBounding boxes (x, y, width, height)
SegmentPolygonPixel-precise masks (polygon vertices)
SemanticPolygonPer-class region masks (polygon vertices)
ClassifyClass SelectorImage-level labels
PoseKeypointSkeleton templates (Person, Hand, Dog, Face, Box, custom)
OBBOriented BoxRotated bounding boxes (4 corners)
Multi-Task Annotations

All 6 annotation types are stored together on each image. You can switch the dataset's active task type without losing existing annotations — they are preserved and reappear when you switch back.

Depth ground truth is a paired map you upload, not something you draw, so the editor opens read-only on a depth dataset.

Task Details#

Object Detection

What it does: Identifies objects and their locations with axis-aligned bounding boxes.

Label format: class_id center_x center_y width height (all normalized 0-1)

Example: 0 0.5 0.5 0.2 0.3 — Class 0 centered at (50%, 50%) with 20% width and 30% height

Use cases: Inventory counting, traffic monitoring, wildlife detection, security systems

Instance Segmentation

What it does: Creates pixel-precise masks for each object instance.

Label format: class_id x1 y1 x2 y2 x3 y3 ... (polygon vertices, normalized 0-1)

Example: 0 0.1 0.1 0.9 0.1 0.9 0.9 0.1 0.9 — Quadrilateral mask

Use cases: Medical imaging, autonomous vehicles, photo editing, agricultural analysis

Image Classification

What it does: Assigns a single label to the entire image.

Label format: Folder-based — images organized by class name (train/cats/, train/dogs/)

Use cases: Content moderation, quality control, medical diagnosis, scene recognition

Pose Estimation

What it does: Detects body keypoints for skeleton tracking.

Label format: class_id cx cy w h kx1 ky1 v1 kx2 ky2 v2 ...

  • Visibility flags: 0=not labeled, 1=labeled but occluded, 2=labeled and visible

Example: 0 0.5 0.5 0.2 0.3 0.6 0.7 2 0.4 0.8 1 — Person with 2 keypoints

Use cases: Sports analysis, physical therapy, animation, gesture recognition

Oriented Bounding Box (OBB)

What it does: Detects rotated objects with angle-aware bounding boxes.

Label format: class_id x1 y1 x2 y2 x3 y3 x4 y4 (four corner points, normalized)

Example: 0 0.1 0.1 0.9 0.1 0.9 0.9 0.1 0.9 — Rotated rectangle

Use cases: Aerial imagery, document analysis, manufacturing inspection, ship detection

Getting Started#

To annotate images:

  1. Navigate to your dataset
  2. Click an image once to open the fullscreen annotation editor
  3. Use the default Draw mode, or switch to Smart where supported
  4. Select a class and add or adjust annotations directly on the image
  5. Continue to another image or close the editor; changes save automatically after each edit

For datasets you can edit, annotation controls are active as soon as the fullscreen viewer opens on desktop. There is no separate edit mode or Edit button. On mobile, and when you do not have edit access, the fullscreen viewer is read-only.

Ultralytics Platform Fullscreen Annotation Editor With Toolbar

flowchart TD
    A([Open a dataset]) --> B[Click an image]
    B --> C[Annotate in fullscreen]
    C --> D[Changes save automatically]
    D --> E{Next image?}
    E -->|yes| C
    E -->|no| F([Close the editor])

Annotation Modes#

Draw is the default mode for spatial annotation tasks. For detect, segment, semantic, pose, and OBB datasets, the toolbar also provides Smart mode when Smart annotation is available:

ModeDescriptionShortcut
DrawDefault manual mode with task-specific drawing toolsV
SmartModel-assisted annotation with SAM on detect, segment, semantic, and OBB datasets, with YOLO models on those and pose datasets, or with class-prompted models (hosted or paid provider models) on detection datasets with 1–200 classesS

On a detection dataset with up to 200 classes Smart opens with Ultralytics VLM1 2B selected: click Predict to label the image from its class names, or pick a SAM model in the picker for click-based annotation. On larger detection datasets and on segment, semantic, and OBB datasets it opens with SAM 3.1. A model you pick on a dataset stays selected the next time you open it.

Pose annotation uses Draw with a skeleton template; its Smart mode offers YOLO pose models only, with no SAM picker or auto-apply toggle. Classification uses the class sidebar directly and shows no drawing toolbar or Smart button at all.

Smart annotation needs AI features on for cloud storage datasets, and is unavailable for On Premise datasets and datasets with more than three image channels.

The editor remembers your mode, model, and auto-apply choice for each dataset in your browser.

Draw Mode Tools#

Bounding Box (Detect)#

Draw rectangular boxes around objects:

  1. Select a class in the class sidebar
  2. In the default Draw mode, click and drag to draw a rectangle
  3. Release to complete the box

Ultralytics Platform Annotate Detect Bounding Box Drawing

Resize and Move
  • Drag 8 corner/edge handles to resize
  • Drag the center to move
  • Press Delete or Backspace to remove selected annotation

Polygon (Segment)#

Draw precise polygon masks:

  1. Select a class in the class sidebar
  2. In the default Draw mode, click to add vertices, or hold Shift and move the mouse to freehand-draw dense points
  3. Double-click, click the first vertex, or press Enter or Escape to close the polygon

While drawing, press Z to remove the last vertex, or Delete to discard the polygon.

Ultralytics Platform Annotate Segment Polygon Vertices

Edit Vertices
  • Drag individual vertices to adjust
  • Drag the entire polygon to move
  • Click or drag an edge of the selected polygon to insert a vertex
  • Right-click a vertex and choose Remove Point (polygons keep at least 3 vertices), or right-click an edge and choose Add Point

Keypoint (Pose)#

Annotate poses using skeleton templates. Select a template from the toolbar, click once to place all keypoints, then drag individual keypoints to adjust positions.

  1. Select a class in the class sidebar
  2. In the default Draw mode, choose a skeleton template from the template picker in the toolbar
  3. Click on the image to place all keypoints at once
  4. Drag individual keypoints to adjust their positions

To move several keypoints of one pose together, such as a whole arm, select the pose, then Shift+Click each keypoint you want; Shift+Click a selected keypoint again to drop it. Dragging any selected keypoint moves them all by the same offset, while dragging an unselected keypoint moves only that keypoint and clears the keypoint selection. Keypoints can be selected in one pose at a time, and the selection clears when the pose selection changes.

Ultralytics Platform Annotate Pose Template Dropdown

Built-in Skeleton Templates#

The editor includes 5 built-in templates:

TemplateKeypointsDescription
Person17COCO human body pose — nose, eyes, ears, shoulders, elbows, wrists, hips, knees, ankles
Hand21Ultralytics Hand Keypoints — wrist, thumb, index, middle, ring, pinky joints
Dog18Quadruped pose — nose, head, neck, shoulders, tailbase, tail, and 4 legs (elbows, knees, paws)
Face68iBUG 300W facial landmarks — jaw, eyebrows, nose, eyes, mouth
Box4Corner keypoints — top-left, top-right, bottom-right, bottom-left

Ultralytics Platform Annotate Pose Keypoints Skeleton

Custom Skeleton Templates#

Create custom templates for any pose structure:

  1. Open the template picker in the toolbar and choose New Template...
  2. Optionally, click Start from... to load keypoints and connections from an existing template as a starting point
  3. Place keypoints on the canvas by clicking
  4. Name each keypoint and customize colors
  5. Connect keypoints by selecting two points (connections are drawn automatically as you place sequential keypoints)
  6. Save the template for reuse across your dataset

Ultralytics Platform Annotate Pose Custom Template

Custom templates are saved to the dataset's workspace and available in all of its pose datasets. Edit or delete them from the template picker.

Template Workflow

The template system replaces manual sequential keypoint placement. Instead of clicking 17 times for a COCO skeleton, select the Person template and click once — all keypoints are placed in the correct skeleton layout. Then drag to adjust positions for the specific pose.

Keypoint Visibility

Each keypoint has a visibility flag: 0 = not labeled, 1 = labeled but occluded, 2 = labeled and visible. Keypoints you place are labeled visible (2). Right-click a keypoint and choose Hide Point to mark it not labeled (0), or right-click the pose and choose Reset Visibility to show its hidden keypoints again. Imported labels keep their visibility flags.

Add Keypoints to a Labeled Dataset#

A pose dataset holds one keypoint count, set by the kpt_shape of the uploaded files or by the first template you choose or pose you save in the editor, and every pose in it has that many keypoints. Choosing a template with a different count fails with This dataset has 4 keypoints; choose a 4-keypoint skeleton. To grow a skeleton, for example from 4 to 6 keypoints, import a copy of the dataset whose poses already have the new keypoints, marked not labeled (0):

  1. Export the dataset as NDJSON.
  2. Run the script below. It builds the YOLO folders, appends the new keypoints to every pose at its box center with visibility 0, updates kpt_shape and flip_idx, and zips the result. Custom OKS sigmas and image metadata don't carry over. Datasets uploaded with kpt_shape: [N, 2] have no visibility values, so the script stops on them.
  3. Upload the ZIP as a new pose dataset.
  4. Choose New Template..., click Start from... to load the old template, place the new keypoints after the existing ones, name them, and save. Saving assigns the template to the dataset.
  5. On each image, right-click a pose and choose Reset Visibility to show its hidden keypoints, drag the new ones from the box center into place, and choose Hide Point on any new keypoint the image doesn't show. Reset Visibility also shows keypoints that were already hidden, often in the image's top-left corner, so choose Hide Point on each of those again.
import asyncio
import shutil
from pathlib import Path

from ultralytics.data.converter import convert_ndjson_to_yolo
from ultralytics.utils import YAML

NEW = 2  # keypoints to add to every pose

yaml_path = asyncio.run(convert_ndjson_to_yolo("my-dataset.ndjson", output_path="datasets"))
data = YAML.load(yaml_path)
count, dims = data["kpt_shape"]
assert dims == 3, "keypoints need a visibility value"

# Append each new keypoint at its box center with visibility 0 (not labeled)
for label in Path(yaml_path).parent.glob("labels/*/*.txt"):
    rows = [row.split() for row in label.read_text().splitlines() if row.strip()]
    label.write_text("".join(" ".join(row + [row[1], row[2], "0"] * NEW) + "\n" for row in rows))

data["kpt_shape"] = [count + NEW, 3]
if "flip_idx" in data:
    data["flip_idx"] += list(range(count, count + NEW))  # swap the new entries if they are a left/right pair
for key in ("kpt_oks_sigmas", "kpt_skeleton", "complete"):
    data.pop(key, None)  # per-keypoint lists for the old count; "complete" makes a rerun reconvert, not pad twice
YAML.save(yaml_path, data)
shutil.make_archive("my-dataset-padded", "zip", Path(yaml_path).parent)
Label New Keypoints Where Visible

Training leaves keypoints with visibility 0 out of the keypoint position loss, but it also teaches the model's keypoint confidence that they are not visible. A new keypoint left hidden on images where it can be seen therefore teaches the model to miss it.

Oriented Bounding Box (OBB)#

Draw rotated boxes for angled objects:

  1. Select a class in the class sidebar
  2. In the default Draw mode, click and drag to draw an initial box
  3. Use the rotation handle to adjust angle
  4. Drag corner handles to resize

Ultralytics Platform Annotate Obb Rotated Box

Classification (Classify)#

Assign image-level class labels:

  1. Click an image to open the fullscreen editor
  2. Select a class in the class sidebar, or press a number key from 1-9

Ultralytics Platform Annotate Classify Side Panel

Smart Annotation#

Smart annotation adds model-assisted annotation to the editor. In Smart mode, you can use Segment Anything Model (SAM) for click-based annotation or use pretrained Ultralytics YOLO models and your own fine-tuned YOLO models to add predictions as annotations. On detection datasets with 1–200 classes, the picker also offers class-prompted models that detect the dataset's classes: Ultralytics VLM1 in two sizes, nine more hosted models, hosted text-prompted SAM 3 and SAM 3.1, and paid vision models from twelve providers. SAM smart annotation is available for detect, segment, semantic, and OBB tasks; YOLO smart annotation also covers pose.

Model predictions never replace your labels: a prediction that overlaps an existing annotation of the same class by more than the prediction IoU setting (default 0.5, also applied while class-prompted models hide the setting) is skipped. Batch Annotation applies the same rule to images that already have labels.

Ultralytics VLM1#

Ultralytics VLM1 is Ultralytics' own family of vision-language models for auto-annotation, and Ultralytics VLM1 2B is the default model on detection datasets with up to 200 classes. Give it your dataset's class names and it returns a box for every object it finds, with no training, no prompt writing, and no provider key. It comes in two sizes:

ModelAPI IDParametersmAP50mAP50-95Median time per imageChoose it for
Ultralytics VLM1 4Bvlm-4b4B46.029.80.39 sThe highest accuracy
Ultralytics VLM1 2Bvlm-2b2B43.527.80.31 sThe highest throughput; the default

These are December 2026 results from the VLM Leaderboard, measured on 360 images from 36 real-world detection datasets:

  • Accuracy: Ultralytics VLM1 4B and Ultralytics VLM1 2B are the most accurate models Platform hosts. Ultralytics VLM1 4B scores about 12 mAP50 points above the next hosted model.
  • Speed: both answer in under half a second per image at the median. Every paid provider model that scores higher than Ultralytics VLM1 4B takes 2 to 24 seconds.
  • Cost: both are free for a limited time. Batch Annotation runs, POST /v1/predict requests, and API-key calls to POST /v1/images/{imageId}/predict, which other hosted models bill to your credits, cost nothing with either model.

Use Ultralytics VLM1 on any detection dataset with 1–200 classes:

  1. One image: in the editor, switch to Smart, which opens with Ultralytics VLM1 2B on a detection dataset, and click Predict or press P. For the highest accuracy, open the model picker and select Ultralytics VLM1 4B under Ultralytics (the first project). See Class-Prompted Smart Annotation.
  2. A whole dataset: open Batch Annotation, which opens with Ultralytics VLM1 2B by default, check the sample previews, and click Start.
  3. Your own code: send an image and class names to POST /v1/predict with model set to vlm-4b or vlm-2b. The IDs stay the same across VLM releases.
Name classes the way you would describe them

Ultralytics VLM1 finds objects from your class names alone, so forklift and safety helmet work well and coded names such as cls_3 do not. Rename coded classes before you predict.

Each model's page on Platform replays its boxes on benchmark images, shows its accuracy on every benchmark dataset, and compares it side by side with the other size.

SAM Smart Annotation#

With a SAM model selected:

  1. Select Smart or press S
  2. Click on the object you want to annotate — SAM generates an initial mask in real time
  3. Refine the mask with additional clicks: click outside the current mask to add coverage, or click inside the current mask to subtract regions
  4. Press Enter or Escape to save the annotation, or enable auto-apply for one-click workflows

Ultralytics Platform Annotate Sam Positive Negative Points Mask

flowchart TD
    A([Press S]) --> B[Click the object]
    B --> C[SAM generates a mask]
    C --> D{Auto-apply on?}
    D -->|no| F{Mask accurate?}
    D -->|yes| E([Mask applied])
    F -->|yes| G([Press Enter])
    F -->|no, refine| B
SAM Tips
  • Start with a click on the object center
  • Click again outside the mask to expand coverage
  • Click inside the mask to subtract unwanted regions
  • Enable auto-apply (A) for one-click annotation
  • Hold Shift while auto-apply is on to place multiple points before the mask is applied
  • Works best for distinct objects with clear edges
  • Use a few refinement clicks for elongated or overlapping objects

SAM smart annotation can generate:

  • Polygons for segmentation tasks
  • Bounding boxes for detection tasks
  • Oriented boxes for OBB tasks
SAM Task Support

SAM smart annotation is only available for detect, segment, semantic, and OBB tasks. Pose datasets use YOLO smart annotation instead, and classification requires manual annotation.

Auto-Apply Mode#

Auto-apply mode speeds up Smart annotation by automatically saving the SAM mask after each click — no need to press Enter. Toggle it with the auto-apply button in the toolbar or press A.

ModeBehavior
Auto-apply ONMask applies automatically after each click
Auto-apply ON + ShiftPlace multiple points first, mask applies on release
Auto-apply OFF (default)Place points freely, press Enter to apply

Ultralytics Platform Annotate Sam Auto Apply Toggle

When to Use Auto-Apply

Auto-apply is ideal for datasets with well-separated objects where a single click produces an accurate mask. For complex or overlapping objects, turn auto-apply off and use multiple positive/negative points to refine the mask before saving.

SAM Model Selection#

When Smart mode is active, a model picker appears in the toolbar. Six SAM models are available — choose based on the speed vs. accuracy trade-off that suits your dataset:

ModelParametersSpeedNotes
SAM 2.1 Tiny0.04BFastest
SAM 2.1 Small0.05BFast
SAM 2.1 Base0.08BModerate
SAM 2.1 Large0.22BSlowerMost accurate of SAM 2.1
SAM 30.86BSlowest
SAM 3.10.87BSlowestDefault, latest generation

Ultralytics Platform Annotate Sam Model Selector

Switching models while Smart mode is active re-initializes the predictor for the current image automatically.

YOLO Smart Annotation#

With a YOLO model selected, Smart annotation can add predictions from pretrained Ultralytics models or your own fine-tuned models.

  1. Select Smart or press S
  2. Select a YOLO model from the model picker in the toolbar (Models or My Models)
  3. Click Predict
  4. Review the added annotations and make any needed corrections

Ultralytics Platform Annotate Smart Annotation Yolo Model

YOLO Model Notes
  • The model picker lists models that match the current dataset task, so a pose dataset offers pose models. Detect and segment datasets also show each other's models, disabled.
  • If the model's classes differ from the dataset's, a Map classes dialog maps each model class to a dataset class or skips it, and on a dataset without classes it creates them.
  • Each prediction adds up to 1,000 objects (300 for RT-DETR models), and Batch Annotation with a YOLO model uses the same limit.

Class-Prompted Smart Annotation#

On a detection dataset with 1–200 classes, select a class-prompted model and click Predict (or press P): it detects the dataset's classes across the whole image with model-specific thresholds and adds editable boxes that you review and save like YOLO predictions. These models return no confidence scores, so the prediction settings (confidence and IoU) are hidden while one is selected.

Hosted models run on Ultralytics Platform with no provider key:

ModelPicker projectParameters
Ultralytics VLM1 2BUltralytics2B
Ultralytics VLM1 4BUltralytics4B
Gemma 4 26BOpen-source models26B
Nemotron 3 Nano OmniOpen-source models30B
Moondream 3.1Open-source models9B
WeVisOne-VL 4BOpen-source models4B
Xiaomi-Lens-0Open-source models4B
Florence-2 LargeOpen-source models0.78B
OWLv2 LargeOpen-source models0.44B
YOLOE-26xOpen-source models0.09B
Grounding DINO BaseOpen-source models0.23B
SAM 3 TextMeta0.86B
SAM 3.1 TextMeta0.87B

Ultralytics VLM1 fills the Ultralytics project, listed first in the picker, and is free for a limited time. The other hosted non-Meta models follow under Open-source models.

Paid vision models from OpenAI (including GPT-6.2 Astra and GPT-6.2 Sol), Anthropic (including Claude Fable 5.2 and Claude Opus 5.5), Google (including Gemini 4 Argon, Gemini 4 Carbon, Gemini 4 Neon, and Gemini 4 Hydrogen), Meta, SpaceXAI, DeepSeek, Z.ai, Kimi, Xiaomi MiMo, Alibaba (including Qwen4-Max), MiniMax, and Tencent (including Hy4 and Hy4 flash) appear under each provider's project in the picker:

ProviderModelCost per 1M tokens (input / output)
OpenAIGPT-6.2 Astra gpt-6.2-astra$8.00 / $40.00
OpenAIGPT-6.2 Sol gpt-6.2-sol$2.00 / $10.00
OpenAIGPT-6.1 Terra gpt-6.1-terra$1.00 / $5.00
OpenAIGPT-6 Luna gpt-6-luna$0.10 / $0.50
AnthropicClaude Fable 5.2 claude-fable-5-2$8.00 / $40.00
AnthropicClaude Opus 5.5 claude-opus-5-5$4.00 / $20.00
AnthropicClaude Sonnet 5.5 claude-sonnet-5-5$2.00 / $10.00
AnthropicClaude Haiku 5.5 claude-haiku-5-5$0.10 / $0.50
GoogleGemini 4 Carbon gemini-4-carbon$4.00 / $20.00
GoogleGemini 4 Argon gemini-4-argon$4.00 / $20.00
GoogleGemini 4 Neon gemini-4-neon$3.00 / $15.00
GoogleGemini 4 Hydrogen gemini-4-hydrogen$1.50 / $7.50
GoogleGemini 3.8 Flash gemini-3.8-flash$0.75 / $3.75
GoogleGemini 3.5 Flash-Lite gemini-3.5-flash-lite$0.30 / $2.50
MetaMuse Wonder 1.0 muse-wonder-1.0$4.00 / $20.00
MetaMuse Spark 1.3 muse-spark-1.3$1.25 / $4.25
MetaMuse Ember 1.0 muse-ember-1.0$0.10 / $0.50
SpaceXAIGrok 4.7 grok-4.7$2.00 / $6.00
DeepSeekDeepSeek Flash deepseek-flash$0.30 / $1.20
Z.aiGLM-5.4 glm-5.4$1.40 / $4.40
Z.aiGLM-5.3-Flash glm-5.3-flash$0.15 / $0.50
KimiKimi K3 kimi-k3$3.00 / $15.00
KimiKimi K3.1 Pro kimi-k3.1-pro$2.00 / $10.00
Xiaomi MiMoMiMo-V2.6-Pro mimo-v2.6-pro$0.435 / $0.87
Xiaomi MiMoMiMo-V2.6-Flash mimo-v2.6-flash$0.14 / $0.28
AlibabaQwen4-Max qwen4-max$1.50 / $4.50
MiniMaxMiniMax-M3.1-Flash minimax-m3.1-flash$0.15 / $0.60
MiniMaxMiniMax-M4 minimax-m4$0.80 / $3.10
TencentHy4 hy4$0.834 / $2.501
TencentHy4 flash hy4-flash$0.07 / $0.281

A paid provider model runs with the provider key saved in the dataset workspace's Settings > API Keys; without one, the prediction fails with an Add API key action. The provider bills your key for each prediction. After each prediction, the toast shows the number of objects detected, the elapsed time, the output tokens when the model reports them (for example 1.8s · 1,248 output tokens · Free), and the cost: Free for a hosted model; for a paid model, the estimated provider cost when one is returned, otherwise Billed by and the provider name.

While a prediction runs, Predict turns into Stop; click it or press P again to end the prediction. Language models that stream boxes as they find them, such as Gemma 4 26B, Nemotron 3 Nano Omni, and the paid provider models (unless your provider account can't stream, such as an unverified OpenAI organization, whose replies arrive all at once), can take a minute or more on a busy image: Stop keeps the objects already found and saves them like any other prediction, with a toast such as 5 objects detected · Stopped early. Models that return every box at once, such as YOLO, Moondream 3.1, and SAM 3.1 Text, have nothing to keep, so Stop only cancels the request. Moving to another image while a prediction runs discards its boxes.

Annotate Similar Objects with Visual Prompts#

On detect, segment, and OBB datasets with smart annotation available, Annotate similar uses labels you have already drawn as visual examples: YOLOE-26x finds more objects that look like them, with no class names or training needed.

  1. Draw a few labels on an image, then right-click one and choose Annotate similar. Every label of the selected classes on the image (at most 200) becomes an example. Right-clicking the image outside any annotation uses every annotation of the dataset task on the image instead; the action stays disabled until the image has one
  2. The dialog shows the Examples on the left and the Result on the right: the image's existing labels plus only the new objects, with a count such as 3 new objects found. Adjust the confidence and IoU sliders, which start at 0.01 and 0.5. On OBB datasets, oriented boxes are fitted to segmentation masks
  3. Click Apply to add exactly the new objects to this image, at no cost. Apply is disabled when nothing new is found

Re-detections of your examples and of other existing labels are skipped by the same IoU rule as other predictions, and new objects don't repeat each other.

After Apply, the toast offers Annotate all. It opens Batch Annotation with the same examples in place of the model picker, listed under Example classes: preview the samples, adjust confidence (default 0.25) and IoU (default 0.5), and click Start to find similar objects in every unlabeled image, or every image with Include annotated images on. The examples are read from the image you drew them on, even if you move to another image before clicking Annotate all, and the run is billed like any Batch Annotation run.

Batch Annotation#

Batch Annotation runs one model — a YOLO model, on detection datasets with 1–200 classes a class-prompted model, or YOLOE-26x with visual examples — over a whole dataset instead of the open image. Open it from the dataset page with More actions > Batch Annotation (or the Auto-annotate images button in the dataset header, shown while no image in the dataset is labeled), from the Annotate all action on the toast after any editor prediction (including one that finds no objects or only objects already labeled) or after Find Similar Images adds images, or from Annotate all after Annotate similar. It is available to dataset editors on Platform-hosted datasets with up to three image channels, for every task except depth.

  1. Select a model from the picker (Models, including the Ultralytics, Open-source models and provider projects on detection datasets with 1–200 classes, or My Models); the dialog opens with the model you last used in Smart mode, or with Ultralytics VLM1 2B on a detection dataset when that was a SAM model or none
  2. For a YOLO model, adjust the confidence (default 0.25) and IoU (default 0.5) sliders — up to six sample images beside the settings, picked at random from the images the run will annotate rather than from the latest upload, show what the model finds as you move them. Click a sample to view it full size with its boxes. A class-prompted model detects the dataset classes (1–200) with model-specific thresholds instead of these settings and returns no scores
  3. Turn on Include annotated images to also run over images that already have labels; the run keeps the labels they have and adds only what an image does not already have. Samples of annotated images preview their labels plus what the run adds
  4. Review the Estimated Cost, which reads Free for a limited time with Ultralytics VLM1 2B or Ultralytics VLM1 4B, and click Start

Ultralytics Platform Datasets Batch Annotation Dialog Sample Previews

By default only unlabeled images are annotated, and existing labels are never changed. A run needs dataset classes. For a YOLO model, if the model's classes differ from the dataset's, a Map classes step maps each model class to a dataset class or skips it, and on a dataset without classes it creates them — the run starts only after the classes exist. Starting a run saves a dataset version first, so you can restore the dataset if you don't like the result.

The dataset page shows the run's progress, and Stop keeps and bills the images processed so far. When the run finishes, a summary shows the images processed and the annotations and classes added. If a paid provider refuses or rate-limits your key on three images in a row, the run stops early and reports how many images were not attempted.

Batch Annotation Cost

Batch Annotation costs $1.00 per 1,000 processed images, with a minimum of $0.01 per run, and nothing with Ultralytics VLM1 2B or Ultralytics VLM1 4B while they are free. The estimate is held from your balance when the run starts and settled for the images actually processed; the charge appears on the Billing tab as Auto-Annotation once you dismiss the run summary. With a paid provider model, this is the Platform processing fee only: the provider also bills your API key for the test-run previews and the annotations.

Class Sidebar#

The annotation editor includes a collapsible class sidebar on the right side of the canvas. The sidebar provides:

  • Search classes: Filter the class list by typing in the search field. Press Enter on an exact match to select it, or create a new class if no match exists.
  • Create new class inline: Click Add class at the bottom of the list, type a name, and optionally pick a custom color. Press Enter to create.
  • Edit class name inline: Hover over a class name and click the pencil icon to rename it.
  • Color picker: Click the color swatch next to any class to change its color.
  • Per-class annotation count: Each class row shows a superscript count of annotations.
  • Expand/collapse: Click the chevron to expand a class and see individual annotations listed below it.
  • Bidirectional hover highlighting: Hovering an annotation on the canvas highlights it in the sidebar, and vice versa. The sidebar auto-scrolls to the relevant class. Hovering a class row, or its chip in the class breakdown below the image, highlights every annotation of that class.
  • Hide/show a whole class: Click the eye icon on a class row to hide or show every annotation of that class at once.
  • Hide/show individual annotations: Click the eye icon on any annotation row to toggle its visibility on the canvas.
  • Delete annotations: Click the trash icon on any annotation row to delete it.
  • Keyboard shortcuts: Press 1-9 to quickly select the first 9 classes, H to toggle the visibility of every annotation on the image, or ] to show or hide the sidebar.

Context Menu#

Right-click an annotation to open a context menu with:

ActionShortcut
Bring to FrontCmd/Ctrl+Shift+]
Send to BackCmd/Ctrl+Shift+[
Bring ForwardCmd/Ctrl+]
Send BackwardCmd/Ctrl+[
Hide Annotation(s)
Delete Annotation(s)Delete / Backspace

Right-clicking a polygon vertex or edge adds Remove Point or Add Point, and right-clicking a pose keypoint adds Hide Point and Reset Visibility. The menu also offers Blur faces when available, and on detect, segment, and OBB datasets with smart annotation available, Annotate similar, which finds more objects like the selected labels.

Visibility Controls#

The visibility dropdown (eye icon) lets you toggle display of individual elements:

ToggleDescription
AnnotationsShow or hide all annotation overlays
Class labelsShow or hide class name labels on annotations
Show pixelsToggle pixelated rendering for zoom inspection (fullscreen)
CrosshairsShow crosshair cursor with pixel coordinates while annotating
Nav thumbnailsShow navigation thumbnail strip (fullscreen)
Bottom info barShow or hide the image info bar at the bottom (fullscreen)
Show allToggle annotations, labels, crosshairs, thumbnails, and the bottom info bar at once (does not affect pixelated)

Crosshair Cursor#

While annotating, a crosshair overlay tracks the cursor position and displays pixel coordinates on the canvas. This helps place annotations with precision. Toggle it via the visibility dropdown.

SAM Hover Preview#

In Smart mode, SAM provides a real-time hover preview before you click any points. This preview is available for detect, segment, semantic, and OBB tasks. Once you add refinement clicks, the preview updates to reflect the current mask and the annotation type for the active task.

Polygon Vertex Editing#

For segment and semantic annotations, you can edit polygon vertices after drawing:

  • Move vertices: Drag any vertex handle to reposition it
  • Add vertices: Click or drag an edge of the selected polygon, or right-click an edge and choose Add Point
  • Remove vertices: Right-click a vertex and choose Remove Point; polygons keep at least 3 vertices

Class Management#

Creating Classes#

Define annotation classes for your dataset in the Classes tab:

  1. Navigate to the Classes tab
  2. Use the input field at the bottom to type a class name
  3. Click Add or press Enter
  4. A color is assigned automatically from the Ultralytics palette

Ultralytics Platform Annotate Classes Tab Add New Class

Add New Class During Annotation#

You can create new classes directly while annotating without leaving the editor:

  1. Draw an annotation on the image
  2. In the class sidebar, click Add class (or type a new name in the sidebar search box)
  3. Enter the class name
  4. Press Enter to create and assign

This lets you define classes as you encounter new object types in your data.

Unified Classes Table

All classes across your dataset are managed in a unified table. Changes to class names or colors apply throughout the entire dataset automatically.

Editing Classes#

  • Rename: Click a class name in the table to edit it inline
  • Change color: Click the color swatch to open the color picker
  • Search: Use the search field to filter classes by name
  • Sort: Click column headers to sort by index, name, annotation count, or image count

Class Colors#

Each class is assigned a color from the 20-color Ultralytics palette: class i gets entry i % 20 of the Colors table (class 0 #042aff, class 8 #00f344). You can customize colors using the color picker on the Classes tab; the selected colors are used throughout that dataset. Model exports carry the dataset's current class colors.

Keyboard Shortcuts#

Speed up annotation with keyboard shortcuts:

ShortcutAction
Cmd/Ctrl+SSave annotations
Cmd/Ctrl+ZUndo
Cmd/Ctrl+YRedo
EscapeSave / Deselect / Exit
Delete / BackspaceDelete selected annotation
Cmd/Ctrl+DeleteDelete image
HToggle all annotations
RRotate image clockwise
]Show or hide class sidebar
← / →Previous / next image
1-9Select class 1-9
Cmd/Ctrl+ScrollZoom in/out
Cmd/Ctrl++ or Cmd/Ctrl+=Zoom in
Cmd/Ctrl+-Zoom out
Cmd/Ctrl+0Reset to fit
Space+Drag or middle-click dragPan canvas
Shift+ClickMulti-select annotations
Cmd/Ctrl+ASelect all annotations
Cmd/Ctrl+CCopy selected annotations
Cmd/Ctrl+XCut selected annotations
Cmd/Ctrl+VPaste annotations
ShortcutAction
VDraw mode (manual, default)
SSmart mode (SAM, YOLO, or class-prompted model)
ShortcutAction
Click+DragDraw bounding box (detect/OBB)
ClickAdd polygon point (segment) / Place skeleton (pose) / Place SAM point (smart)
Shift (hold) + MoveFreehand draw — continuously adds polygon vertices as the mouse moves
Click inside maskSubtract region from SAM mask (negative point)
Click outside maskAdd to SAM mask (positive point)
Shift (hold) + ClickPlace multiple SAM points before auto-apply commits (Smart mode, auto-apply on)
Shift+Click keypointSelect or deselect a keypoint of the selected pose to drag with others (pose)
ZRemove the last polygon vertex while drawing / last SAM point (Smart mode)
AToggle auto-apply (SAM Smart mode)
PRun the selected YOLO or class-prompted model, or stop it (Smart mode)
EnterComplete polygon / Save SAM annotation
EscapeComplete polygon / Save SAM annotation / Deselect / Exit
ShortcutAction
Cmd/Ctrl+]Bring forward
Cmd/Ctrl+[Send backward
Cmd/Ctrl+Shift+]Bring to front
Cmd/Ctrl+Shift+[Send to back

Ultralytics Platform Annotate Keyboard Shortcuts Dialog

View All Shortcuts

Click the keyboard icon in the annotation toolbar to open the shortcuts reference.

Undo/Redo#

The annotation editor maintains a full undo/redo history:

  • Undo: Cmd/Ctrl+Z
  • Redo: Cmd/Ctrl+Y

History tracks:

  • Adding annotations (single and batch)
  • Editing annotations (move, resize, rotate)
  • Deleting annotations (single and batch)
  • Changing classes (single and batch)
  • Reordering annotations (z-order)
  • Editing polygon vertices (add, remove, move)
  • Moving keypoints
Unlimited Undo

The undo stack has no fixed limit — you can undo changes made since you opened the image.

Saving Annotations#

Changes save automatically one second after the last annotation edit. They also save when you move to another image or close the fullscreen editor.

  • Save now: Click the save button or press Cmd/Ctrl+S
  • Close: Click the close button, click outside the image, or press Escape; closing triggers a background save for pending changes
Save Your Work

Wait for the Saving... or Unsaved status in the image information bar to clear before closing the browser tab. You can save manually at any time with the save button or Cmd/Ctrl+S.

FAQ#

  • SAM provides high-quality masks for most objects. Accuracy depends on:

    • Object distinctiveness from background
    • Image quality and resolution
    • Number of positive/negative points provided

    For best results, start with a click on the object center, then use outside-mask clicks to add coverage and inside-mask clicks to subtract nearby objects or background.

  • Yes. Upload your dataset with YOLO-format label files, COCO JSON annotation files, LabelMe JSON files, or an Ultralytics NDJSON or Labelbox NDJSON export. Platform parses them during processing and displays them in the editor. Pascal VOC XML labels are not imported — convert them to YOLO or COCO first. See Preparing Your Dataset.

  • After drawing an annotation:

    1. Keep the same class selected
    2. Draw the next annotation
    3. Repeat until all objects are labeled

    The keyboard shortcut 1-9 quickly selects classes.

  • Yes, but for best results:

    • Label all objects of your target classes in each image
    • Use the Annotations filter set to Unannotated to identify images that still need annotation
  • SAM 3.1 is the default and the latest generation model — start there for the highest quality masks, with SAM 3 still available. Switch to SAM 2.1 Small for a faster interactive workflow on common objects, or SAM 2.1 Large when you need higher mask precision on complex shapes. Use SAM 2.1 Tiny for maximum speed on simple, high-contrast objects.

  • SAM smart annotation is available for detect, segment, semantic, and OBB tasks. On pose datasets, Smart mode runs YOLO smart annotation only, and classification uses manual annotation only. On cloud storage datasets it needs AI features on, and it is unavailable on On Premise datasets and on datasets with more than three image channels.

  • Yes. Use Batch Annotation from More actions > Batch Annotation on the dataset page. It runs one model over the dataset: an official YOLO model, one of your own trained or uploaded models from My Models, or, on detection datasets with 1–200 classes, a class-prompted model such as SAM 3.1 Text that detects your class names. By default it annotates only unlabeled images, existing labels are kept, and a dataset version is saved first so you can restore it. It costs $1.00 per 1,000 images processed (minimum $0.01), or nothing with Ultralytics VLM1 2B or Ultralytics VLM1 4B while they are free, and paid provider models are also billed by the provider. Batch Annotation works on Platform-hosted datasets with up to three image channels and is not available for depth. To find objects like ones you've already drawn, use Annotate similar and click Annotate all.

  • Ultralytics VLM1 is Ultralytics' own vision-language model for auto-annotation on Ultralytics Platform, in two sizes: Ultralytics VLM1 4B and Ultralytics VLM1 2B. It detects the classes you name on detection datasets with 1–200 classes, with no training and no provider key, in the editor, in Batch Annotation, and through POST /v1/predict. On the VLM Leaderboard both sizes are the most accurate models Platform hosts, and both are free for a limited time.

  • No. Ultralytics VLM1 runs only on Ultralytics Platform's GPUs: it has no downloadable weights and can't run offline, on a device, or on On Premise datasets, whose images never leave your computer. To get a model that runs offline or on the edge, label your images with Ultralytics VLM1 on Platform, train a YOLO model on the labeled dataset, and export it to the format your device runs.

  • Change your class names. Ultralytics VLM1 has no prompt or description field: it detects the dataset's class names, so rename a class to how you would describe the object and predict again. To find a new kind of object, add a class first. With POST /v1/predict, change the classes you send.

  • Ultralytics VLM1 4B is the more accurate size, and Ultralytics VLM1 2B is the faster one and the default on detection datasets in the editor (up to 200 classes) and Batch Annotation; the Ultralytics VLM1 table gives their benchmark accuracy and speed. Both are free for a limited time and take the same class names. Pick Ultralytics VLM1 4B in the model picker, or send model=vlm-4b to the API, when accuracy matters more than throughput.

  • No. Ultralytics VLM1 draws boxes and annotates detection datasets only. To label polygons with AI, use SAM smart annotation by clicking objects, or a pretrained or your own segmentation model with YOLO Smart Annotation and Batch Annotation.

  • No. Platform doesn't train or fine-tune Ultralytics VLM1. To improve what it finds, rename your classes to how you would describe the objects. For a model tuned to your domain, correct its labels and train a YOLO model on the dataset.

  • Yes. On detection datasets with 1–200 classes, Smart annotation and Batch Annotation can run paid vision models such as Gemini 4 Argon, GPT-6.2 Sol, GPT-6.2 Astra, Claude Opus 5.5, and Claude Fable 5.2 with your own provider key from Settings > API Keys. Select the model under its provider in the model picker and click Predict; the provider bills your key for each prediction. The class-prompted models section lists every model.

  • Start with Ultralytics VLM1: Ultralytics VLM1 2B is the default on detection datasets, Ultralytics VLM1 4B is the most accurate model Platform hosts, and both are free for a limited time. Choose a frontier paid model when you need the last points of accuracy and can wait several seconds per image. The VLM Leaderboard ranks class-prompted models by mAP50 and compares their cost and speed on 360 images from 36 real-world detection datasets spanning medical, aerial, industrial, retail, and everyday scenes. In its December 2026 results, frontier paid models such as Gemini 4 Carbon (gemini-4-carbon), Gemini 4 Neon (gemini-4-neon), GPT-6.1 Terra, GPT-6.2 Astra (gpt-6.2-astra), and Gemini 4 Argon (gemini-4-argon) were the most accurate, and Claude Haiku 5.5 (claude-haiku-5-5) and Muse Ember 1.0 (muse-ember-1.0) were the most accurate low-cost models. Each model's page on Platform, such as Xiaomi-Lens-0, replays its boxes on benchmark images, compares it side by side with up to two other models through Compare with…, and shows its accuracy on every benchmark dataset. Accuracy depends heavily on the domain: models that find nearly every object in everyday photos miss many objects in PCB, X-ray, retail, and traffic images and in some medical datasets, so run a few predictions on your own images before starting Batch Annotation.

  • Yes. Open the skeleton template picker and choose New Template... to open the template editor. Place keypoints, name them, draw connections, and save. Custom templates are stored in the dataset's workspace and available across all of its pose datasets.

  • Click the template picker dropdown in the annotation toolbar. Select any built-in template (Person, Hand, Dog, Face, Box) or your saved custom templates. The selected template determines which keypoints are placed when you click on the image.

  • Yes. Select one or more annotations, press Cmd/Ctrl+C to copy (or Cmd/Ctrl+X to cut), navigate to another image with the arrow keys or thumbnail strip, and press Cmd/Ctrl+V to paste. Annotations pasted onto another image keep their exact position, such as a mask on the next video frame, while a paste onto the image they came from is offset by 20 pixels. The clipboard persists while the fullscreen editor stays open.

Comments6

Ask a question, share your results, or help someone else.

  1. 앙시모사우루스

    Are smart tools like SAM3 free of charge without any limitations?
    And is there a way to run models like SAM3 directly using a local GPU?

    1. Glenn JocherUltralytics

      Yes, the free plan includes smart annotation, but it isn’t unlimited; plan-specific usage limits are covered on the pricing page, and yes, SAM 3 can also be run locally on your own GPU outside the browser once you have the required weights, as shown in the SAM 3 docs and the Platform annotation guide—feel free to post any follow-up here so the Ultralytics team can see it.

    2. 앙시모사우루스

      Thank you for your reply. I just downloaded the sam3.pt file. Are you saying that I can run this model directly on my GPU on the Ultralytics Platform? Or is it not available on the Ultralytics Platform, and do I have to use the sam3.pt model in an external tool? What I want is to run sam3.pt directly on my GPU while using the basic labeling function of the 'Ultralytics Platform'. The 'Ultralytics Platform' is awesome.

    3. Glenn JocherUltralytics

      Thanks, glad it’s been helpful. Based on the current docs, remote training is the only local-hardware workflow documented in Ultralytics Platform, while the Annotation Editor lists SAM 3 as a built-in smart-annotation option but does not document running that editor on your own GPU, so if you want to use your downloaded sam3.pt on a local GPU today, that would be outside the Platform UI using the flow in the SAM 3 docs. (docs.ultralytics.com)

  2. COChinbayar Odkhuu

    I’m using Smart Annotation and there’s a Predict button. I already trained my own model and want to use it on another dataset, but I want to lower the confidence threshold so I can also see weaker or incorrect auto-predictions for review. Is there any confidence slider or toggle where I can adjust this?

    1. Murat Raimbekov

      hi @chinba-sudo ! that sounds like a good feature request, our team is already working on configurable confidence, I will ping you when it's live