> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orisu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Change aspect ratio

> Reframe an image to a target aspect ratio using outpaint, crop, or stretch.

The Change Aspect Ratio node resizes or reframes an image to a target aspect ratio.

## When to use

* Social format variants
* Banner crops
* Platform-specific sizing

Common patterns: `generate_image → change_aspect_ratio`, or `upload_image → change_aspect_ratio`.

## Inputs

<ParamField body="Image" type="image" required>
  The image to reframe. Required.
</ParamField>

## Outputs

<ParamField body="Image" type="image">
  The reframed image.
</ParamField>

## Configuration

<ParamField body="targetAspectRatio" type="string" default="16:9">
  The aspect ratio to convert the image to.
</ParamField>

<ParamField body="fillMethod" type="string" default="outpaint">
  How to fill or fit the new frame: `outpaint`, `crop`, or `stretch`.
</ParamField>

<Note>
  Pick the model in the node's config panel. See [Image models](/models/image) for the options, and [Model settings](/models/settings) for what each setting does. Outpaint generates new content to extend the image; crop and stretch do not. Runs consume credits.
</Note>
