image

fun image(url: String, detail: ImageDetail? = null)

Appends an InputImagePart referencing the image by URL.

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