Skip to main content

Overview

Interact with Gemini with prompts or by sending images. The Gemini tool also allows you to send prompts and receive structured responses.

Key Features

  • GEMINI_INVOKE
    • Send prompts to Gemini AI
  • GEMINI_INVOKE_WITH_IMAGE
    • Send images to Gemini AI for analysis
  • GEMINI_GENERATE_IMAGE
    • Generate images from text descriptions using Gemini image generation models (Nano Banana)

Authentication

For further details, click here. If you do not have an API key, you can still run Gemini tools by using Jinba API credit. If you’d like to use your own API key, you can obtain one from the official Gemini website. Note: Treat API keys as sensitive information and never commit them to public repositories.

Example: Image Analysis and Spreadsheet Export

Example: Image Generation

GEMINI_GENERATE_IMAGE generates an image from a text description and returns a downloadable image URL (result.image_url, valid for 24 hours). Three models are available: gemini-3.1-flash-image (Nano Banana, fast and efficient, the default), gemini-2.5-flash-image (its predecessor, retiring 2026-10-02 — steps that select it keep running on it, and are priced at its rate, until that date; from then on they run on gemini-3.1-flash-image and are priced at that model’s rate) and gemini-3-pro-image (Nano Banana Pro, high-fidelity professional output). The aspect_ratio input accepts 1:1 (Square, the default), 3:4 (Portrait), 4:3 (Standard), 9:16 (Mobile Portrait), or 16:9 (Landscape).