Skip to main content
AWS Bedrock supports image input with models like amazon.nova-pro-v1:0. You can use this to analyze images and get information about them.

Code

image_agent.py

Usage

1

Set up your virtual environment

2

Set your AWS Credentials

3

Install dependencies

4

Add an Image

Place an image file named sample.jpg in the same directory as your script.
5

Run Agent