Skip to main content
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

Image
image
required
The image to reframe. Required.

Outputs

Image
image
The reframed image.

Configuration

targetAspectRatio
string
default:"16:9"
The aspect ratio to convert the image to.
fillMethod
string
default:"outpaint"
How to fill or fit the new frame: outpaint, crop, or stretch.
Pick the model in the node’s config panel — see Image models for the options, and Model settings for what each setting does. Outpaint generates new content to extend the image; crop and stretch do not. Runs consume credits.