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

  Рет қаралды 41,150

Flutter

Flutter

2 ай бұрын

AI is changing fast, and knowing how to get started with AI can be overwhelming. We'll show you how to easily build AI-powered features into your apps across platforms from a single code base with the Gemini API and Flutter.
Demo app source code → goo.gle/3Js13Vv
Google AI Studio → goo.gle/3vYWxuI
pub.dev package → goo.gle/3W5pGyQ
Gemini API Quickstart for Dart and Flutter → goo.gle/3W1S0lP
Speakers: Eric Windmill, Ander Dobo
Watch more:
Check out all the AI videos at Google I/O 2024 → goo.gle/io24-ai-yt
Check out all the Mobile videos at Google I/O 2024 → goo.gle/io24-mobile-yt
Check out all the Flutter sessions from Google I/O → goo.gle/io24-flutter-yt
Subscribe to Flutter! → goo.gle/FlutterYT
#GoogleIO
Products Mentioned: Flutter, Gemini API
Event: Google I/O 2024

Пікірлер: 37
@KhanhFlutter
@KhanhFlutter 2 ай бұрын
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 2 ай бұрын
Google is making flutter great again 🎉
@flutterdev
@flutterdev 2 ай бұрын
Check out all the Flutter sessions from Google I/O → goo.gle/io24-flutter-yt
@JustenCastle
@JustenCastle 2 ай бұрын
Yikes, dont get too excited guys!
@Flutterdevfintech
@Flutterdevfintech 2 сағат бұрын
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
@shafqatkhan8766
@shafqatkhan8766 Күн бұрын
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?
@tonykempson4331
@tonykempson4331 Ай бұрын
Is the Gemini Pro version still free and the QPM still 60?
@JohnnyFantaOrange
@JohnnyFantaOrange 2 ай бұрын
Thanks for the upload, Getting real intense vibes from these guys!
@AnderDoboGoogle
@AnderDoboGoogle Ай бұрын
🤣
@benmukanirwa
@benmukanirwa 2 ай бұрын
Incredible. Thanks for sharing!
@lookdadnomilk
@lookdadnomilk 2 ай бұрын
built this a few years back but abondened it cause it had to scrap sites for the recipes. time to revisit it
@user-il1qn5kc1x
@user-il1qn5kc1x 2 ай бұрын
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.
@dexterfury538
@dexterfury538 2 ай бұрын
Love this awesome stuff, Thank you Flutter team.
@alexeygladyshev4718
@alexeygladyshev4718 2 ай бұрын
Can someone please explain how storing API keys client-side can actually be secure?
@daviddprtma
@daviddprtma 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 2 ай бұрын
@@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 2 ай бұрын
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 2 ай бұрын
@@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!"
@hyungtaecf
@hyungtaecf 2 ай бұрын
Still not available in the EU :(
@davidmigloz
@davidmigloz 2 ай бұрын
It's already available in the EU, but without free tier
@ehsannazari1456
@ehsannazari1456 Ай бұрын
thank you so much. tnx to google as well. welldone.
@erickiarie12
@erickiarie12 23 күн бұрын
Вообще классный обменник, мне удобно переводить usdt, спасибо Министр:)
@GabrielMadichie
@GabrielMadichie 8 күн бұрын
This is good.
@ТимурНаимов
@ТимурНаимов 20 күн бұрын
А как прокрутить её с телефона? Вы показали с компьютера
@GrupoDirigente64ECCIMC
@GrupoDirigente64ECCIMC 22 күн бұрын
Вот это добрейшее утро;)
@AlloMission
@AlloMission 2 ай бұрын
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 2 ай бұрын
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 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
@jurassa9588
@jurassa9588 Ай бұрын
@@AlloMission Uncertainty in what sense?
@rhmagalhaes
@rhmagalhaes 2 ай бұрын
This video was made by AI 🤣
@rabarhusen9170
@rabarhusen9170 2 ай бұрын
I didn't notice that until I see your comment 😂
@panyamred
@panyamred 2 ай бұрын
I felt the same 😂
@reynoldclare7981
@reynoldclare7981 2 ай бұрын
Damnn literally felt it after seeing your comment 😂
@AnderDoboGoogle
@AnderDoboGoogle Ай бұрын
As an "AI-created presenter", I approve this comment🤣🤣🤣
@rabarhusen9170
@rabarhusen9170 Ай бұрын
@@AnderDoboGoogle 😂😂
@user-gp6hq3td3o
@user-gp6hq3td3o Ай бұрын
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.
@superjfbm
@superjfbm 28 күн бұрын
..it doesnt feel.... real.
How I'd Learn AI in 2024 (if I could start over)
17:55
Dave Ebbelaar
Рет қаралды 876 М.
Google CEO Sundar Pichai and the Future of AI | The Circuit
24:02
Bloomberg Originals
Рет қаралды 3,1 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 5 МЛН
Beautiful gymnastics 😍☺️
00:15
Lexa_Merin
Рет қаралды 14 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 57 МЛН
17 Killer Features Only PRO Galaxy Users Know! ( One Ui6.1 )
28:58
WhatGear
Рет қаралды 1,3 МЛН
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 542 М.
What is RAG? (Retrieval Augmented Generation)
11:37
Don Woodlock
Рет қаралды 115 М.
ChatGPT Tutorial - A Crash Course on Chat GPT for Beginners
34:05
Adrian Twarog
Рет қаралды 6 МЛН
What Is an AI Anyway? | Mustafa Suleyman | TED
22:02
TED
Рет қаралды 1,3 МЛН
How to run Flutter on embedded hardware with Yocto
16:15
Industrial Flutter
Рет қаралды 279
I Tried Every AI Coding Assistant
24:50
Conner Ardman
Рет қаралды 739 М.
Build a Realtime Chat App in React Native (tutorial for beginners) 🔴
3:49:50
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,8 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 825 М.
САМЫЙ ДОРОГОЙ ЧЕХОЛ! В стиле Mac Pro
0:35
Romancev768
Рет қаралды 146 М.