Skip to main content
Glama

Image Processing MCP Server

by duke0317

add_watermark

Add text or image watermarks to photos, customize position, opacity, scale, and output format for enhanced image protection and branding.

Instructions

为图片添加水印

Input Schema

NameRequiredDescriptionDefault
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
opacityNo水印不透明度,范围 0.0-1.0
output_formatNo输出格式:PNG、JPEG、WEBP 等PNG
positionNo水印位置:top-left、top-right、bottom-left、bottom-right、centerbottom-right
scaleNo水印缩放比例,1.0为原始大小
watermark_imageNo水印图片路径或base64数据,与watermark_text二选一
watermark_textNo水印文字内容,与watermark_image二选一

Input Schema (JSON Schema)

{ "properties": { "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" }, "opacity": { "default": 0.5, "description": "水印不透明度,范围 0.0-1.0", "maximum": 1, "minimum": 0, "title": "Opacity", "type": "number" }, "output_format": { "default": "PNG", "description": "输出格式:PNG、JPEG、WEBP 等", "title": "Output Format", "type": "string" }, "position": { "default": "bottom-right", "description": "水印位置:top-left、top-right、bottom-left、bottom-right、center", "title": "Position", "type": "string" }, "scale": { "default": 1, "description": "水印缩放比例,1.0为原始大小", "exclusiveMinimum": 0, "title": "Scale", "type": "number" }, "watermark_image": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "水印图片路径或base64数据,与watermark_text二选一", "title": "Watermark Image" }, "watermark_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "水印文字内容,与watermark_image二选一", "title": "Watermark Text" } }, "required": [ "image_source" ], "title": "add_watermarkArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/duke0317/ps-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server