Skip to main content

Code

cookbook/11_models/google/gemini/image_editing.py

Usage

1

Set up your virtual environment

2

Prepare your image

Place an image file at tmp/test_photo.png or update the filepath in the code to point to your image.
3

Set your API key

4

Install dependencies

5

Run Agent