Skip to main content
Glama

Image Processing MCP Server

by duke0317

add_shadow

Add customizable shadows to images by specifying color, offset, blur, and opacity. Transform visuals with enhanced depth and dimension using this image processing tool.

Instructions

为图片添加阴影效果

Input Schema

NameRequiredDescriptionDefault
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
output_formatNo输出格式:PNG、JPEG、WEBP 等PNG
shadow_blurNo阴影模糊半径(像素)
shadow_colorNo阴影颜色,十六进制格式如 #808080(灰色)#808080
shadow_offset_xNo阴影水平偏移(像素),正值向右,负值向左
shadow_offset_yNo阴影垂直偏移(像素),正值向下,负值向上
shadow_opacityNo阴影不透明度,范围 0.0-1.0

Input Schema (JSON Schema)

{ "properties": { "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" }, "output_format": { "default": "PNG", "description": "输出格式:PNG、JPEG、WEBP 等", "title": "Output Format", "type": "string" }, "shadow_blur": { "default": 5, "description": "阴影模糊半径(像素)", "minimum": 0, "title": "Shadow Blur", "type": "integer" }, "shadow_color": { "default": "#808080", "description": "阴影颜色,十六进制格式如 #808080(灰色)", "title": "Shadow Color", "type": "string" }, "shadow_offset_x": { "default": 5, "description": "阴影水平偏移(像素),正值向右,负值向左", "title": "Shadow Offset X", "type": "integer" }, "shadow_offset_y": { "default": 5, "description": "阴影垂直偏移(像素),正值向下,负值向上", "title": "Shadow Offset Y", "type": "integer" }, "shadow_opacity": { "default": 0.5, "description": "阴影不透明度,范围 0.0-1.0", "maximum": 1, "minimum": 0, "title": "Shadow Opacity", "type": "number" } }, "required": [ "image_source" ], "title": "add_shadowArguments", "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