https://github.com/ericwindmill/gemini_recipe_generation
Sample app used in 2024 Google I/O session: "Gemini API and Flutter: Practical, AI-driven apps with Google AI tools"
https://github.com/ericwindmill/gemini_recipe_generation
Last synced: 10 months ago
JSON representation
Sample app used in 2024 Google I/O session: "Gemini API and Flutter: Practical, AI-driven apps with Google AI tools"
- Host: GitHub
- URL: https://github.com/ericwindmill/gemini_recipe_generation
- Owner: ericwindmill
- Created: 2024-11-21T19:01:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T19:04:15.000Z (over 1 year ago)
- Last Synced: 2025-06-09T15:52:14.113Z (about 1 year ago)
- Language: Dart
- Size: 327 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a demo app created for the Google I/O talk "Gemini API and Flutter: Practical, AI-driven apps with Google AI tools"
**NOTE**: This is a snapshot of integrating Gemini at a specific time. This project will not be updated to reflect updates to Gemini or Flutter. For information on integrating Gemini with Flutter, check out the [google_generative_ai](https://pub.dev/packages/google_generative_ai) package.
Check out the [the prompt we used on Google AI Studio](https://aistudio.google.com/app/prompts/1RsTAt6_N8BPhXbrrd8gSJcdeuYV834kf).
## Running the app
Before running the app:
* Get an API key from [ai.google.dev](ai.google.dev).
* Create a Firebase project, and install the Flutter Firebase CLI, and configure the platforms that you want to run this app on. You can find instructions by following [steps 2-4 of the Get to know Firebase for Flutter](https://firebase.google.com/codelabs/firebase-get-to-know-flutter?hl=en#2) codelab.
Then, pass the API key in with dart define when running the app:
```bash
flutter run --dart-define=API_KEY=your_api_key
```