This repo is a basic project to show the use of Gemini with Flutter, google's AI powered chat bot with google's leading UI toolkit.
Gemini is a family of multimodal large language models developed by Google DeepMind, serving as the successor to LaMDA and PaLM 2. Comprising Gemini Ultra, Gemini Pro, and Gemini Nano, it was announced on December 6, 2023, positioned as a competitor to OpenAI's GPT-4. It powers the generative artificial intelligence chatbot of the same name. Yep, this is from wikipedia. In short words, Gemini is a multimodal AI powered chatbot that takes both images and texts as input.
The Gemini API gives you access to the latest generative AI models from Google. The repo covers a few of them. You can view the useage in lib/services/gemini_service.dart
-
Clone the repo by running
git clone [email protected]:ahmadexe/Flutter-Gemini.git
-
Run in root directory of the project
flutter pub get
-
Get the API key from Google AI Studio
-
Run the project using
flutter run --dart-define="GEMINI_API_KEY="
Feel free to open PRs, star the repo to show love. Built with love, in Flutter 💙