Creates an image content object for a multimodal message. automatically handles URLs and local files (converted to base64).
content_image(image_path, media_type = "auto", detail = "auto")A list representing the image content in OpenAI-compatible format.
Path to a local file or a URL.
MIME type of the image (e.g., "image/jpeg", "image/png"). If NULL, attempts to guess from the file extension.
Image detail suitable for some models (e.g., "auto", "low", "high").