Skip to content
Maua.Culturewire

Google Cloud Vision

Image analysis: labels, OCR, faces, logos and content

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

    • Google Cloud API keySecretRequired

    Where to find them

    1. In Google Cloud Console, enable the “Cloud Vision API” in your project (it requires billing; the first 1,000 units per month are free).
    2. Under “APIs & Services” → “Credentials”, create an API key and, preferably, restrict it to Cloud Vision.
    3. Copy it.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Google Cloud Vision, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In Google Cloud Console (console.cloud.google.com):
    2. Create or pick a project and, under “APIs & Services → Library”, enable the APIs of the services you will connect.
    3. Configure the “OAuth consent screen”.
    4. Under “Credentials → Create credentials → OAuth client ID” choose “Web application” and add the redirect URI shown below to “Authorized redirect URIs”.
    5. Copy the client ID and secret. These steps are only needed for your own OAuth app: when this deployment has a managed Google app, Continue connects without them.

    Default scopes

    • https://www.googleapis.com/auth/cloud-vision

Tools (1)

  • Google Cloud Vision API requestGOOGLECLOUDVISION_SEND_REQUEST

    Authenticated call to the Google Cloud Vision API (https://vision.googleapis.com/v1). Any endpoint of the API is allowed. Examples: POST /images:annotate {"requests": [{"image": {"source": {"imageUri": "https://…/photo.jpg"}}, "features": [{"type": "LABEL_DETECTION", "maxResults": 10}, {"type": "TEXT_DETECTION"}]}]}, POST /files:annotate (PDF and TIFF), POST /images:annotate with DOCUMENT_TEXT_DETECTION (document OCR).

    Required scopes

    No scopes required

    Input

    Google Cloud Vision 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.