image.kagurazaka.dev/v1/watermark
Draw a line of text over an image at a corner, an edge or the center, with a size relative to the image width, a color and an opacity.
POST
https://image.kagurazaka.dev/v1/watermarkUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://image.kagurazaka.dev/v1/watermark", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"position":"bottom-right","text":"© Example","url":"https://raw.githubusercontent.com/danielgatis/rembg/main/examples/animal-1.jpg"}),
});
console.log(await res.json());Example input
{
"position": "bottom-right",
"text": "© Example",
"url": "https://raw.githubusercontent.com/danielgatis/rembg/main/examples/animal-1.jpg"
}More from x402 Image Tools
- image.kagurazaka.dev/v1/colorsThe dominant colors of an image with their share of it, and its average color, as hex and RGB, for palettes, theming and search.0.001
- image.kagurazaka.dev/v1/compressMake an image smaller in bytes: re-encode it (mozjpeg for JPEG, palette quantization for PNG) with metadata removed, optionally scaled down to a maximum width or converted, and report how much was saved.0.002
- image.kagurazaka.dev/v1/convertConvert an image at a URL to another format, with an optional quality or lossless encoding. JPEG output gets a white background where the image was transparent.0.002
- image.kagurazaka.dev/v1/cropCut a region out of an image (left, top, width, height), or, without left and top, crop it to the given size around its most interesting region (libvips attention strategy).0.002
- image.kagurazaka.dev/v1/editApply up to 10 operations in order: rotate (angle), flip, flop, grayscale, blur (sigma), sharpen, negate, trim (cut uniform borders), tint (color), modulate (brightness, saturation, hue).0.002
- image.kagurazaka.dev/v1/metadataFormat, dimensions, megapixels, bytes, channels, transparency, color space, bit depth, DPI, orientation, animation and pages, ICC profile, and EXIF camera details (make, model, date taken, exposure, aperture, ISO, focal length, GPS position) of an image at a URL.0.001
- image.kagurazaka.dev/v1/placeholderWhat a page shows while an image loads: its BlurHash, a tiny blurred WebP preview as a data URL, its average color and its dimensions.0.001
- image.kagurazaka.dev/v1/resizeResize an image at a URL to a width, a height or both, keeping the aspect ratio inside the box by default (cover, contain, inside, outside or fill), optionally converting it. Returns a signed URL of the result, valid for an hour.0.003
- image.kagurazaka.dev/v1/thumbnailA square thumbnail of an image, smart-cropped around its most interesting region, as WebP by default.0.002
