I built my first generative AI app using Gemini and Flutter

Recently, the Flutter team announced a new Dart SDK - google_generative_ai. It enables developers to use Google's state-of-the-art generative AI models in their applications. In this video, we will dive into the journey of building my first AI-powered photo scavenger hunt game using the new AI Dart SDK, Gemini and Flutter.
---
Links:
► Project repository: github.com/mkobuolys/ai-photo...
► google_generative_ai package: pub.dev/packages/google_gener...
► Flutter: flutter.dev/
► Dart: dart.dev/
---
Connect with me:
► X: x.com/mkobuolys
► GitHub: github.com/mkobuolys
► Blog: kazlauskas.dev
---
Subscribe: bit.ly/369W7RM
Chapters:
00:00 Intro
00:33 Game overview
00:52 Project structure
01:32 State management using BLoC
02:36 Using the google_generative_ai package
04:28 Prompt engineering
05:32 Final result overview
#ai #generativeai #gemini #geminisprint #buildwithgemini #flutter #dart #game #app

Пікірлер: 29

  • @sskohli79
    @sskohli792 ай бұрын

    pretty good idea and slick app. very nice. thanks for sharing

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    Glad you like it! ✌️

  • @TAMILGADGETS
    @TAMILGADGETS2 ай бұрын

    your promt idea was out of box thinking bro so nice

  • @TAMILGADGETS

    @TAMILGADGETS

    2 ай бұрын

    can we check liveness and other AR related thinks with this package ?

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    This is my take: AR requires live (or close to that) streaming and processing, thus sending prompts/requests to Gemini API won't be effective - you should probably use on-device models for that (like ML Kit). It depends on your needs, but you could do some on-device processing for AR and then send specific requests to Gemini to aggregate, calculate or summarise your text + image prompts.

  • @gerfalconVogel
    @gerfalconVogel2 ай бұрын

    Can't imagine how hard was to summarize everything into 6 minutes! Great job, buddy! Loved your censor :D 🙈🙈🙈🙈🙈🙈🙈🙈🙈🙈🙈🙈🙈

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    Thanks! When your editing skills are terrible, this is the best “blur” I can deliver 😅

  • @purnakumbhar3951
    @purnakumbhar39513 ай бұрын

    Really good tutorial!

  • @mkobuolys

    @mkobuolys

    3 ай бұрын

    Glad it was helpful! ✌️

  • @Sainto0
    @Sainto03 сағат бұрын

    can we get image output from gemini api i cant find it

  • @ojasvisingh786
    @ojasvisingh7863 ай бұрын

    🤩🥳👏

  • @AleksanderGolus
    @AleksanderGolusАй бұрын

    Hi! Is it possible to keep get the token without the expiration date?

  • @GordonJamesCampbell
    @GordonJamesCampbell8 күн бұрын

    Good video

  • @mkobuolys

    @mkobuolys

    6 күн бұрын

    Cheers!

  • @alexcannizaro3333
    @alexcannizaro33333 ай бұрын

    Wow! Such a great tutorial But, I am continuously seeing the "take a break" instead of what is expected. I am also using the right api key and exactly as you have mentioned but still not able to run it successfully. I thought, maybe I was doing some code error, so I cloned your repo and tried with my api_key but still same issue. I am getting GenerativeAIException Also, My region is available in Gemini. Btw, Thanks a lot, your flutter skills are amazing. I really want your advice on how should I learn flutter deeply and effectively ? Can you please help me, I have wasted a lot of time watching endless tutorials but not able to build skills yet, can you please help me

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    Hey, thanks for the kind words! I've just checked the project, and everything works fine if you follow the instructions in the README file. If you get a specific GenerativeAIException, check the error message to see what's wrong. I recommend following a Flutter roadmap to bring more structure to your learning and make it effective rather than watching random tutorials.

  • @alexcannizaro3333

    @alexcannizaro3333

    2 ай бұрын

    @@mkobuolysThanks a lot for the response. Yes, I should follow a structured roadmap. Can you plz plz share some roadmap if you have , or if you know reference to any course ( free / paid doesn’t matter ) it will be really really helpful. Any sort of reference will be highly appreciated, thanks

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    @@alexcannizaro3333 github.com/olexale/flutter_roadmap

  • @alexcannizaro3333

    @alexcannizaro3333

    2 ай бұрын

    @@mkobuolys Thanks a lot for the reference. I would surely make use of it.

  • @assem_alia
    @assem_alia3 ай бұрын

    I have problème i always get a phrase ai décidéd to take break

  • @mkobuolys

    @mkobuolys

    3 ай бұрын

    Hey! Double-check if Gemini is available in your region and use the appropriate method (Gemini API vs Vertex AI API).

  • @siyam333
    @siyam3333 ай бұрын

    Google Gemma project demo

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    🤔🤔🤔

  • @shaurya8024
    @shaurya80243 ай бұрын

    Ok first thing You are an amazing developer But I have a request Please make a flutter Firebase wallpaper app tutorial (front end and back end) I did the research and found that there are no videos on flutter Firebase wallpaper app on youtube All developer who are student and others search a lot about a flutter Firebase wallpaper app We found tutorial on flutter wallpapers app but we don't need any api integration (no api) We need a flutter Firebase app We need a app which have Firebase as a storage (no api, like pixels or nothing) And hear is an outline 1 Home screen (resent wallpaper) 2 Category screen 3 Favorite screen 4 Setting (profile, auto change wallpaper, notifications, and other settings) 5 we can download wallpaper, set as home/lock/both as wallpaper Simple and clean app look (Optional:- random wallpaper and Trending wallpaper screen) Please make if you can We will learn a lot about Firebase from it And scince no one have made video on this i am sure your video will gain lots of views Thanks And make complete app (frontend and backend)

  • @mkobuolys

    @mkobuolys

    3 ай бұрын

    Hey, thanks for your suggestion. This is a very niche project request and I am not sure that will benefit that many Flutter community members. I would rather create something more generic about Flutter and Firebase.

  • @shaurya8024

    @shaurya8024

    3 ай бұрын

    @@mkobuolys thanks for reply, but atleast try once,,, or you make a pole on KZread and include Firebase wallpaper app in it and let us vote 🗳️ ,,, and then you will have clear vision on what you need to do.

  • @mkobuolys

    @mkobuolys

    3 ай бұрын

    @@shaurya8024 1. Having in mind that you were the first person asking me for the wallpaper + Firebase app indicates that’s a pretty niche project. 2. Having in mind that there were multiple requests for using Firebase on Flutter (E-commerce, podcast/music, chat apps, maybe others I do not remember on the spot) indicates that a more generic but advanced Flutter + Firebase content is probably needed. That’s my research 🤷‍♂️

  • @venxwar

    @venxwar

    2 ай бұрын

    ​@@mkobuolysCreating a Flutter wallpaper app integrated with Firebase is an excellent and stunning idea. Could you please consider making videos about it? I would greatly appreciate it if you didn't ignore my request.,, please 😁😅

  • @mkobuolys

    @mkobuolys

    2 ай бұрын

    @@venxwar I will consider it, sure