ImageUrlPart

constructor(imageUrl: ImageUrl)


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

Shorthand for ImageUrlPart(ImageUrl(url, detail)).

Parameters

url

http(s) link to the image, or a data: URL carrying it inline

detail

How much of the image's resolution the model sees; see ImageDetail