MCP Flux Studio

generate

Generate an image from a text prompt

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNoAspect ratio of the output image
heightNoImage height (ignored if aspect-ratio is set)
modelNoModel to use for generationflux.1.1-pro
outputNoOutput filenamegenerated.jpg
promptYesText prompt for image generation
widthNoImage width (ignored if aspect-ratio is set)

Input Schema (JSON Schema)

{ "properties": { "aspect_ratio": { "description": "Aspect ratio of the output image", "enum": [ "1:1", "4:3", "3:4", "16:9", "9:16" ], "type": "string" }, "height": { "description": "Image height (ignored if aspect-ratio is set)", "type": "number" }, "model": { "default": "flux.1.1-pro", "description": "Model to use for generation", "enum": [ "flux.1.1-pro", "flux.1-pro", "flux.1-dev", "flux.1.1-ultra" ], "type": "string" }, "output": { "default": "generated.jpg", "description": "Output filename", "type": "string" }, "prompt": { "description": "Text prompt for image generation", "type": "string" }, "width": { "description": "Image width (ignored if aspect-ratio is set)", "type": "number" } }, "required": [ "prompt" ], "type": "object" }

Other Tools