ImageResponseFormat

@Serializable
data class ImageResponseFormat(val aspectRatio: AspectRatio? = null, val delivery: Delivery? = null, val imageSize: ImageSize? = null, val mimeType: String? = null)

Configuration for image-specific output formatting.

Constructors

Link copied to clipboard
constructor(aspectRatio: AspectRatio? = null, delivery: Delivery? = null, imageSize: ImageSize? = null, mimeType: String? = null)

Properties

Link copied to clipboard

Optional. The aspect ratio for the image output.

Link copied to clipboard
val delivery: Delivery? = null

Optional. Delivery mode for the generated content.

Link copied to clipboard
val imageSize: ImageSize? = null

Optional. The size of the image output.

Link copied to clipboard
val mimeType: String? = null

Optional. The MIME type of the image output.