> ## 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.

# Transformation overlays (video tutorial)

[githublink]: https://github.com/cloudinary-community/cloudinary-examples/tree/main/examples/node-transformations-effects

## Overview

Watch this tutorial to learn how to add overlays to assets on the fly using the Node.js SDK.  See how to place the overlays and resize and adjust them to your preference.

## 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.

> **TIP**: :title=View the code

You can find the code from this tutorial in [GitHub][githublink].
## Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
### Overlay images with Cloudinary
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=04 :player=cld} | You can [add overlays](layers) on the fly with Cloudinary by including the overlay transformation parameters in the delivery URL. You can do this in the Node.js SDK for example, by adding `overlay: 'examples:cat'` to the `transformation` property when defining the URL to add an overlay of a cat image. 

### Adjust overlay size
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=1 :sec=03 :player=cld} | You can adjust the dimensions of the overlay you add, for example adding `width: 100, height: 100` to reduce the size.

### Use gravity to position the overlay
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=1 :sec=45 :player=cld} | You can also use the gravity parameter to set where to place the overlay on the image, for example setting `gravity: 'north_east'` to place the overlay in the top right corner.

## 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).

> * Learn more about adding layers to [images](layers) and [videos](video_layers).

> * Discover more transformations in the [Transformation URL API reference](transformation_reference).

> * Learn how to [personalize](ecommerce_visual_differentiators) e-commerce images and videos with layered effects.

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

  
  
  
    Transformation Basics
    Learn the basics of a transformation URL 
  

  
  
  
    Gravity Crops for Images
    Indicate which areas to keep when cropping 
  

  
  
  
    Complex Transformations
    Combine transformations to generate a 3D canvas 
  

&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;
