Skip to main content
Pass an Image to print_response() and use a vision-capable model such as qwen/qwen3.6-27b.
Groq’s current image-capable models are Preview tier only — see Groq’s vision docs for the current list and the Groq overview for details.

Code

image_agent.py

Usage

1

Set up your virtual environment

2

Set your API key

3

Install dependencies

4

Run Agent

Save the code above as image_agent.py, then run:

Developer Resources