image_path
. A helper function converts the path into base64 string by so that it can be passed to the model along with text.
Step 1
Step 2
<"YOUR API KEY">
in the construction of the client.Step 3
Step 4
content
portion of the user
prompt.Step 5
"sample.JPEG"
had contained an image of hiking, and your response will reflect your selected image.