Google Gemini AI API Tutorial ✦ How to Use Gemini AI API for Beginners
Vložit
- čas přidán 27. 07. 2024
- In this video I show you step by step on how to get started with Google Gemini AI Pro API in Google AI Studio. We will develop a NodeJS Application where we will generate text from text only input. We will also explore the Gemini Pro Vision API (Multimodal) Generate text from image and text input. We will also use streaming for faster interactions. This video tutorial is for beginners and just about anyone who wants to learn how to use the Google Gemini AI API and Gemini Pro Vision API for free.
Checkout my video 8 Best AI Business Ideas in 8 Minutes: • 8 Best AI Businesses T...
Github Repo: github.com/codingmoney/gemini...
0:00 Introduction
1:08 Prerequisites
2:07 Setup API Key
2:46 Project Setup
3:45 Generate Text from text-only input
7:55 Streaming for faster interactions
9:11 Gemini Pro Vision API ( Multimodal )
12:47 Very Important, Please don't skip this.
#GoogleGeminiAI #GeminiAPI #AIAPI #APItutorial #nodejs #machinelearning #naturallanguageprocessing #nlp #aiforbeginners #techtutorial #code
Literally Golden Platinum. This guy is too underrated.
Thank you. Made my day.
Hey, loved your content man, Immensely helpful. Keep making more such cool stuffs.
Thanks for your nice comment.
Thank you for the video.
well explained. worked for me. thank you a lot
Nice one 👍
very good work here !! keep up.
Beautifully explained!
Glad you think so!
Just came across you page. This is Gold man. I really want to go into AI development, coming from an angular dev Background.
That's awesome.
Great content!
Very best video thanks very much
Most welcome
Hey I am super curious who writes your content if it is someone other than yourself? This is the first video of yours Ive watched and the intro is great so please give credit where its due and you also nailed it - which isnt easy when covering dull technical topics.
I do. And thanks for your comment.
Hey, Thanks buddy !
Hi Santosh, you are most welcome!
I am trying to extract text from some pdf files using Gemini on Vertex AI, but i am facing some page number constrains (max number of pdf pages was 15). Is there any way to extend further number of pdf pages? Does anyone have the solution?
am grateful to u for this video. Thank you very much
I'm glad you found it useful.
@@CodingMoney I have a question for you, if you're available. I'm developing a website to estimate house prices using Vue.js and Node.js. How can I integrate the Gemini API to calculate these prices?
@@wafasalah-369 can you provide more details about your project? How would you like to calculate house prices?
@@CodingMoney ok thnk u, The idea is to input architectural plans details such as location, size, number of rooms, and materials required to build a house, and then receive an estimated price for this house using Vue.js and Node.js integrated with the Gemini API
@@wafasalah-369 I am thinking you might not need gemini api for this if you can predefine the mentioned values somehow. I think all you need is an algorithm to calculate the values based on user input. You can use gemini api to do this as well but why incur extra charges if you can do it yourself? and avoid the extra costs.
The video was great but can I ask you which vs code theme you are using in this video ?
Thank you. The VS code theme is github dark.
I have seen that there are some counties that are not eligible to generete API key, what is your approach on this?
Sometimes all you need is to try again at a later time. I dont think specific counties are restricted. It is just that the technology is under development by google so such issues are to be expected.
can i use this api in power automate? like use it to send messages
I haven't checked power automate yet. Will check it and let you know.
Hi, can I share your vid on my linkedin?
Sure. what's your linkedin?
GoogleGenerativeAIError: [400 Bad Request] User location is not supported for the API use.😭
How do I make this work with a UI on a webpage?
I cover that in this video czcams.com/video/_HNMEGkjzsE/video.html
@@CodingMoneythis is good but I was trying to make something else and it was throwing some error
So I was wondering if you can show something like this.
I have 2 inputs
the 1st input is for the visitor to insert their API key
Then the next input will be text
Once I click Send
text input + "prewritten prompt" will be sent to Gemini and response will be sent in an output field
No more conversations, it's for a specific usecase
Is this API free to use, or do we have some credits like OpenAI
Yes the free tier can work for small apps
Is possible to use Google gemini ai Facebook account together
Not sure I follow. Can you elaborate?
Did you use python? Or c language?
I used Nodejs but you have the option to use python or c as well.