Skip to main content
Google Gemini
Google Gemini
30 actions · 2 auth methods
PreviewAI

Authentication

API Key

Best for quick prototyping and single-project use via Google AI Studio.Guides: Connector Profile, Link Account

OAuth 2.0

Use for applications needing user-context authorization and broader GCP permissions. Supports tuning and retriever acces…Guides: Connector Profile, Link Account
Actions
30 actions
Action
Description
Required scopes
Create Cached Content
Cache content for reuse across multiple requests
Get Cached Content
Retrieve cached content details and status
List Cached Contents
List all cached content resources
Update Cached Content
Partially update cached content properties (extend TTL) — uses PATCH, not full replace
Delete Cached Content
Delete a cached content resource
Generate Content
Generate text content from a prompt using a Gemini model
Stream Generate Content
Stream generated content in real-time using Server-Sent Events
Batch Embed Contents
Generate embeddings for multiple items in a single synchronous call
Embed Content
Generate high-quality embedding vectors for text or multimodal content using Gemini embedding models
Async Batch Embed Content
Enqueue large batches of embedding requests for cost-effective asynchronous processing
Register File
Register Google Cloud Storage objects as Gemini files without uploading
Generate Image
Generate images using Imagen 4 models (paid account required)
List Models
List all available Gemini models
Get Model
Get details about a specific Gemini model
Get Operation Status
Get status of a long-running operation (batch, video generation, etc.)
Cancel Operation
Cancel a long-running operation
List Operations
List all long-running operations
Count Tokens
Count tokens in a prompt without generating content
Generate Video
Generate videos using Veo models (paid account or quota required)
Create File Search Store
Create an empty file search store for document indexing and retrieval
List File Search Stores
List all file search stores
Get File Search Store
Get details of a specific file search store
Delete File Search Store
Delete a file search store
Import File To Search Store
Import a file from the Files API into a file search store for semantic search
List File Search Store Documents
List all documents in a file search store
Get File Search Store Document
Get details of a specific document within a file search store
Delete File Search Store Document
Delete a specific document from a file search store

Getting Started

1

Create or Select a Project

Set up a new project or select an existing one. See the Projects Guide.
2

Configure the Connector

Enable the connector and set up a connector profile in your project. See Managing Connectors.
https://stackone-logos.com/api/gemini/filled/png

Connector Profile

Google Gemini - API Key
https://stackone-logos.com/api/gemini/filled/png

Connector Profile

Google Gemini - OAuth 2.0
3

Link an Account

Connect an account using StackOne Hub or Auth Link.
https://stackone-logos.com/api/gemini/filled/png

Link Account

Google Gemini - API Key
https://stackone-logos.com/api/gemini/filled/png

Link Account

Google Gemini - OAuth 2.0
4

Use Actions

Invoke actions using one of the methods below: