59trust / 100

Image Watermark

by AgentUtility.ai in Documents & files

x402 APIFailing, checked 4 h ago

Image watermark / add text or logo watermark to image files. Also supports PDFs and videos through the same CloudConvert-backed watermark handler. Configurable opacity, position, rotation, font, and margin.

POST https://x402.agentutility.ai/image-watermark

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
25.0%
Response time
127 ms typical, 127 ms slowest 5%
Last check
4 h ago: Timed out
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.agentutility.ai/image-watermark" \
  -H "content-type: application/json" \
  -d '{"file_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf","opacity":40,"text":"DRAFT"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.agentutility.ai%2Fimage-watermark
const res = await pay("https://x402.agentutility.ai/image-watermark", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"file_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf","opacity":40,"text":"DRAFT"}),
});
console.log(await res.json());

Example input

{
  "file_url": "https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf",
  "opacity": 40,
  "text": "DRAFT"
}

Example output

{
  "input_format": "pdf",
  "output_url": "https://...pdf",
  "watermark_type": "text"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoTimed out---
6 h agoTimed out---
9 h agoTimed out---
14 h agoPassed402127 ms$0.02