Python Client for Cloud AutoML

imageimageimage

Cloud AutoML:AutoML API Python Client is now available in Vertex AI. Please visitVertex SDK for Pythonfor the new Python Vertex AI client. Vertex AI is our next generation AI Platform, with many new features that are unavailable in the current platform.Migrate your resources to Vertex AI to get the latest machine learning features, simplify end-to-end journeys, and productionize models with MLOps. TheCloud AutoML API is a suite of machine learning products that enables developers with limited machine learning expertise to train high-quality models specific to their business needs, by leveraging Google’s state-of-the-art transfer learning, and Neural Architecture Search technology.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Cloud AutoML.

  4. Setup Authentication.

Installation

Install this library in a virtual environment usingvenv.venv is a tool thatcreates isolated Python environments. These isolated environments can have separateversions of Python packages, which allows you to isolate one project’s dependenciesfrom the dependencies of other projects.

Withvenv, it’s possible to install this library without needing systeminstall permissions, and without clashing with the installed systemdependencies.

Code samples and snippets

Code samples and snippets live in thesamples/ folder.

Supported Python Versions

Our client libraries are compatible with all currentactive andmaintenance versions ofPython.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using anend-of-lifeversion of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

python3 -m venv <your-env>source <your-env>/bin/activatepip install google-cloud-automl

Windows

py -m venv <your-env>.\<your-env>\Scripts\activatepip install google-cloud-automl

Next Steps

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.