ofUrl

fun ofUrl(imageUrl: String, detail: InputImage.Detail = Detail.AUTO): InputImage(source)

Creates a new image input with a URL.

Return

A new InputImage instance.

Parameters

imageUrl

The URL of the image or base64 encoded image data.

detail

The detail level of the image.