NAiOS IconNAiOS Logo
Volver al catálogo

Gemini

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.

Acciones
9
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Counts 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

  • textstringObligatorio

    Text to count tokens for

  • modelstring

    Model to use for token counting. Examples: 'gemini-1.5-flash', 'gemini-1.5-pro'

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Video (Veo)GEMINI_DOWNLOAD_VIDEOAcción

Downloads 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_uristringObligatorio

    Download URI from operation response

  • download_pathstringObligatorio

    Local file path to save the video

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Embed Content (Gemini)GEMINI_EMBED_CONTENTAcción

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

Parámetros de entrada

  • textstringObligatorio

    Text to generate embeddings for

  • modelstring

    Embedding model to use. Examples: 'text-embedding-004', 'embedding-001'

  • titlestring

    Optional title for the content (for document embeddings)

  • task_typestring

    Task type: 'RETRIEVAL_QUERY', 'RETRIEVAL_DOCUMENT', 'SEMANTIC_SIMILARITY', 'CLASSIFICATION', 'CLUSTERING'

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Content (Gemini)GEMINI_GENERATE_CONTENTAcción

Generates 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

  • modelstring

    Model to use. Examples: 'gemini-1.5-flash', 'gemini-1.5-pro', 'gemini-2.0-flash-exp'

  • top_kinteger

    Top-k sampling parameter

  • top_pnumber

    Nucleus sampling parameter (0.0 to 1.0)

  • promptstringObligatorio

    Text prompt for content generation

  • temperaturenumber

    Controls randomness (0.0 to 2.0)

  • stop_sequencesstring[]

    Sequences where generation should stop

  • safety_settingsobject[]

    Safety filter settings

  • max_output_tokensinteger

    Maximum number of tokens to generate

  • system_instructionstring

    System instruction to guide the model's behavior

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Image (Gemini 2.5 Flash)GEMINI_GENERATE_IMAGEAcción

Generates 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

  • modelstring

    Model to use. Use 'gemini-2.5-flash-image-preview' for image generation

  • top_kinteger

    Top-k sampling parameter

  • top_pnumber

    Nucleus sampling parameter (0.0 to 1.0)

  • promptstringObligatorio

    Text prompt for image generation

  • save_pathstring

    Optional local path to save the generated image

  • temperaturenumber

    Controls randomness (0.0 to 2.0)

  • safety_settingsobject[]

    Safety filter settings

  • max_output_tokensinteger

    Maximum number of tokens to generate (max 32,768)

  • system_instructionstring

    System instruction to guide image generation behavior

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Videos (Veo)GEMINI_GENERATE_VIDEOSAcción

Generates 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

  • modelstring

    Model to use. Examples: 'veo-3.0-generate-preview', 'veo-3.0-fast-generate-preview', 'veo-2.0-generate-001'

  • extrasobject

    Additional parameters passed through to API

  • promptstringObligatorio

    Text prompt for Veo video generation

  • aspect_ratiostring

    Desired aspect ratio, e.g., 16:9, 1:1, 9:16

  • negative_promptstring

    Elements to avoid in the generated video

  • person_generationstring

    allow | dont_allow (regional constraints apply)

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Videos Operation (Veo)GEMINI_GET_VIDEOS_OPERATIONAcción

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.

Parámetros de entrada

  • operation_namestringObligatorio

    Operation resource name returned by predictLongRunning

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Models (Gemini API)GEMINI_LIST_MODELSAcción

Lists 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_prefixstring

    Filter models by name prefix (client-side). Leave empty to get all models.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Wait For Video (Veo)GEMINI_WAIT_FOR_VIDEOAcción

Polls 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_sinteger
  • operation_namestringObligatorio
  • poll_interval_sinteger

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not