Gemini logo
ConnectorGemini

Gemini integration for Claude and Codex

Create a Gemini connection, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use Gemini from Claude

Add the Gemini connection to a Space that runs Claude, then use it from every channel in that Space.

Use Gemini from Codex

Add the Gemini connection to a Space that runs Codex, then use it from every channel in that Space.

Use Gemini from Sidekick

Connect your own OpenClaw to Sidekick while Type provides the conversations, permissions, connections, skills, and automations.

Developer Tools & IT

What the Gemini connector can do

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.

One connection, many Spaces

Connect Gemini once, then decide which Spaces can use it in threads, skills, automations, and coding work.

Representative actions

  • Count Tokens (Gemini)

    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)

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

  • Generate Content (Gemini)

    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. Generated text is nested at results[i].response.data.text. Output may be wrapped in markdown fences (e.g., ```html...```) or preceded by explanatory prose; strip these before file writing or rendering.

  • Generate Image (Nano Banana)

    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). Returns one image per call; images are uploaded to S3. Parse response at data.image.s3url or the text-type entry in data.content — prefer the URL to avoid base64 blobs. Always validate s3url before treating call as successful; a 200 response may contain only text with no image. Store s3url immediately as URLs can expire. Output formats are raster only (JPG/PNG/WebP); request PNG for transparency. Concurrent usage may trigger HTTP 429/RESOURCE_EXHAUSTED — keep concurrency ≤3 and use exponential backoff (1s→2s→4s, ~5 retries). NOTE NEVER EVER TRUE SYNC_TO_WORKBENCH IN RUBE_MULTI_EXECUTE_TOOL

  • Generate Videos (Veo)

    Generates videos from text prompts using Google's Veo models. Returns an operation_name for tracking; pass it verbatim (no edits) to GEMINI_WAIT_FOR_VIDEO or GEMINI_GET_VIDEOS_OPERATION. Jobs take 30–180+ seconds; wait 10s before first poll, then poll every 10–30s (allow up to 12 min). Successful results include data.video_file.s3url — missing s3url means failure. If done=true but no video_file, check raiMediaFilteredReasons (safety block); revise prompt and regenerate. Text-only; cannot accept image inputs. Max ~3–5 concurrent jobs; 429 RESOURCE_EXHAUSTED requires exponential backoff. For retries, always start a fresh call — never reuse a failed operation_name.

Connection

API and auth details

Gemini API lets developers build with Google multimodal models for text, image, audio, video, code, structured output, function calling, grounding, embeddings, and agentic workflows. Integrations can use Google AI Studio keys, Gemini Developer API, Firebase AI Logic, or Vertex AI depending on deployment and governance needs.

FAQ

Questions people ask before connecting Gemini

Can Claude use Gemini?

Yes. Add a Gemini connection to a Space that runs Claude, then use its approved tools and data from any channel in that Space.

Can Codex work with Gemini through Type?

Yes. Add a Gemini connection to a Space that runs Codex, then use its approved tools and data from any channel in that Space.

Is this the same as a Gemini MCP server?

Not exactly. Type uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More developer tools & it connectors