---
title: "Image Classification"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/transformers/imageclassification
markdown: https://docs.nodetool.ai/nodes/transformers/imageclassification.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/transformers/imageclassification.md
---

# Image Classification

**Type:** `transformers.ImageClassification`

**Namespace:** `transformers`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| image | `image` | Image to classify. | `{"type":"image"}` |
| model | `any` | Transformers.js model (ONNX-compatible). | - |
| top_k | `int` | Number of top labels to return. | `5` |
| dtype | `enum` | Model dtype / quantization level. | `auto` |
| device | `enum` | Inference device. | `auto` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| label | `str` |  |
| score | `float` |  |
| results | `list` |  |

## Related Nodes

Browse other nodes in the [transformers](./) namespace.
