ofFileId

fun ofFileId(fileId: String, detail: InputImage.Detail = Detail.AUTO): InputImage(source)

Creates a new image input with a file ID.

Return

A new InputImage instance.

Parameters

fileId

The ID of the file to be sent to the model.

detail

The detail level of the image.