---
title: "Query Image"
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/vector/queryimage
markdown: https://docs.nodetool.ai/nodes/vector/queryimage.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/vector/queryimage.md
---

# Query Image

**Type:** `vector.QueryImage`

**Namespace:** `vector`

## Description

Query the index for similar images.
    vector, RAG, query, image, search, similarity

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| collection | `collection` | The collection to query | `{"type":"collection","name":""}` |
| image | `image` | The image to query | `{"type":"image","uri":"","asset_id":null,"data"...` |
| n_results | `int` | The number of results to return | `1` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| ids | `list[str]` |  |
| documents | `list[str]` |  |
| metadatas | `list[dict]` |  |
| distances | `list[float]` |  |

## Related Nodes

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