Skip to main content
Glama

Imagician

by flowy11

batch_resize

Resize one image into multiple dimensions simultaneously. Specify custom widths, heights, and suffixes for each output. Save resized versions in JPEG, PNG, WebP, or AVIF formats efficiently.

Instructions

Generate multiple sizes from one image

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format for all sizes
inputPathYesPath to input image
outputDirYesDirectory to save resized images
sizesYesArray of sizes to generate

Input Schema (JSON Schema)

{ "properties": { "format": { "description": "Output format for all sizes", "enum": [ "jpeg", "jpg", "png", "webp", "avif" ], "type": "string" }, "inputPath": { "description": "Path to input image", "type": "string" }, "outputDir": { "description": "Directory to save resized images", "type": "string" }, "sizes": { "description": "Array of sizes to generate", "items": { "properties": { "height": { "description": "Height in pixels", "type": "number" }, "suffix": { "description": "Suffix to add to filename", "type": "string" }, "width": { "description": "Width in pixels", "type": "number" } }, "required": [ "width", "suffix" ], "type": "object" }, "type": "array" } }, "required": [ "inputPath", "outputDir", "sizes" ], "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/flowy11/imagician'

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