Gemini API and Flutter: Practical, AI-driven apps with Google AI tools

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 41

  • @KhanhFlutter
    @KhanhFlutter 8 หลายเดือนก่อน +35

    Hi folks! Khanh here from the Flutter DevRel team @ Google. There's been some questions about storing the API key. As a general rule of thumb, don't store your API key client-side.The Google AI Dart SDK aka pkg:google_generative_ai is at this time to be used for prototyping with AI in your Flutter apps.
    If you're looking towards shipping your app to production, checkout the Vertex AI for Firebase Dart SDK (pkg:firebase_vertexai). It doesn't require an embedded API key and is currently in public preview, targeting stable in the Fall! The code is nearly identical, migration requires about 3 small code updates --> pub.dev/packages/firebase_vertexai You also get the Firebase perks like the ability to enable App Check too :)

  • @phineas3016
    @phineas3016 8 หลายเดือนก่อน +27

    Google is making flutter great again 🎉

  • @flutterdev
    @flutterdev  8 หลายเดือนก่อน +9

    Check out all the Flutter sessions from Google I/O → goo.gle/io24-flutter-yt

  • @JohnnyFantaOrange
    @JohnnyFantaOrange 8 หลายเดือนก่อน +1

    Thanks for the upload,
    Getting real intense vibes from these guys!

    • @AnderDoboGoogle
      @AnderDoboGoogle 8 หลายเดือนก่อน +3

      🤣

    • @hydrokat143
      @hydrokat143 หลายเดือนก่อน

      now that you mentioned it.. it does feel like they are looking into my soul (or what’s left of it)

  • @dexterfury538
    @dexterfury538 8 หลายเดือนก่อน +1

    Love this awesome stuff, Thank you Flutter team.

  • @JustenCastle
    @JustenCastle 8 หลายเดือนก่อน +15

    Yikes, dont get too excited guys!

  • @tonykempson4331
    @tonykempson4331 8 หลายเดือนก่อน +2

    Is the Gemini Pro version still free and the QPM still 60?

  • @يحيىالابيض-ت1ط
    @يحيىالابيض-ت1ط 8 หลายเดือนก่อน +5

    That's cool and all, but don't you think that the pricing is a bit too expensive? Probably compared to OpenAI's API pricing?
    Edit: I don't know how, but the prices are much cheaper and the rate limits are much higher today! They make much more sense now.

  • @Flutterdevfintech
    @Flutterdevfintech 6 หลายเดือนก่อน +1

    How do I convert the response.text which is made of json like this ‘’’ json {
    “latitude”: “Lagos”
    } ‘’’ to normal json in Flutter though I have been able to convert it but i still can access the value lagos

  • @IlyaBurov-r6u
    @IlyaBurov-r6u 5 หลายเดือนก่อน +1

    انتِ ذكيه جدا ماشاءالله اتمنى لك التوفيق 🐈

  • @lookdadnomilk
    @lookdadnomilk 8 หลายเดือนก่อน

    built this a few years back but abondened it cause it had to scrap sites for the recipes. time to revisit it

  • @GabrielMadichie
    @GabrielMadichie 6 หลายเดือนก่อน +3

    This is good.

  • @alexeygladyshev4718
    @alexeygladyshev4718 8 หลายเดือนก่อน +3

    Can someone please explain how storing API keys client-side can actually be secure?

    • @daviddprtma
      @daviddprtma 8 หลายเดือนก่อน +2

      don't expose your API to the client-side because it can be injected by hackers. I suggest you to store it into a serverside likeas node.js, php, or any backend so it can be secure

    • @alexeygladyshev4718
      @alexeygladyshev4718 8 หลายเดือนก่อน +1

      @@daviddprtma thanks, I agree, I always store keys on the backend. But I'm confused why this video promotes devs to do it client-side

    • @KhanhFlutter
      @KhanhFlutter 8 หลายเดือนก่อน +4

      Hey y'all! Great question! You shouldn't store the API key client side. If you're shipping your AI-powered app, check out the Vertex AI for Firebase Dart SDK (pkg:firebase_vertexai) which doesn't have an require and embedded API key. It's currently in public preview, targeting stable in the Fall. The code is nearly identical, migration requires about 3 small code updates --> pub.dev/packages/firebase_vertexai

    • @brujala1775
      @brujala1775 8 หลายเดือนก่อน +1

      @@KhanhFlutter "Thank you so much for this answer. I really appreciate it and I truly needed it right now. Your help means a lot to me!"

  • @AriannaValentini-n3k
    @AriannaValentini-n3k 7 หลายเดือนก่อน +1

    I've been wanting to learn how to trade cryptocurrency for a long time and your video is the perfect guide for beginners. Thank you for such useful content.

  • @ehsannazari1456
    @ehsannazari1456 7 หลายเดือนก่อน +1

    thank you so much. tnx to google as well. welldone.

  • @shafqatkhan8766
    @shafqatkhan8766 6 หลายเดือนก่อน

    How to do that user can upload pdf file and gemini gives reponse on the basis of text in pdf with user prompt about pdf?

    • @Gupatik
      @Gupatik 2 หลายเดือนก่อน

      look if the pdf input is available in gemini, otherwise look at gpt 4 it has that feature. this might be too late to answer tho, but it is for future ppl who has the same problem as yours

  • @AlloMission
    @AlloMission 8 หลายเดือนก่อน +9

    This approach is not secure, as even a beginner hacker can find your API key. It is essential to discuss security measures and demonstrate how to handle this on the server side using Node.js or another backend technology.

    • @KhanhFlutter
      @KhanhFlutter 8 หลายเดือนก่อน +1

      We just announced the Vertex AI for Firebase Dart SDK (pkg:firebase_vertexai) which doesn't require an embedded API key! It's currently in public preview, targeting stable in the Fall. Migration requires about 3 small code updates --> pub.dev/packages/firebase_vertexai

    • @AlloMission
      @AlloMission 8 หลายเดือนก่อน +2

      @@KhanhFlutter First, this demo is incorrect due to security concerns.
      Second, given the uncertainty about Flutter's future, do you really expect us to invest more time and effort in this preview approach?
      Finally, Google please wake up

  • @erickiarie12
    @erickiarie12 7 หลายเดือนก่อน +1

    Вообще классный обменник, мне удобно переводить usdt, спасибо Министр:)

  • @hyungtaecf
    @hyungtaecf 8 หลายเดือนก่อน +1

    Still not available in the EU :(

    • @davidmigloz
      @davidmigloz 8 หลายเดือนก่อน

      It's already available in the EU, but without free tier

  • @rhmagalhaes
    @rhmagalhaes 8 หลายเดือนก่อน +39

    This video was made by AI 🤣

    • @rabarhusen01
      @rabarhusen01 8 หลายเดือนก่อน +1

      I didn't notice that until I see your comment 😂

    • @panyamred
      @panyamred 8 หลายเดือนก่อน +1

      I felt the same 😂

    • @reynoldclare7981
      @reynoldclare7981 8 หลายเดือนก่อน

      Damnn literally felt it after seeing your comment 😂

    • @AnderDoboGoogle
      @AnderDoboGoogle 8 หลายเดือนก่อน +2

      As an "AI-created presenter", I approve this comment🤣🤣🤣

    • @rabarhusen01
      @rabarhusen01 8 หลายเดือนก่อน

      @@AnderDoboGoogle 😂😂

  • @GrupoDirigente64ECCIMC
    @GrupoDirigente64ECCIMC 7 หลายเดือนก่อน

    Вот это добрейшее утро;)

  • @ТимурНаимов
    @ТимурНаимов 7 หลายเดือนก่อน

    А как прокрутить её с телефона? Вы показали с компьютера

  • @Pushangupta
    @Pushangupta หลายเดือนก่อน

    Building an AI app that is not tailored for your business is practically useless in most cases. What you need to talk about is a RAG implementation of the app. Say there already exists a Postgres database with all the products you sell and now you want to build a chat bot on top of it in flutter.

  • @Dan1ell
    @Dan1ell 3 หลายเดือนก่อน

    Ander is not real.

  • @superjfbm
    @superjfbm 7 หลายเดือนก่อน

    ..it doesnt feel.... real.