tanaike

The Thinker

Slide Puzzle in Google Sheets

Gists Abstract This report demonstrates the onSelectionChange simple trigger in Google Sheets by creating a slide puzzle. Selecting cells triggers script execution, enabling interactive gameplay. Introduction At Google Sheets, simple triggers can be used. When simple triggers are used, users can automatically run Google Apps Script based on actions in the spreadsheet. Among the simple triggers is onSelectionChange. This can automatically run a script when a cell is selected. In this report, as a simple sample script demonstrating the use of onSelectionChange, I created a slide puzzle in Google Sheets.

Generate Growing Images using Gemini API

Gists Abstract Gemini API now generates images via Flash Experimental and Imagen 3. This report introduces image evolution within conversations using Gemini API with Google Apps Script. 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 In practice, you might want to evolve the generated images within a conversation.

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.