> ## Documentation Index
> Fetch the complete documentation index at: https://cloudinary.com/documentation/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto-tag images in Node.js (video tutorial)

## Overview

Tag assets automatically during upload by applying AI using Cloudinary and Google Auto Tagging, in Node.js.

 

## Video tutorial

  This video is brought to you by Cloudinary's video player - embed your own!Use the controls to set the playback speed, navigate to chapters of interest and select subtitles in your preferred language.

## Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
### What's auto-tagging helpful for?
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=05 :player=cld} | Auto-tagging is helpful when searching for an asset by a characteristic that's not revealed through its public ID, for example finding a picture of a flower whose public ID is nondescriptive, such as `cld_sample`. Adding tags manually is time consuming, so Cloudinary provides add-ons that use AI to tag your assets automatically.
|

### Subscribe to the Google Auto Tagging add-on
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=47 :player=cld} | Click **Add-ons** in the Console options sidebar to view the available add-ons. Select the **Google Auto Tagging** add-on, and select a plan. (You can select the **Free** plan, which allows for 50 monthly categorizations.) Agree to the terms to enable your add-on. For more information about this add-on, see [Google Auto Tagging](google_auto_tagging_addon).
 

### Apply auto-tagging when uploading 
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=1 :sec=18 :player=cld} | Within your upload function, pass this additional configuration parameter, `categorization: 'google_tagging'`, to automatically tag the asset you upload. Then, set the minimum confidence score that a detected category needs to get in order to automatically be assigned as a tag. This is done by setting the `auto_tagging` parameter to the desired minimum score. For example, `auto_tagging:0.6` will assign any detected category with a minimum confidence score of 60% as a tag. 
|

### Find the auto-tags in the upload response and Media Library
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=2 :sec=39 :player=cld} | Once you've added the tagging parameters to your upload call, your upload response will include the automatically assigned tags as an array called `tags`. In addition, the `info` field in the JSON response contains all the tags along with their associated confidence scores. View a sample response that includes tagging information [here](google_auto_tagging_addon#image_recognition_and_categorization). You can also view all the tags that were assigned to the asset in the Media Library by double-clicking the asset to open the Manage page, and then selecting the **Metadata** tab. 
|

### Search the Media Library for an asset based on its tags
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=3 :sec=43 :player=cld} | Enter the name of a tag as free text in the [Global Search](media_library_for_developers#global_search) located at the top right of the Media Library and click either your desired match or **See matching results** from the drop-down menu. The search results will include assets with that tag.
|

## Keep learning

> **READING**:
>
> * Watch more [Dev Hints videos](https://www.youtube.com/playlist?list=PL8dVGjLA2oMpaTbvoKCaRNBMQzBUIv7N8) on the [Cloudinary YouTube channel](https://www.youtube.com/cloudinary).

> * Read all about the [Google Auto Tagging](google_auto_tagging_addon) addon.

> * Find out more about searching for assets by tags and other criteria using the [Advanced](media_library_for_developers#advanced_search) and [Global](media_library_for_developers#global_search) Searches.

> * Take a look at the [User-generated content guide](user_generated_content) to see all the features you can take advantage of when uploading images and videos to display on your site.

> * Read this [blog post](https://cloudinary.com/blog/how-to-offer-e-commerce-product-recommendations-using-python-and-auto-tagging) to learn how to make product recommendations in Python using auto-tagging.

#### If you like this, you might also like...

  
  
  
    Upload Programmatically
    Use a Cloudinary SDK to upload media assets 
  

  
  
  
    Create Upload Presets (Node.js)
    Streamline media uploads using signed upload presets 
  

  
  
  
    Moderate Images with AI
    Moderate images automatically during upload in Node.js 
  

&nbsp;

&nbsp;Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
&nbsp;
