watermark_media
Embed watermarks into images, PDFs, or videos in their original format. Submit sync or async jobs while preserving media integrity.
Instructions
Watermark an image, PDF or video in its original format. Spends credits. Supports sync and async (default); sync can return a 202 job. Scope: watermarks:embed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"media": "<media>",
"input_path": "<input_path>",
"idempotency_key": "<idempotency_key>",
"data": "<data>"
},
"name": "watermark_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| mode | No | async | |
| media | Yes | ||
| input_path | Yes | ||
| webhook_id | No | ||
| output_path | No | ||
| storage_key | No | ||
| idempotency_key | Yes | Unique stable key for this logical operation. Reuse on retry. | |
| storage_destination_id | No |