This repository contains sample modules to interact with Google's Gemini AI.
Generate a Gemini API key from the Google AI Studio and add GEMINI_API_KEY=YOUR_API_KEY to the .env file in the root directory.
Issue the following commands to setup the virtual environment and install the requirements.
$ python3 -m venv venv
$ python3 pip3 install -r requirements.txt
$ source venv/bin/activateIssue the following commands to run the examples.
$ python3 generate_content.py
$ python3 generate_image.py
$ python3 generate_video.pyIssue the following commands to run the unit tests.
$ pytest