Skip to main content
This example is available on GitHub: examples/01_standalone_sdk/17_image_input.py
You can send images to multimodal LLMs for vision-based tasks like screenshot analysis, image processing, and visual QA:
examples/01_standalone_sdk/17_image_input.py
Running the Example

Sending Images

The LLM you use must support image inputs (llm.vision_is_active() need to be True).
Pass images along with text in the message content:
Works with multimodal LLMs like GPT-4 Vision and Claude with vision capabilities.

Next Steps