Skip to content

NAME-NikhilPatil/google_gemini_example

Repository files navigation

google_gemini_example

Getting Started

Use your API key from here: https://aistudio.google.com/app/apikey

google_gemini_example

This project is a simple Flutter application that demonstrates how to integrate the Google Gemini API.

Getting Started

First, obtain your Gemini API key from Google AI Studio to get started with this project.

Installation

  1. Clone the repository:
    git clone https://github.com/NAME-NikhilPatil/google_gemini_example.git
    

You can just navigate to the cloned repo directory.

Get the dependencies:

flutter pub get

Run the app:

flutter run

Usage The app allows you to send text to the Gemini API and receive a response. Make sure to handle the API key securely and not expose it in your public code repositories.

Contributing Contributions are welcome! For major changes, please open an issue first to discuss what you want to change.

Remember to follow best practices for security and privacy, especially when handling API keys and user data. Happy coding!