TEST / gemini
BenK0y's picture
Create gemini
fd53eb9 verified
raw
history blame
305 Bytes
import google.generativeai as genai
import os
genai.configure(api_key=os.environ["AIzaSyB5WiEJf_yLMD1dMQf305EAbaPTzF_QD-I"])
model = genai.GenerativeModel('gemini-1.5-flash')
response = model.generate_content(
text_input="the color of the car is ?",
image_input="car.jpg"
)
print(response.text)