Alpha client libraries
Stay organized with collections
Save and categorize content based on your preferences.
Alpha
This feature is
subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the
Service Specific
Terms .
Pre-GA features are available "as is" and might have limited support.
For more information, see the
launch stage descriptions .
This document provides instructions for installing and authenticating with the
Cloud Vision Alpha client libraries.
Installing the Python client library
Note: The client libraries have been updated to reflect the latest changes to
the Vision Alpha. These changes are not backward-compatible with
client libraries version older than 0.30.1. Review the latest code samples in
this document for examples of how to call the Vision Alpha using
the new client libraries.
Python
pip install https : // storage . googleapis . com / api - client - staging / vision - python - q1alpha - mar2019 . tar . gz
Authentication
To use the alpha client library, you must create and activate a service
account.
Install the Google Cloud CLI .
Create a service account .
Create a service account key and download the JSON key file.
Set the GOOGLE_APPLICATION_CREDENTIALS environment variable
to point to your service account key file. This enables your client
libraries to use Application Default Credentials (ADC).
export GOOGLE_APPLICATION_CREDENTIALS = path-to-key-file
Authenticate by running
the following command :
gcloud auth login
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-26 UTC.
[null,null,["Last updated 2026-10-26 UTC."],[],[]]