Google Gemini AI API Tutorial ✦ How to Use Gemini AI API for Beginners

Sdílet
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

Komentáře • 45

  • @abdooowd
    @abdooowd Před 4 měsíci +2

    Literally Golden Platinum. This guy is too underrated.

  • @justnowi8967
    @justnowi8967 Před 4 měsíci

    Thank you. Made my day.

  • @mitterfox
    @mitterfox Před 7 měsíci +3

    Hey, loved your content man, Immensely helpful. Keep making more such cool stuffs.

  • @yourlinuxguy
    @yourlinuxguy Před 4 měsíci

    Thank you for the video.

  • @awad2226
    @awad2226 Před 5 měsíci +1

    well explained. worked for me. thank you a lot

  • @damonwu9658
    @damonwu9658 Před 7 měsíci +1

    Nice one 👍

  • @numbaeight
    @numbaeight Před 2 měsíci

    very good work here !! keep up.

  • @iftekharahmad6850
    @iftekharahmad6850 Před 7 měsíci +1

    Beautifully explained!

  • @anproductions4287
    @anproductions4287 Před 6 měsíci +1

    Just came across you page. This is Gold man. I really want to go into AI development, coming from an angular dev Background.

  • @laddcraner4170
    @laddcraner4170 Před 5 měsíci

    Great content!

  • @user-pb4mt1mv6j
    @user-pb4mt1mv6j Před 4 měsíci +2

    Very best video thanks very much

  • @SupItsJ
    @SupItsJ Před 7 měsíci +3

    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.

    • @CodingMoney
      @CodingMoney  Před 7 měsíci

      I do. And thanks for your comment.

  • @SANTOSHKUMAR-zo4ef
    @SANTOSHKUMAR-zo4ef Před 6 měsíci +1

    Hey, Thanks buddy !

    • @CodingMoney
      @CodingMoney  Před 6 měsíci

      Hi Santosh, you are most welcome!

  • @user-pu4oc9ek9u
    @user-pu4oc9ek9u Před 6 měsíci

    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?

  • @wafasalah-369
    @wafasalah-369 Před 2 měsíci

    am grateful to u for this video. Thank you very much

    • @CodingMoney
      @CodingMoney  Před 2 měsíci

      I'm glad you found it useful.

    • @wafasalah-369
      @wafasalah-369 Před 2 měsíci

      @@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?

    • @CodingMoney
      @CodingMoney  Před 2 měsíci

      @@wafasalah-369 can you provide more details about your project? How would you like to calculate house prices?

    • @wafasalah-369
      @wafasalah-369 Před 2 měsíci

      @@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

    • @CodingMoney
      @CodingMoney  Před 2 měsíci

      @@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.

  • @ShivamUpadhyay-pf1fk
    @ShivamUpadhyay-pf1fk Před 6 měsíci

    The video was great but can I ask you which vs code theme you are using in this video ?

    • @CodingMoney
      @CodingMoney  Před 6 měsíci

      Thank you. The VS code theme is github dark.

  • @user-pu4oc9ek9u
    @user-pu4oc9ek9u Před 6 měsíci +1

    I have seen that there are some counties that are not eligible to generete API key, what is your approach on this?

    • @CodingMoney
      @CodingMoney  Před 6 měsíci

      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.

  • @itsdwiky5429
    @itsdwiky5429 Před 6 měsíci

    can i use this api in power automate? like use it to send messages

    • @CodingMoney
      @CodingMoney  Před 6 měsíci

      I haven't checked power automate yet. Will check it and let you know.

  • @CanalGeekDev
    @CanalGeekDev Před 6 měsíci

    Hi, can I share your vid on my linkedin?

  • @amelianceskymusic
    @amelianceskymusic Před 5 měsíci

    GoogleGenerativeAIError: [400 Bad Request] User location is not supported for the API use.😭

  • @SamyadeepPurkayastha
    @SamyadeepPurkayastha Před 4 měsíci

    How do I make this work with a UI on a webpage?

    • @CodingMoney
      @CodingMoney  Před 4 měsíci

      I cover that in this video czcams.com/video/_HNMEGkjzsE/video.html

    • @SamyadeepPurkayastha
      @SamyadeepPurkayastha Před 4 měsíci

      ​@@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

  • @gauthamvanjre8108
    @gauthamvanjre8108 Před 4 měsíci

    Is this API free to use, or do we have some credits like OpenAI

    • @CodingMoney
      @CodingMoney  Před 4 měsíci

      Yes the free tier can work for small apps

  • @malcolmx7813
    @malcolmx7813 Před 6 měsíci

    Is possible to use Google gemini ai Facebook account together

    • @CodingMoney
      @CodingMoney  Před 6 měsíci

      Not sure I follow. Can you elaborate?

  • @0xyu9
    @0xyu9 Před 4 měsíci

    Did you use python? Or c language?

    • @CodingMoney
      @CodingMoney  Před 4 měsíci

      I used Nodejs but you have the option to use python or c as well.