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). Two models are available: gemini-2.5-flash-image (Nano Banana, fast and efficient, the default) and gemini-3-pro-image-preview (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).