InputImage
data class InputImage(val type: String = "input_image", val detail: InputImage.Detail = Detail.AUTO, val imageUrl: String? = null, val fileId: String? = null) : InputContent(source)
Represents an image input to the model.
Author
Konstantin Pavlov
Constructors
Link copied to clipboard
constructor(type: String = "input_image", detail: InputImage.Detail = Detail.AUTO, imageUrl: String? = null, fileId: String? = null)
Properties
Link copied to clipboard
The detail level of the image. One of "high", "low", or "auto".
Link copied to clipboard
The ID of the file to be sent to the model.
Link copied to clipboard
The URL of the image or base64 encoded image data.
Link copied to clipboard
The type of the input item. Always "input_image".