Skip to content

ModelImageConfiguration

HTTP API schema

← HTTP API reference

Image generation configuration.

ModelImageConfiguration fields

aspectRatiosarray<string>

Accepted values of `aspectRatio`, written as width:height.

arbitraryAspectRatioboolean

True when any width:height ratio is accepted, not only `aspectRatios`.

resolutionsarray<ImageResolution>

Accepted values of `resolution`.

defaultAspectRatiostring

The ratio the vendor uses when `aspectRatio` is omitted, when it documents one.

View source specification ↗