InputImage

Contains the image data for multimodal knowledge base queries, including format and content.

This data type is used in the following API operations:

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The format of the input image. Supported formats include png, gif, jpeg, and webp.

Link copied to clipboard

The base64-encoded image data for inline image content. Maximum size is 5MB.

Functions

Link copied to clipboard
inline fun copy(block: InputImage.Builder.() -> Unit = {}): InputImage
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String