Skip to main content
Glama

OpenRouter Image MCP Server

by WeiYu021

edit_image

Modify existing images using text prompts and optional reference images. Change specific elements, apply styles, or adjust composition while maintaining the original file structure.

Instructions

Edit a SPECIFIC existing image file, optionally using additional reference images. Use this when you have the exact file path of an image to modify.

Input Schema

NameRequiredDescriptionDefault
aspectRatioNoOptional aspect ratio for the edited image. Default is 1:1 (1024×1024).
imagePathYesFull file path to the main image file to edit
promptYesText describing the modifications to make to the existing image
referenceImagesNoOptional array of file paths to additional reference images to use during editing (e.g., for style transfer, adding elements, etc.)

Input Schema (JSON Schema)

{ "properties": { "aspectRatio": { "description": "Optional aspect ratio for the edited image. Default is 1:1 (1024×1024).", "enum": [ "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9" ], "type": "string" }, "imagePath": { "description": "Full file path to the main image file to edit", "type": "string" }, "prompt": { "description": "Text describing the modifications to make to the existing image", "type": "string" }, "referenceImages": { "description": "Optional array of file paths to additional reference images to use during editing (e.g., for style transfer, adding elements, etc.)", "items": { "type": "string" }, "type": "array" } }, "required": [ "imagePath", "prompt" ], "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/WeiYu021/openrouter-image-MCP'

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