height property

int height
getter/setter pair

Height of the image in pixels. Must be in increments of 64 and pass the following validation:

For 512 engines: 262,144 ≤ height * width ≤ 1,048,576 For 768 engines: 589,824 ≤ height * width ≤ 1,048,576 For SDXL Beta: can be as low as 128 and as high as 896 as long as width is not greater than 512. If width is greater than 512 then this can be at most 512. For SDXL v0.9: valid dimensions are 1024x1024, 1152x896, 1216x832, 1344x768, 1536x640, 640x1536, 768x1344, 832x1216, or 896x1152 For SDXL v1.0: valid dimensions are the same as SDXL v0.9

Implementation

int height;