# Watermark Remover (`agenscrape/watermark-remover`) Actor

Remove watermarks, logos, and text overlays from images using advanced AI. Ideal for real estate agents cleaning MLS photos, photographers removing previews, and marketers. Integrates seamlessly with n8n, Make.com, Zapier, and scrapers. Returns base64 or hosted URLs for easy automation.

- **URL**: https://apify.com/agenscrape/watermark-remover.md
- **Developed by:** [Agenscrape](https://apify.com/agenscrape) (community)
- **Categories:** AI, Automation, Integrations
- **Stats:** 73 total users, 4 monthly users, 80.0% runs succeeded, 3 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $150.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## AI Watermark Remover - Professional Photo Cleanup

Remove watermarks, logos, and text overlays from images instantly using advanced AI technology. Perfect for real estate agents, photographers, marketers, and content creators who need clean, professional photos.

### Why Use This Tool?

- **AI-Powered Precision** - Advanced machine learning removes watermarks while preserving image quality
- **Batch Processing** - Remove watermarks from multiple images in one run
- **Professional Results** - Maintains original image quality and texture
- **Multiple Input Options** - Upload via URL or base64 encoding
- **Flexible Output** - Get results as base64, hosted URL, or both
- **Real Estate Ready** - Perfect for cleaning up MLS photos, property images, and marketing materials
- **Fast Processing** - Most images processed in under 60 seconds
- **No Quality Loss** - Preserves original image resolution and details
- **Easy Integration** - Seamlessly integrates with real estate scrapers, n8n workflows, Make.com, Zapier, and custom applications

### Perfect For

#### Real Estate Professionals

- Remove watermarks from MLS listing photos
- Clean up property images from other agents
- Prepare listing photos for marketing materials
- Create watermark-free virtual tour images
- **Integrate directly into your real estate scraping workflow**

#### Photographers & Content Creators

- Remove unwanted text from stock photos
- Clean up client proofs before delivery
- Prepare images for portfolio use
- Remove date stamps from old photos

#### Marketing Teams

- Clean up competitive research images
- Prepare images for presentations
- Create marketing materials from various sources
- **Automate image cleanup in n8n, Make.com, or Zapier workflows**

#### Automation & Integration

- **Real Estate Scrapers** - Automatically clean scraped property images
- **n8n Workflows** - Add as a node in your automation workflows
- **Make.com & Zapier** - Connect via webhooks for automated processing
- **Custom Applications** - Easy API integration for any use case

### Input Options

#### Method 1: Image URL (Recommended)

Provide a direct URL to your image:

```json
{
  "inputType": "url",
  "imageUrl": "https://example.com/watermarked-image.jpg",
  "returnType": "both"
}
```

#### Method 2: Base64 String

Upload your image as a base64-encoded string:

```json
{
  "inputType": "base64",
  "imageBase64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
  "returnType": "both"
}
```

### Configuration Options

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `inputType` | Select | `url` | Choose "url" or "base64" |
| `imageUrl` | String | Sample image | Image URL (when using URL input) |
| `imageBase64` | String | - | Base64 image (when using base64 input) |
| `outputFormat` | Select | `png` | Output format: "png" or "jpeg" |
| `returnType` | Select | `both` | "base64", "url", or "both" |
| `apiKey` | String | Included | Optional: Use your own API key |

### Output Format

Each processed image returns:

```json
{
  "success": true,
  "base64": "data:image/png;base64,iVBORw0KGgoAAAA...",
  "imageUrl": "https://api.apify.com/v2/key-value-stores/.../result.png",
  "format": "png",
  "processedAt": "2025-11-20T12:34:56.789Z"
}
```

#### Return Type Options

- **both** (Default) - Returns both base64 string and hosted URL
- **base64** - Returns only base64-encoded image
- **url** - Returns only hosted image URL

### Pricing

- **Base Cost:** $0.04 per run
- **Per Image:** $0.15 per image processed

#### Cost Examples

- 1 image = $0.19 total
- 5 images = $0.79 total
- 10 images = $1.54 total
- 20 images = $3.04 total
- 100 images = $15.04 total

*Volume discounts available for high-usage customers*

### Integration Examples

#### n8n Workflow Integration

Perfect for automating watermark removal in your n8n workflows:

```javascript
// HTTP Request Node Configuration
{
  "method": "POST",
  "url": "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs",
  "authentication": "headerAuth",
  "headerParameters": {
    "Authorization": "Bearer YOUR_API_TOKEN"
  },
  "bodyParameters": {
    "inputType": "url",
    "imageUrl": "{{$json.imageUrl}}",
    "returnType": "url"
  }
}
```

#### Real Estate Scraper Integration

Automatically clean images from scraped real estate listings:

```javascript
// After scraping property images
const images = scrapedProperty.images;

for (const image of images) {
  const cleanImage = await apifyClient
    .actor('YOUR_ACTOR_ID')
    .call({
      inputType: 'url',
      imageUrl: image.url,
      returnType: 'url'
    });

  // Use cleanImage.imageUrl in your listing
  property.cleanImages.push(cleanImage.imageUrl);
}
```

#### JavaScript/Node.js API Integration

```javascript
const ApifyClient = require('apify-client');

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const input = {
  inputType: 'url',
  imageUrl: 'https://example.com/watermarked.jpg',
  returnType: 'both'
};

const run = await client.actor('YOUR_ACTOR_ID').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log('Clean image URL:', items[0].imageUrl);
console.log('Base64:', items[0].base64);
```

#### Python API Integration

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_API_TOKEN')

run_input = {
    'inputType': 'url',
    'imageUrl': 'https://example.com/watermarked.jpg',
    'returnType': 'both'
}

run = client.actor('YOUR_ACTOR_ID').call(run_input=run_input)

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(f"Clean image URL: {item['imageUrl']}")
    print(f"Format: {item['format']}")
```

#### Webhook Integration (Make.com, Zapier)

```bash
## POST to Apify API
curl -X POST https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "inputType": "url",
    "imageUrl": "https://example.com/watermarked.jpg",
    "returnType": "url"
  }'
