ImageContent
Image content with detail level specification for multi-modal LLM messages.Import
Type Definition
Fields
string
required
Must be
"image".string
required
Detail level for image processing. One of:
"low", "medium", "high", "auto".ImageContentValue
required
Image data — either a URL reference or base64-encoded content with media type.
Example
Related
- MessageContent — union type that includes
ImageContent - PromptMessage — uses
MessageContent[]as itscontentfield