namastetools/ai-pdf-watermark-remover

AI PDF Watermark Remover

Remove watermarks from PDF files using AI technology.

Inference
Commercial use
Partner

Table of contents

About

Remove watermarks from PDF files using AI technology.

1. Calling the API

Setup your API Key

Set NAMASTE_KEY as an environment variable in your runtime.

export NAMASTE_KEY="YOUR_API_KEY"

Submit a request

Make a POST request to the API endpoint with your file and parameters.

HTTP (cURL)

curl -X POST "https://www.namaste.tools/api/models/ai-pdf-watermark-remover" \
  -H "Authorization: Key YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{\n  "pdf_url": "https://example.com/file.pdf"\n}'

2. Authentication

The API uses an API Key for authentication. Include your API key in the Authorization header of all requests.

API Key

Include your API key in the Authorization header using Bearer token format.

Authorization: Key YOUR_API_KEY

3. Queue

The API uses an asynchronous queue system for processing requests.

Submit a request

Submit your request to the queue and receive a request ID for tracking.

{
  "pdf_url": "https://example.com/file.pdf"
}

Fetch request status

Check the status of your request using the request ID.

GET /api/models/ai-pdf-watermark-remover/requests/{request_id}/status

Get the result

Retrieve the processed result once the request is completed.

GET /api/models/ai-pdf-watermark-remover/requests/{request_id}

4. Files

Different ways to provide files to the API.

Hosted files (URL)

Provide URLs to publicly accessible files. The API requires publicly accessible file URIs that can be downloaded without authentication.

{
  "pdf_url": "https://example.com/file.pdf"
}

Uploading files

Upload your files to any cloud storage provider (AWS S3, Google Cloud Storage, Azure Blob, etc.) and then use the public URL in your API request. The API accepts publicly accessible URLs only.

Step 1: Upload to Cloud Storage

Upload your image to any cloud provider and get a publicly accessible URL.

Supported cloud providers: AWS S3, Google Cloud Storage, Azure Blob Storage, Cloudinary, Imgur, or any service that provides publicly accessible URLs.

Step 2: Use the URL in API Request

{
  "pdf_url": "https://example.com/file.pdf"
}

5. Schema

Input

The API accepts the following input parameters:

pdf_urlstringrequired
URL of the PDF file with watermark to remove (max 25 pages)
Format: uri

Output

The API returns the following output format:

imageobjectrequired
Processed image result

Additional Information

Additional information about the API.

Supported Formats

.PDF

API Limits

Processing timeout:30 seconds
Rate limit:100 requests/minute
Concurrent requests:5 per account

Error Responses

400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
402Payment Required - Insufficient credits
429Too Many Requests - Rate limit exceeded
500Internal Server Error

Ready to get started?

Start using our API to integrate AI PDF Watermark Remover into your applications today.