Getting started with Google AI Studio, Gemini AI and NodeJS

Learn how to prototype text-based prompts with Google AI Studio and get started writing your first Gemini AI NodeJS script.

 

Overview: Getting started with Gemini AI

Video

Learn how to use Google AI Studio to prototype text prompts with Gemini AI, the different types of text prompts that you can use for prompt engineering and how to write your first NodeJS script with Google Generative AI API.

Google AI Studio quickstart

Article

Get started with the Google Generative AI API through this quickstart guide. This documentation highlights the three types of text prompts available via AI Studio including freeform, structured and chat prompts.

Creating text prompts with Google AI Studio and Gemini AI

Codelab

In this codelab, you will write a variety of prompts using Google AI Studio and real-world scenarios with Gemini AI. You will learn how three different text-based prompts in Google AI Studio work including freeform prompts, structured prompts and chat prompts.

Writing scripts with Gemini AI

Codelab

In this second codelab, we will write a prompt in Google AI Studio with Gemini AI and migrate it into a stand-alone script we can run in a NodeJS environment. Our script will leverage the Google Generative AI API to access the Gemini model.

What's new in Generative AI

Video Optional

Learn more about Google AI Studio and prompt engineering from our presentation on the Palm API at Google I/O 2023.