File size: 273 Bytes
46d151f |
1 2 3 4 5 6 7 8 9 |
pip install -q -U google-genai
from google import genai
client = genai.Client(api_key="AIzaSyB9mbTLPPqOVYOnmmyetsphJbT1GzKP4pU")
response = client.models.generate_content(
model="gemini-2.0-flash", contents="Explain how AI works in a few words"
)
print(response.text) |