In today's tutorial, we're going to set up Google Cloud and use the Gemini Pro API. Gemini is a new model that Google released yesterday. I'll show you an example in both Python and Node.js.
⭐ Code ⭐
GitHub repository: https://github.com/rokbenko/ai-playgr...
Code for this tutorial: https://github.com/rokbenko/ai-playgr...
🙌 Support 🙌
If you would like to support me, subscribe to my YouTube channel ( / @rokbenko ). Don't forget to click the bell 🔔 to get a notification when I release a new video.
🌐 Profiles 🌐
GitHub: https://github.com/rokbenko
StackOverflow: https://stackoverflow.com/users/10347...
LinkedIn: / rokbenko
X: https://x.com/rokbenko
🎞️ Timestamps 🎞️
00:00 – Intro
00:14 – Code for this tutorial
00:29 – Google Cloud Platform intro
00:37 – Step 1: Sign in to Google Cloud and create the first project
01:01 – Step 2: Enable Generative Language API
01:35 – Step 3: Create an API key
02:08 – Step 4: Set the API key as an environment variable
02:22 – Step 5: Install Google AI SDK
02:42 – Step 6: Python and Node.js examples
02:58 – Run Python and Node.js examples
03:23 – Outro
#AI #Gemini #GCP