Companion

Functions

Link copied to clipboard
fun ofFileId(fileId: String, detail: InputImage.Detail = Detail.AUTO): InputImage

Creates a new image input with a file ID.

Link copied to clipboard
fun ofUrl(imageUrl: String, detail: InputImage.Detail = Detail.AUTO): InputImage

Creates a new image input with a URL.