Aspect Ratio (--ar)

The --ar flag is used to set the aspect ratio for the image you want to generate. The aspect ratio is the proportional relationship between the width and the height of an image. It is usually represented by two numbers separated by a colon (e.g., 7:4 or 4:3).


Understanding Aspect Ratios

An image with an aspect ratio of 1:1 is a square, meaning its width and height are equal. This can be any size as long as both dimensions are the same, such as 1000px by 1000px or 1500px by 1500px.

In contrast, a widescreen computer monitor typically has an aspect ratio of 16:10, indicating the width is 1.6 times greater than the height. Therefore, an image conforming to this ratio could be 1600px by 1000px, 4000px by 2500px, or any other set of dimensions that maintains the same ratio.

Using the --ar Flag

To use this flag, append --ar followed by the desired aspect ratio to your command. The bot will generate an image that adheres to this specified width-to-height ratio.

Example: /craft Celestial raven in the cosmos --ar 16:9

Last updated