Skip to content

InputImageDict

Dictionary Type

InputImageDict

Bases: TypedDict

Dictionary form of InputImage.

Attributes

format instance-attribute
format: Required[str]

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

inline_content instance-attribute
inline_content: Required[bytes]

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