ImageContent
autogen.llm_clients.models.content_blocks.ImageContent #
Bases: BaseContent
Image content with optional detail level.
Supports both URLs and data URIs (base64-encoded blob data): - image_url: Remote HTTP(S) URL to the image - data_uri: Base64-encoded image data (e.g., "data:image/png;base64,...")
Note: Provide either image_url OR data_uri, not both.
get_text #
Extract text representation of content block.
Override in subclasses to provide specific text extraction logic. Default returns empty string for content blocks without text.