DEVELOPERS & AI AGENTS

REST API v1 & MCP Server Documentation

Automate HD photo watermark, logo, and text removal across Shopify, WooCommerce, mobile apps, and AI agent workflows.

1. REST API v1 — Remove Photo Watermarks

Authenticate with your Agency API key using X-API-Key: YOUR_API_KEY or Authorization: Bearer <token>. Accepts JPEG, PNG, or WebP photos up to 25 MB and returns sterile HD PNG, JPG, or WebP.

curl -X POST "https://puremarkai.com/api/v1/remove" \
  -H "X-API-Key: YOUR_PUREMARK_API_KEY" \
  -F "file=@product.jpg" \
  -F "detect_watermark=true" \
  -F "detect_text=true" \
  -F "detect_logos=true" \
  -F "ai_prompt=keep product emblem intact" \
  -F "output_format=png"

2. MCP Server — AI Agents (JSON-RPC 2.0)

Connect Claude, Cursor, Antigravity, or Codex directly to PureMark AI's remove_watermark tool. Add this entry to your mcp.json (requires Agency API plan):

{
  "mcpServers": {
    "puremark-ai": {
      "url": "https://puremarkai.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_PUREMARK_API_KEY"
      }
    }
  }
}

Security, Rate Limits & Response Fields

  • Zero-Trust binary signature verification (only genuine JPEG, PNG, WebP accepted; metadata stripped).
  • Standard rate limits: 30 API requests/minute per IP with automatic burst protection.
  • JSON response includes job_id, width, height, pixel_lock_pct, download_url, and image_base64 (or pass response_type=binary for raw image bytes).
  • Need your live API key? Generate a key in the PureMark AI dashboard.