Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

πŸš€ Gemini API 101

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.

πŸ“‚ Repository Structure

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.

πŸ› οΈ Getting Started

1. Get Your API Key

  • Go to Google AI Studio.
  • Sign in and click on "Get API key" to create a new key.

2. Install Required Libraries

Run this command in your terminal to install the official Google SDK: pip install -q -U google-generativeai

3. Run Your First Script

Navigate to the 01-setup-and-auth folder, open test_api.py, replace "YOUR_API_KEY" with your actual key, and run the script!

πŸ‘©β€πŸ’» About the Author

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.

About

A beginner-friendly guide to learning and building with Google's Gemini API.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /