Any Image → Any Aspect Ratio

Upload any image and input your desired aspect ratio. Generate an outpainted version of your image to perfectly fit the new dimensions.

About

This ComfyUI workflow is designed to transform any image into a new aspect ratio by utilizing advanced outpainting techniques. At its core, the workflow leverages the Nano Banana 2 model, known for its robust image completion capabilities. The process begins by uploading an image and specifying the desired aspect ratio, such as 16:9, 9:16, 1:1, or 4:5.

What you provide

  • Reading the workflow

Runs in ComfyUI. This workflow can't run on this page. Open it in Comfy Cloud with everything loaded, or download it for your own ComfyUI.

Try in Cloud
Output
ExampleSample output
Sample output

Questions & answers