ImageConfig

@Serializable
data class ImageConfig(val aspectRatio: String? = null, val imageSize: String? = null)

Configures the image generation parameters.

Constructors

Link copied to clipboard
constructor(aspectRatio: String? = null, imageSize: String? = null)

Properties

Link copied to clipboard
val aspectRatio: String?

The aspect ratio of the generated image (e.g., "16:9", "4:3", "1:1").

Link copied to clipboard
val imageSize: String?

The size of the generated image (e.g., "2K").