---
title: "Fit"
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/nodetool/image/fit
markdown: https://docs.nodetool.ai/nodes/nodetool/image/fit.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/image/fit.md
---

# Fit

**Type:** `nodetool.image.Fit`

**Namespace:** `nodetool.image`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| image | `image` | The image to fit. | `{"type":"image","uri":"","asset_id":null,"data"...` |
| width | `int` | Width to fit to. | `512` |
| height | `int` | Height to fit to. | `512` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `image` |  |

## Related Nodes

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