Skip to content
Toolwire

Google Gemini

Gemini models: text, vision, embeddings and token counting

AI and machine learningCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Gemini API keySecretRequired

    Where to find them

    1. At aistudio.google.com/api-keys click “Create API key” and choose (or import) a Google Cloud project.
    2. Copy the key. Without billing the free tier is used, with limits, and Google may use the content to improve its products: for customer data, enable billing on the project (paid tier).

    Get credentials (opens in a new tab)

Tools (1)

  • Google Gemini API requestGEMINI_SEND_REQUEST

    Authenticated call to the Google Gemini API (https://generativelanguage.googleapis.com/v1beta). Any endpoint of the API is allowed. Examples: POST /models/{model}:generateContent {"contents": [{"parts": [{"text": "…"}]}]}, POST /models/{model}:countTokens, POST /models/{model}:embedContent {"content": {"parts": [{"text": "…"}]}}, POST /interactions {"model": "…", "input": "…"}, GET /models (model names).

    Required scopes

    No scopes required

    Input

    Google Gemini API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.