How It Works

Width & Height

Here are some different aspect ratios to keep in mind

Shawn @ Prompting Pixels

Width & Height

hen generating images with Stable Diffusion the width and height are important parameters that affect your final result.

Width and height determine the size and aspect ratio of your generated image. Stable Diffusion models have an optimal range of sizes they work best with:

  • Stable Diffusion 1.5: 512x512 pixels (1:1 aspect ratio)
  • Stable Diffusion 2.1: 768x768 pixels (1:1)
  • Stable Diffusion XL: 1024x1024 pixels (1:1)

You can generate other aspect ratios, but stick close to the model's native resolution for best results: