Free plan

Watermark

Put your name or logo across a picture to show it is yours
POST
/v1/images/watermark

About this tool

This tool places your text, your logo picture, or both on top of a picture, usually faint, to show who owns it. You choose where it sits, how see-through it is, and its size. The same mark is put on every picture you add. You need to type some text or add a logo picture.
For example, you add your name in a corner of your photos before you post them online.

How to use it

  1. Choose this tool.
  2. Add your pictures with Upload or drag and drop.
  3. Type the watermark text, or add a logo picture.
  4. Choose the position, size and how see-through the mark is.
  5. Press Generate, then download the pictures.

What you get back

You get new pictures with the mark on top, ready to download. Your originals are not changed.
GOOD TO KNOW
Supply watermark.text, watermarkImage, or both; both are applied.
TEST IT LIVE

Try Watermark in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Images
Plan
Free
Method
POST
Endpoint
/v1/images/watermark
Tool ID
images.watermark
Authentication
API key
Accepts
JPEG, PNG, WEBP, GIF, AVIF, TIFF +15 more
Background jobs
Yes
Usage group
Image
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/images/watermark" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'images=@photo.jpg' \
  -F 'output_bundle=zip' \
  -F 'output_format=jpeg' \
  -F 'quality=1'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.images.watermark({
    "images": 'photo.jpg',
    "output_bundle": "zip",
    "output_format": "jpeg",
    "quality": 1
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->images()->watermark([
    'images' => 'photo.jpg',
    'output_bundle' => 'zip',
    'output_format' => 'jpeg',
    'quality' => 1,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Put your name or logo across a picture to show it is yours.

Watermark accepts JPEG, PNG, WEBP, GIF, AVIF, TIFF, SVG, SVGZ, BMP, ICO, APNG, PNM and 9 more. You can send several files in one request.

Watermark is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/images/watermark with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.