ToolBox MCP Server

by xiaoguomeiyitian
Verified

gemini_image_tool

Input Schema

NameRequiredDescriptionDefault
fileNameNoOutput file name templateimage-${year}_${month}_${day}_${hour}_${minute}_${second}.png
inputImageNoImage path (required for edit_image)
maxOutputTokensNoMaximum number of output tokens
operationYesgenerate_image: Generate new image, edit_image: Edit existing image
outputDirYesOutput directory path
promptYesPrompt for image generation/editing
temperatureNoTemperature of the model
topKNoTop K of the model
topPNoTop P of the model

Input Schema (JSON Schema)

{ "description": "Generate or edit images with Gemini", "name": "gemini_image_tool", "properties": { "fileName": { "default": "image-${year}_${month}_${day}_${hour}_${minute}_${second}.png", "description": "Output file name template", "type": "string" }, "inputImage": { "description": "Image path (required for edit_image)", "type": "string" }, "maxOutputTokens": { "default": 8192, "description": "Maximum number of output tokens", "type": "number" }, "operation": { "description": "generate_image: Generate new image, edit_image: Edit existing image", "enum": [ "generate_image", "edit_image" ], "type": "string" }, "outputDir": { "description": "Output directory path", "type": "string" }, "prompt": { "description": "Prompt for image generation/editing", "type": "string" }, "temperature": { "default": 1, "description": "Temperature of the model", "maximum": 1, "minimum": 0, "type": "number" }, "topK": { "default": 40, "description": "Top K of the model", "type": "number" }, "topP": { "default": 0.95, "description": "Top P of the model", "maximum": 1, "minimum": 0, "type": "number" } }, "required": [ "operation", "prompt", "outputDir" ], "type": "object" }