```

#### Batch Processing Multiple Images

```javascript
const images = [
  'https://example.com/image1.jpg',
  'https://example.com/image2.jpg',
  'https://example.com/image3.jpg'
];

const results = await Promise.all(
  images.map(imageUrl =>
    client.actor('YOUR_ACTOR_ID').call({
      inputType: 'url',
      imageUrl,
      returnType: 'url'
    })
  )
);

console.log('All images processed:', results.length);
```

### Use Cases & Examples

#### Example 1: Real Estate Listing Photos

**Scenario:** Clean up watermarked MLS photos for your marketing materials

**Input:**

```json
{
  "inputType": "url",
  "imageUrl": "https://mls.example.com/property-photo-with-watermark.jpg",
  "outputFormat": "jpeg",
  "returnType": "url"
}
```

**Result:** Clean, professional property photo ready for flyers and websites

#### Example 2: Batch Process Property Photos in n8n

**Scenario:** Remove watermarks from multiple property images in an automated workflow

**n8n Workflow:**

1. **HTTP Request Node** - Scrape property images
2. **Loop Node** - Iterate through images
3. **Watermark Remover** - Clean each image
4. **Google Drive Node** - Save cleaned images
5. **Airtable Node** - Update property records

#### Example 3: Stock Photo Cleanup

**Scenario:** Remove preview watermarks from purchased stock photos

**Input:**

```json
{
  "inputType": "url",
  "imageUrl": "https://stockphoto.com/preview-watermarked.jpg",
  "outputFormat": "png",
  "returnType": "both"
}
```

### Best Practices

1. **Use High-Quality Input** - Better source images = better results
2. **Choose PNG for Quality** - Use PNG for best quality, JPEG for smaller files
3. **Test with One Image First** - Verify results before batch processing
4. **Save Hosted URLs** - Store the returned URLs for future reference
5. **Automate Workflows** - Integrate with n8n, Make.com, or Zapier for efficiency

### Common Questions

**Q: How long does processing take?**
A: Most images are processed in 30-60 seconds, depending on size and complexity.

**Q: What image formats are supported?**
A: Input: JPEG, PNG, WebP, GIF. Output: PNG or JPEG.

**Q: What's the maximum image size?**
A: Up to 10MB per image, resolution up to 4096x4096 pixels.

**Q: Can I process multiple images at once?**
A: Yes! Submit multiple images in a single run for batch processing.

**Q: How long are hosted URLs valid?**
A: Hosted URLs are permanent and can be used indefinitely.

**Q: Can I integrate this with my real estate scraper?**
A: Absolutely! This actor is designed for seamless integration with real estate scrapers, n8n workflows, and custom applications.

**Q: What if the watermark isn't fully removed?**
A: The AI is trained on various watermark types. Complex or unusual watermarks may require multiple attempts.

### Output Integration

Results can be:

- Downloaded as JSON, CSV, or Excel
- Retrieved via Apify API
- Sent to webhooks (n8n, Make.com, Zapier)
- Pushed to cloud storage (AWS S3, Google Cloud, Azure)
- Used in real estate scraping workflows
- Integrated into automation tools

### Automation Workflow Examples

#### n8n: Real Estate Image Pipeline

1. Scrape property listings → 2. Extract image URLs → 3. Remove watermarks → 4. Upload to CDN → 5. Update database

#### Make.com: Marketing Asset Cleanup

1. Watch Google Drive folder → 2. Detect new images → 3. Remove watermarks → 4. Save to output folder

#### Zapier: Content Management

1. New image in Airtable → 2. Remove watermark → 3. Update record with clean URL

### Troubleshooting

**Issue:** Image not processing

- Check that the image URL is accessible
- Verify base64 string is properly formatted
- Ensure image is under 10MB

**Issue:** Watermark partially remains

- Try a higher quality source image
- Ensure good contrast between watermark and background
- Contact support for complex cases

**Issue:** Processing timeout

- Very large images may take longer
- Try reducing image size before upload
- Check your internet connection

# Actor input Schema

## `inputType` (type: `string`):

How do you want to provide the image?

## `imageUrl` (type: `string`):

URL of the image to remove watermark from (only if Input Type is 'Image URL')

## `imageBase64` (type: `string`):

Base64 encoded image string (only if Input Type is 'Base64 String')

## `outputFormat` (type: `string`):

Image format for the result

## `returnType` (type: `string`):

How do you want to receive the result?

## Actor input object example

```json
{
  "inputType": "url",
  "imageUrl": "https://images.craigslist.org/00S0S_5mdKBmIuJWl_0jm0cT_600x450.jpg",
  "outputFormat": "png",
  "returnType": "both"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "inputType": "url",
    "imageUrl": "https://images.craigslist.org/00S0S_5mdKBmIuJWl_0jm0cT_600x450.jpg",
    "outputFormat": "png",
    "returnType": "both"
};

// Run the Actor and wait for it to finish
const run = await client.actor("agenscrape/watermark-remover").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "inputType": "url",
    "imageUrl": "https://images.craigslist.org/00S0S_5mdKBmIuJWl_0jm0cT_600x450.jpg",
    "outputFormat": "png",
    "returnType": "both",
}

# Run the Actor and wait for it to finish
run = client.actor("agenscrape/watermark-remover").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "inputType": "url",
  "imageUrl": "https://images.craigslist.org/00S0S_5mdKBmIuJWl_0jm0cT_600x450.jpg",
  "outputFormat": "png",
  "returnType": "both"
}' |
apify call agenscrape/watermark-remover --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,agenscrape/watermark-remover"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/owBwkbwc5hLkP963l/builds/tkup2fkAHki32Zfm8/openapi.json
