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

# Multi-Image Methods

> Work with multiple images

**addWatermark**

Applies watermarks to a specific image. Watermarks are a great way to protect your images from unauthorized use and to promote your brand.

```typescript node-sdk theme={null}
addWatermark(imageID: string, body: ImageAddWatermarkParams, options?: RequestOptions): APIPromise<ImageObject>;
```

**addWatermarkOptions**

**imageID** `string` *required*

The unique identifier of the image to add a watermark to.

**body** `object` *required*

The body parameters for adding a watermark to the image.

**ImageAddWatermarkParams**

**watermarks** `array` *required*

An array of watermark objects to apply to the image

**Watermark**

**id** `string` *required*

The ID of the image to use as a watermark. Must be a valid image ID.

**height** `number`

The height of the watermark in pixels. If not provided, the watermark will be applied at its original height.

**left** `number`

The position of the watermark from the left of the image to apply the watermark. If not provided, the watermark will be applied at the left of the image.

**repetition\_mode** `string`

The repetition mode of the watermark. If not provided, the watermark will be applied once

**top** `number`

The position of the watermark from the top of the image to apply the watermark. If not provided, the watermark will be applied at the top of the image.

**width** `number`

The width of the watermark in pixels. If not provided, the watermark will be applied at its original width.

**Examples**

```typescript node-sdk theme={null}
const imageObject = await client.images.addWatermark('image_etm0g3x5iap4cld1qcfsjvo2', { watermarks: [{ id: 'id' }] });
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.