ImageURL

@Serializable
data class ImageURL(val url: String, val detail: String? = null)

Image content part data.

Constructors

Link copied to clipboard
constructor(url: String, detail: String? = null)

Properties

Link copied to clipboard
val detail: String? = null

Specifies the detail level of the image.

Link copied to clipboard
val url: String

Either a URL of the image or the base64 encoded image data.