Gemini
geminiComprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Count Tokens (Gemini)GEMINI_COUNT_TOKENSAcciónCounts the number of tokens in text using gemini tokenization. useful for estimating costs, checking input limits, and optimizing prompts before making api calls.
GEMINI_COUNT_TOKENSAcciónCounts the number of tokens in text using gemini tokenization. useful for estimating costs, checking input limits, and optimizing prompts before making api calls.
Parámetros de entrada
textstringObligatorioText to count tokens for
modelstringModel to use for token counting. Examples: 'gemini-1.5-flash', 'gemini-1.5-pro'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Video (Veo)GEMINI_DOWNLOAD_VIDEOAcciónDownloads a generated veo video to local storage. takes the video uri from a completed operation and saves it to the specified file path.
GEMINI_DOWNLOAD_VIDEOAcciónDownloads a generated veo video to local storage. takes the video uri from a completed operation and saves it to the specified file path.
Parámetros de entrada
video_uristringObligatorioDownload URI from operation response
download_pathstringObligatorioLocal file path to save the video
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Embed Content (Gemini)GEMINI_EMBED_CONTENTAcciónGenerates text embeddings using gemini embedding models. converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.
GEMINI_EMBED_CONTENTAcciónGenerates text embeddings using gemini embedding models. converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.
Parámetros de entrada
textstringObligatorioText to generate embeddings for
modelstringEmbedding model to use. Examples: 'text-embedding-004', 'embedding-001'
titlestringOptional title for the content (for document embeddings)
task_typestringTask type: 'RETRIEVAL_QUERY', 'RETRIEVAL_DOCUMENT', 'SEMANTIC_SIMILARITY', 'CLASSIFICATION', 'CLUSTERING'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Content (Gemini)GEMINI_GENERATE_CONTENTAcciónGenerates text content from prompts using gemini models. supports various models like gemini flash and pro with configurable temperature, token limits, and safety settings for diverse text generation tasks.
GEMINI_GENERATE_CONTENTAcciónGenerates text content from prompts using gemini models. supports various models like gemini flash and pro with configurable temperature, token limits, and safety settings for diverse text generation tasks.
Parámetros de entrada
modelstringModel to use. Examples: 'gemini-1.5-flash', 'gemini-1.5-pro', 'gemini-2.0-flash-exp'
top_kintegerTop-k sampling parameter
top_pnumberNucleus sampling parameter (0.0 to 1.0)
promptstringObligatorioText prompt for content generation
temperaturenumberControls randomness (0.0 to 2.0)
stop_sequencesstring[]Sequences where generation should stop
safety_settingsobject[]Safety filter settings
max_output_tokensintegerMaximum number of tokens to generate
system_instructionstringSystem instruction to guide the model's behavior
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Image (Gemini 2.5 Flash)GEMINI_GENERATE_IMAGEAcciónGenerates images from text prompts using gemini 2.5 flash image preview model. supports creative image generation with customizable parameters like aspect ratio, safety settings, and optional file saving.
GEMINI_GENERATE_IMAGEAcciónGenerates images from text prompts using gemini 2.5 flash image preview model. supports creative image generation with customizable parameters like aspect ratio, safety settings, and optional file saving.
Parámetros de entrada
modelstringModel to use. Use 'gemini-2.5-flash-image-preview' for image generation
top_kintegerTop-k sampling parameter
top_pnumberNucleus sampling parameter (0.0 to 1.0)
promptstringObligatorioText prompt for image generation
save_pathstringOptional local path to save the generated image
temperaturenumberControls randomness (0.0 to 2.0)
safety_settingsobject[]Safety filter settings
max_output_tokensintegerMaximum number of tokens to generate (max 32,768)
system_instructionstringSystem instruction to guide image generation behavior
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Videos (Veo)GEMINI_GENERATE_VIDEOSAcciónGenerates videos from text prompts using google's veo models. creates high-quality video content with customizable aspect ratios, duration, and style controls. returns operation id for tracking progress.
GEMINI_GENERATE_VIDEOSAcciónGenerates videos from text prompts using google's veo models. creates high-quality video content with customizable aspect ratios, duration, and style controls. returns operation id for tracking progress.
Parámetros de entrada
modelstringModel to use. Examples: 'veo-3.0-generate-preview', 'veo-3.0-fast-generate-preview', 'veo-2.0-generate-001'
extrasobjectAdditional parameters passed through to API
promptstringObligatorioText prompt for Veo video generation
aspect_ratiostringDesired aspect ratio, e.g., 16:9, 1:1, 9:16
negative_promptstringElements to avoid in the generated video
person_generationstringallow | dont_allow (regional constraints apply)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Videos Operation (Veo)GEMINI_GET_VIDEOS_OPERATIONAcciónChecks the status of a veo video generation operation. use the operation name from generatevideos to track progress and get the download url when complete.
GEMINI_GET_VIDEOS_OPERATIONAcciónChecks the status of a veo video generation operation. use the operation name from generatevideos to track progress and get the download url when complete.
Parámetros de entrada
operation_namestringObligatorioOperation resource name returned by predictLongRunning
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Models (Gemini API)GEMINI_LIST_MODELSAcciónLists available gemini and veo models with their capabilities and limits. useful for discovering supported models and their features before making generation requests.
GEMINI_LIST_MODELSAcciónLists available gemini and veo models with their capabilities and limits. useful for discovering supported models and their features before making generation requests.
Parámetros de entrada
filter_prefixstringFilter models by name prefix (client-side). Leave empty to get all models.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wait For Video (Veo)GEMINI_WAIT_FOR_VIDEOAcciónPolls a veo video generation operation until completion or timeout. automatically checks status at intervals and returns the final video url when ready.
GEMINI_WAIT_FOR_VIDEOAcciónPolls a veo video generation operation until completion or timeout. automatically checks status at intervals and returns the final video url when ready.
Parámetros de entrada
timeout_sintegeroperation_namestringObligatoriopoll_interval_sinteger
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not