ImagePart

constructor(url: String, detail: String? = null)

Image content part.

Parameters

url

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

detail

specifies the detail level of the image.


constructor(imageUrl: ImagePart.ImageURL)

Parameters

imageUrl

the image url.