@rishabhdugar

PDF Watermark

Add watermarks to PDFs and images — text stamps (CONFIDENTIAL, DRAFT, APPROVED), logo/image overlays, tiled or single placement, custom color/opacity/angle/font, and position presets. Powered by PDFAPIHub.

当前版本
v1.0.0
code-plugin社区source-linked

PDF Watermark — OpenClaw Plugin

Add watermarks to PDFs and images using the PDFAPIHub API. This OpenClaw plugin gives your AI agent the ability to stamp text watermarks, overlay logos, and apply quick presets for CONFIDENTIAL, DRAFT, and APPROVED documents.

What It Does

Protect and mark your documents with text or image watermarks — tiled across every page or placed at specific positions. Includes one-command presets for the most common watermark needs.

Features

  • Text Watermarks — Custom text with color, opacity, angle, and font size
  • Image/Logo Watermarks — Overlay PNG/JPG logos with transparency support
  • Tiled Mode — Repeat watermark diagonally across the entire page
  • Single Placement — Place watermark at a specific position preset
  • Position Presets — center, top-left, top-right, bottom-left, bottom-right, top-center, bottom-center
  • Quick Presets — One-command CONFIDENTIAL, DRAFT, and APPROVED stamps
  • Custom Styling — Hex color, opacity (0-1), rotation angle, font size
  • PDF & Image Support — Works with both PDF documents and image files
  • Auto-Detection — Automatically detects whether input is a PDF or image
  • Multiple Output Formats — Download URL, base64 string, or raw file

Tools

ToolDescription
watermark_documentFull-featured: custom text/image, color, opacity, angle, position, tiled mode
stamp_confidentialQuick preset: tiled "CONFIDENTIAL" watermark across every page
stamp_draftQuick preset: tiled "DRAFT" watermark across every page
stamp_approvedQuick preset: bold green "APPROVED" stamp at center
add_logo_watermarkOverlay a logo/stamp image with opacity and position control

Installation

openclaw plugins install clawhub:pdf-add-watermark

Configuration

Add your API key in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "pdf-add-watermark": {
        "enabled": true,
        "env": {
          "PDFAPIHUB_API_KEY": "your-api-key-here"
        }
      }
    }
  }
}

Get your free API key at https://pdfapihub.com.

Usage Examples

Just ask your OpenClaw agent:

  • "Add a CONFIDENTIAL watermark to this PDF"
  • "Mark this report as DRAFT"
  • "Stamp APPROVED on this contract"
  • "Add 'FOR INTERNAL USE ONLY' in red at 20% opacity across every page"
  • "Overlay our company logo at bottom-right with 15% opacity"
  • "Add © 2026 Acme Corp watermark to all pages"

Use Cases

  • Confidential Marking — Stamp internal documents before circulation
  • Draft Management — Mark documents as DRAFT during review cycles
  • Approval Workflows — Stamp APPROVED or REJECTED on reviewed documents
  • Brand Protection — Overlay company logos on photos and PDFs
  • Copyright Protection — Add © watermarks before public sharing
  • Legal Documents — Mark as COPY, ORIGINAL, or VOID
  • Photography Proofs — Watermark photo proofs before client purchase

API Documentation

Full API docs: https://pdfapihub.com/docs

License

MIT

源码与版本

源码仓库

PdfApiHub/openclaw-pdf-watermark

打开仓库

源码提交

6a9cea35e804b2f631c968c1c9a5d16360ddf439

查看提交

安装命令

openclaw plugins install clawhub:pdf-add-watermark

元数据

  • 包名: pdf-add-watermark
  • 创建时间: 2026/04/17
  • 更新时间: 2026/04/17
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.3.24-beta.2
  • 插件 API 范围: >=2026.3.24-beta.2
  • 标签: latest
  • 文件数: 7