image_agent.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your Cohere API key
4
Use Command A Vision
Replace
c4ai-aya-vision-8b with command-a-vision-07-2025 in the saved Python file before running.5
Run the example
Save the code above as
image_agent.py, then run: