# Gemini

Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.

- **Category:** artificial intelligence
- **Auth:** NO_AUTH
- **Tools:** 8
- **Triggers:** 0
- **Slug:** `GEMINI`
- **Version:** 20260217_00

## Tools

### Count Tokens (Gemini)

**Slug:** `GEMINI_COUNT_TOKENS`

Counts the number of tokens in text using Gemini tokenization. Useful for estimating costs, checking input limits, and optimizing prompts before making API calls.

### Embed Content (Gemini)

**Slug:** `GEMINI_EMBED_CONTENT`

Generates text embeddings using Gemini embedding models. Converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.

### Generate Content (Gemini)

**Slug:** `GEMINI_GENERATE_CONTENT`

Generates text content or speech audio from prompts using Gemini models. Supports text generation models (Gemini Flash, Pro) and text-to-speech models with configurable parameters.

### Generate Image (Nano Banana)

**Slug:** `GEMINI_GENERATE_IMAGE`

Generates images from text prompts using Gemini models (Nano Banana). Supports models: 'gemini-2.5-flash-image' (GA stable, fast), 'gemini-3-pro-image-preview' (Nano Banana Pro - advanced with 4K resolution, thinking mode, up to 14 reference images), and 'gemini-2.0-flash-exp-image-generation' (2.0 Flash experimental). Generated images are automatically uploaded to S3 and returns a downloadable link. NOTE NEVER EVER TRUE SYNC_TO_WORKBENCH IN RUBE_MULTI_EXECUTE_TOOL

### Generate Videos (Veo)

**Slug:** `GEMINI_GENERATE_VIDEOS`

Generates videos from text prompts using Google's Veo models. Creates high-quality video content. Returns operation ID for tracking progress. After this, call GEMINI_WAIT_FOR_VIDEO to download the video using the operation ID.

### Get Videos Operation (Veo)

**Slug:** `GEMINI_GET_VIDEOS_OPERATION`

Checks the status of a Veo video generation operation. Use the operation name from GenerateVideos to track progress and get the download URL when complete.

### List Models (Gemini API)

**Slug:** `GEMINI_LIST_MODELS`

Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests.

### Wait and Download Video (Veo)

**Slug:** `GEMINI_WAIT_FOR_VIDEO`

Polls a Veo video generation operation until completion, then downloads and returns the video as a FileDownloadable with public URL.
