Skip to content

InputImage

Structure Class

InputImage dataclass

Bases: _SerdeShape

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

This data type is used in the following API operations:

Attributes

format instance-attribute
format: str

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

inline_content instance-attribute
inline_content: bytes

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