Skip to main content

ImageContent

Image content with detail level specification.

Fields

modality
str
required
Must be "image".
detail
str
required
Detail level. One of: "low", "medium", "high", "auto".
value
ImageContentValue
required
Image data — either a URL or base64-encoded content. Use ImageContentValue.from_dict() to construct.

Example

JSON: