Gemini
Overview
SLUG: GEMINI
Description
Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation, chat completions, and multimodal AI capabilities via the Google Gemini API.
Authentication Details
API Key
Connecting to Gemini
Create an auth config
Use the dashboard to create an auth config for the Gemini toolkit. This allows you to connect multiple Gemini accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Gemini Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Gemini toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
GEMINI_COUNT_TOKENS
Tool Name: Count Tokens (Gemini)
Description
Action Parameters
Action Response
GEMINI_DOWNLOAD_VIDEO
Tool Name: Download Video (Veo)
Description
Action Parameters
Action Response
GEMINI_EMBED_CONTENT
Tool Name: Embed Content (Gemini)
Description
Action Parameters
Action Response
GEMINI_GENERATE_CONTENT
Tool Name: Generate Content (Gemini)
Description
Action Parameters
Action Response
GEMINI_GENERATE_IMAGE
Tool Name: Generate Image (Gemini 2.5 Flash)
Description
Action Parameters
Action Response
GEMINI_GENERATE_VIDEOS
Tool Name: Generate Videos (Veo)
Description
Action Parameters
Action Response
GEMINI_GET_VIDEOS_OPERATION
Tool Name: Get Videos Operation (Veo)
Description
Action Parameters
Action Response
GEMINI_LIST_MODELS
Tool Name: List Models (Gemini API)
Description
Action Parameters
Action Response
GEMINI_WAIT_FOR_VIDEO
Tool Name: Wait For Video (Veo)
Description
Action Parameters
Action Response