tanaike

The Thinker

Updated: GAS Library - GeminiWithFiles

GeminiWithFiles was updated to v2.0.5 v2.0.5 (March 19, 2025) A new method chat was added. Ref When this method is used, you can generate content with Gemini API through the chat. The default model was changed from models/gemini-1.5-flash-latest to models/gemini-2.0-flash. You can see the detail information here https://github.com/tanaikech/GeminiWithFiles

Create Visualized Recipe Instructions with Gemini using Google Apps Script

Gists Abstract This report presents a Google Apps Script for generating visualized cooking recipes with text and images using the Gemini API, leveraging its image generation capabilities. Introduction Recently, image generation was supported in the Gemini API using Gemini 2.0 Flash Experimental and Imagen 3. I have already reported a simple sample script for generating images using the Gemini API with Google Apps Script. Ref Google Apps Script seamlessly integrates with Google Docs, Sheets, and Slides.

Generate Images with Gemini API using Google Apps Script

Gists Description Recently, image generation was supported in the Gemini API using Gemini 2.0 Flash Experimental and Imagen 3. This report introduces simple sample scripts for generating images using the Gemini API with Google Apps Script. When images can be created using the Gemini API with Google Apps Script, Google Apps Script, which seamlessly integrates with Google Docs, Sheets, and Slides, becomes a powerful tool for creating and managing them, and the applications are infinite.

Updated: GAS Library - GeminiWithFiles

GeminiWithFiles was updated to v2.0.4 v2.0.4 (March 15, 2025) Property generationConfig was added to the method geminiWithFiles. By this, you can use all properties for generationConfig. Ref You can see the sample scripts at “Use googleSearch for grounding” and “Generate image”. You can see the detail information here https://github.com/tanaikech/GeminiWithFiles

Workaround: Smart Chips with Google Apps Script

Gists Description Now, Google Docs and Google Sheets can insert smart chips. Smart chips are very useful for easily inserting information like users, maps, files, and so on. However, unfortunately, at the current stage, smart chips cannot be directly managed using Google Apps Script. Specifically, the information within smart chips cannot be directly retrieved by Google Apps Script. Although I believe this will be resolved in a future update, there might be cases where you want to retrieve information from smart chips using Google Apps Script.