Image Generation MCP Server

by Ichigo3766
Verified

generate_image

Generate an image using Stable Diffusion

Input Schema

NameRequiredDescriptionDefault
batch_sizeNoNumber of images to generate (default: 1)
cfg_scaleNoCFG scale (default: 1)
distilled_cfg_scaleNoDistilled CFG scale (default: 3.5)
heightNoImage height (default: 1024)
negative_promptNoThings to exclude from the image
output_pathNoCustom output path for the generated image
promptYesThe prompt describing the desired image
restore_facesNoEnable face restoration
sampler_nameNoSampling algorithm (default: Euler)Euler
scheduler_nameNoScheduler algorithm (default: Simple)Simple
seedNoRandom seed (-1 for random)
stepsNoNumber of sampling steps (default: 4)
tilingNoGenerate tileable images
widthNoImage width (default: 1024)

Input Schema (JSON Schema)

{ "properties": { "batch_size": { "description": "Number of images to generate (default: 1)", "maximum": 4, "minimum": 1, "type": "number" }, "cfg_scale": { "description": "CFG scale (default: 1)", "maximum": 30, "minimum": 1, "type": "number" }, "distilled_cfg_scale": { "description": "Distilled CFG scale (default: 3.5)", "maximum": 30, "minimum": 1, "type": "number" }, "height": { "description": "Image height (default: 1024)", "maximum": 2048, "minimum": 512, "type": "number" }, "negative_prompt": { "description": "Things to exclude from the image", "type": "string" }, "output_path": { "description": "Custom output path for the generated image", "type": "string" }, "prompt": { "description": "The prompt describing the desired image", "type": "string" }, "restore_faces": { "description": "Enable face restoration", "type": "boolean" }, "sampler_name": { "default": "Euler", "description": "Sampling algorithm (default: Euler)", "type": "string" }, "scheduler_name": { "default": "Simple", "description": "Scheduler algorithm (default: Simple)", "type": "string" }, "seed": { "description": "Random seed (-1 for random)", "minimum": -1, "type": "number" }, "steps": { "description": "Number of sampling steps (default: 4)", "maximum": 150, "minimum": 1, "type": "number" }, "tiling": { "description": "Generate tileable images", "type": "boolean" }, "width": { "description": "Image width (default: 1024)", "maximum": 2048, "minimum": 512, "type": "number" } }, "required": [ "prompt" ], "type": "object" }
ID: o3a86vil7b