Skip to content

Bedrock Agent Runtime  >  Structures  >  InputImage

InputImage

Structure Class

InputImage dataclass

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

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

inline_content class-attribute instance-attribute
inline_content: bytes = field(repr=False)

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