Back to Browse

How to Use Gemini AI Text Generation API in Google Sheets & Google Docs

449 views
Jan 16, 2025
15:51

In this tutorial, we'll use Google AI's Gemini Text Generation API to automate the creation of Google Doc Outlines for a list of keywords from Google Sheets. Github Code: https://github.com/drewpager/automaway/blob/main/gemini-text-generation-api/gem-text-gen.gs Prerequisites: - Google Account (including Google Cloud) Reference URLs: - https://ai.google.dev/gemini-api/docs/text-generation - https://aistudio.google.com/apikey - https://console.cloud.google.com/apis/api/generativelanguage.googleapis.com - https://ai.google.dev/pricing#1_5flash Free Account Rate Limits: - 15 RPM (requests per minute) - 1 million TPM (tokens per minute) - 1,500 RPD (requests per day) Chapters 00:00 What We're Building 01:01 Project Setup 02:12 Gemini API Function 07:43 Get Keywords Function 15:13 Project Conclusion #geminiai #googleappsscript #aiautomation

Download

1 formats

Video Formats

360pmp428.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Use Gemini AI Text Generation API in Google Sheets & Google Docs | NatokHD