Welcome to Gemini API 101! This is a beginner-friendly, step-by-step guide designed to help you learn and build intelligent applications using Google's powerful Gemini API.
The lessons in this repository are structured simply. We are starting with Python.
- π
01-setup-and-auth- How to get your free API key and write your very first Gemini AI script. - π
02-basic-text-generation- Learn how to generate text and answer simple questions using Gemini. - π
03-chat-sessions- How to maintain conversation history and build a basic chatbot. - π
04-vision-models- How to process and analyze images using Gemini Vision capabilities.
- Go to Google AI Studio.
- Sign in and click on "Get API key" to create a new key.
Run this command in your terminal to install the official Google SDK:
pip install -q -U google-generativeai
Navigate to the 01-setup-and-auth folder, open test_api.py, replace "YOUR_API_KEY" with your actual key, and run the script!
Hi, I'm Chamali Liyanage! I am a Software Engineering Student and the Founder & CEO of LIYANOVATE.
I specialize in building AI-driven web architectures, cultural chatbot solutions, and enterprise automation systems. I created this open-source guide to share my knowledge and help aspiring developers seamlessly integrate modern AI into their applications.