2 credits per call
Watermark Removal API
Detect and erase watermarks from images in a single request. Generative inpainting reconstructs the pixels behind the mark, and this is the one endpoint that also accepts a batch of images.
- REST · JSON
- No watermark
- Nothing stored
POST /v1/remove-watermark
What is the Watermark Removal API?
The ImgGen AI watermark removal API is a REST endpoint that finds a watermark in an image and reconstructs the content underneath it. Detection is automatic, so no mask is required, and generative inpainting fills the cleared region to match its surroundings rather than blurring it. The cleaned image is returned in the same response.
It is one of seven endpoints in the ImgGen AI image editing API, all of which share a single API key, a single base URL, and the same request and response shape. If you also need this capability in a browser rather than from code, the same AI model powers the Watermark Remover tool.
Request parameters
Send a POST request to https://app.imggen.ai/v1/remove-watermark, authenticated with an API key in the Authorization header.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| image | file | REQUIRED | — | Batch form. Send multiple files under image[] to process them in one request; the response returns an images array plus failedImages for any that could not be processed. |
| image[] | file[] | optional | — | Batch form. Send multiple files under image[] to process them in one request; the response returns an images array plus failedImages for any that could not be processed. |
How do I integrate the watermark removal API?
Create an API key in your ImgGen account, set it as an environment variable, and call the endpoint. Here is the same request in cURL, Node.js and Python.
curl --request POST \
--url 'https://app.imggen.ai/v1/remove-watermark' \
--header 'Authorization: Bearer sk_live_YOUR_API_KEY' \
--form image=@/path/to/photo.jpgimport fs from 'node:fs';
const form = new FormData();
form.append('image', new Blob([fs.readFileSync('photo.jpg')]), 'photo.jpg');
const res = await fetch('https://app.imggen.ai/v1/remove-watermark', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.IMGGEN_API_KEY}` },
body: form,
});
const data = await res.json();
// data.image is a base64-encoded PNG
fs.writeFileSync('result.png', Buffer.from(data.image, 'base64'));import base64, os, requests
with open("photo.jpg", "rb") as f:
res = requests.post(
"https://app.imggen.ai/v1/remove-watermark",
headers={"Authorization": f"Bearer {os.environ['IMGGEN_API_KEY']}"},
files={"image": f},
)
data = res.json()
with open("result.png", "wb") as out:
out.write(base64.b64decode(data["image"]))Response
A successful call returns JSON. The result is base64-encoded — decode it before writing to disk or object storage. Every successful response also carries an X-Credit-Remaining header with your balance after the call.
{
"success": true,
"message": "Watermark removed successfully",
"image": "iVBORw0KGgoAAAANSUhEUgAA...SUVORK5CYII="
}Limits and behaviour worth knowing
The endpoint accepts JPEG (JPG), PNG and WebP with a 25 MB maximum file size, and responds synchronously within 60 seconds — there is no job to poll and no webhook to configure.
Batch uploads
This is the only ImgGen endpoint that accepts a batch. Post several files under image[] and the response carries an images array alongside failedImages listing anything that did not process.
Automatic detection
There is no mask, box, or brush parameter. The model locates the watermark itself, so a single request shape works across very different source images.
Only edit what you own
Removing a watermark from an image you do not own or hold a licence to edit may infringe copyright. Use this endpoint on your own assets, or on images you have the right to modify.
What is the watermark removal API used for?
Where teams put this endpoint into production to process images programmatically, at scale.
Reclaiming your own archive
Strip a legacy studio watermark from thousands of your own images when your branding changes, without reprocessing the originals by hand.
Licensed stock workflows
Clean preview-marked assets you have licensed, as part of an automated pipeline that publishes to your CMS.
Photography delivery
Remove proofing marks from images once a client has paid, driven directly by your order system.
Template production
Clear overlaid marks from source material you own before it is composited into a template or mockup.
How much does the watermark removal API cost?
Each successful call costs 2 credits, so your effective cost per image follows whichever plan you are on. Credits come from your plan and are shared across every endpoint and the web editor, so you are not buying a separate quota per tool. A call that fails is refunded automatically. See the full pricing page for details.
| Plan | Price | Credits | API |
|---|---|---|---|
| Free | $0 | 50 one-time free credits | No API access |
| Starter | $9.99 / month | 400 credits / month | API access included |
| Pro | $29.99 / month | 1,400 credits / month | API access + priority support |
| Enterprise | Custom | Custom volume | Dedicated infrastructure |
Credit costs and limits last verified 2026-08-27.
Related endpoints and tools
Teams using the watermark removal API usually reach for these next.
Also available: Image Upscaling, Photo Restoration, Photo Colorization, Image Generation.
Watermark Removal API FAQ
- It is an HTTP endpoint that takes an image containing a watermark and returns the same image with the mark removed and the area behind it reconstructed. Because detection is automatic, you do not have to tell it where the watermark is — which is what makes it usable in an unattended batch job.
- Yes. Watermark removal is the one ImgGen endpoint with batch support: send your files under image[] instead of image and the response returns an images array plus a failedImages array for anything that could not be processed. Every other endpoint takes a single image per request.
- Two credits per successful image, including each image in a batch. Starter includes 400 credits a month at $9.99, Pro includes 1,400 at $29.99, and unused credits roll over while your subscription is active.
- You can remove watermarks free of charge in the ImgGen web tool using your 50 starter credits, with no credit card. The API itself is part of the paid Starter and Pro plans. Free watermark removal APIs generally exist as trials or heavily rate-limited demos rather than something you can build a product on.
- General-purpose assistants can sometimes edit an image, but they are not built for this: they do not detect the mark reliably, they often re-render the whole image rather than reconstructing just the affected region, and there is no stable request shape to automate against. A dedicated inpainting endpoint gives you consistent output and a contract you can build on.
- It depends entirely on who owns the image. Removing a watermark from your own photographs, or from assets you have licensed with the right to edit, is fine. Removing one from someone else’s copyrighted work in order to use it without permission is not, and this endpoint is not intended for that.
- The API accepts JPEG (JPG), PNG and WebP files up to 25 MB per image. Results are returned as a base64-encoded image in the JSON response.
- No. The API is stateless: it does not create a project, save a file, or keep your image. Your upload is written to a temporary object, processed, and deleted as soon as the response is returned. The only thing retained is a usage log recording that a call happened and how many credits it cost. Your images are never used to train models.
- Not through the API. Video watermark removal is available as a web tool at imggen.ai, but there is no video endpoint in the API — every /v1 route processes single images.
Get started
Start calling the Watermark Removal API
One key unlocks all seven endpoints. No watermark, full commercial rights, and nothing you send is stored after the response is returned.
Get your API key