Skip to main content
Glama

Image Processing MCP Server

by duke0317

save_image

Saves images to a specified path by accepting file paths or base64-encoded data. Supports multiple formats like PNG, JPEG, WEBP, BMP, and TIFF, with adjustable quality for JPEG output.

Instructions

保存图片到指定路径

Input Schema

NameRequiredDescriptionDefault
formatNo图片格式,支持 PNG、JPEG、WEBP、BMP、TIFF 等PNG
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
output_pathYes输出文件路径,包含文件名和扩展名(如 'output.png')
qualityNo图片质量,范围 1-100,仅对 JPEG 格式有效

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "PNG", "description": "图片格式,支持 PNG、JPEG、WEBP、BMP、TIFF 等", "title": "Format", "type": "string" }, "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" }, "output_path": { "description": "输出文件路径,包含文件名和扩展名(如 'output.png')", "title": "Output Path", "type": "string" }, "quality": { "default": 95, "description": "图片质量,范围 1-100,仅对 JPEG 格式有效", "maximum": 100, "minimum": 1, "title": "Quality", "type": "integer" } }, "required": [ "image_source", "output_path" ], "title": "save_imageArguments", "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