Skip to main content
Glama

Image Processing MCP Server

by duke0317

add_border

Add customizable borders to images, including width, color, style, and corner radius. Supports various output formats like PNG, JPEG, and WEBP for enhanced visual presentation.

Instructions

为图片添加边框效果

Input Schema

NameRequiredDescriptionDefault
border_colorNo边框颜色,十六进制格式如 #000000(黑色)#000000
border_styleNo边框样式:solid(实线)、dashed(虚线)、dotted(点线)solid
border_widthNo边框宽度(像素)
corner_radiusNo圆角半径(像素),0为直角
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
output_formatNo输出格式:PNG、JPEG、WEBP 等PNG

Input Schema (JSON Schema)

{ "properties": { "border_color": { "default": "#000000", "description": "边框颜色,十六进制格式如 #000000(黑色)", "title": "Border Color", "type": "string" }, "border_style": { "default": "solid", "description": "边框样式:solid(实线)、dashed(虚线)、dotted(点线)", "title": "Border Style", "type": "string" }, "border_width": { "default": 10, "description": "边框宽度(像素)", "minimum": 1, "title": "Border Width", "type": "integer" }, "corner_radius": { "default": 10, "description": "圆角半径(像素),0为直角", "minimum": 0, "title": "Corner Radius", "type": "integer" }, "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" }, "output_format": { "default": "PNG", "description": "输出格式:PNG、JPEG、WEBP 等", "title": "Output Format", "type": "string" } }, "required": [ "image_source" ], "title": "add_borderArguments", "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