JΞRSΞY API
Welcome to the JΞRSΞY API documentation. Use these services on your Discord bots, websites, and other applications.
API Version 1.0Watermark API
Adds a diagonal repeating watermark to a Discord image. The processed image is returned directly as a PNG.
POST
https://jerseygun13.xyz/watermark.php
Send an image URL and custom text to generate a watermarked image.
Request body
{
"image_url": "https://media.discordapp.net/...",
"text": "JERSEYGUN13 DESIGNS"
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| image_url | string | Yes | URL of the image to watermark. |
| text | string | Yes | Text displayed across the image. |
PowerShell example
$body = '{
"image_url":"https://media.discordapp.net/...",
"text":"JERSEYGUN13 DESIGNS"
}'
Invoke-WebRequest `
-Uri "https://jerseygun13.xyz/watermark.php" `
-Method POST `
-ContentType "application/json" `
-Body $body `
-OutFile "watermarked.png"
Response
Content-Type: image/png [PNG IMAGE DATA]
Errors
The API returns JSON error responses when a request cannot be processed.
Example
{
"success": false,
"error": "Missing image_url."
}
Common errors
| Error | Meaning |
|---|---|
| Invalid JSON. | The request body was not valid JSON. |
| Missing image_url. | No image URL was provided. |
| Missing watermark text. | No watermark text was provided. |
| Unable to download image. | The API could not access the supplied image. |
| Unsupported or invalid image. | The supplied file could not be processed as an image. |