Stability AI MCP Server

stability-ai-generate-image

Generate an image of anything based on a provided prompt.

Input Schema

NameRequiredDescriptionDefault
aspectRatioNoControls the aspect ratio of the generated image.1:1
negativePromptNoA blurb of text describing what you do not wish to see in the output image. This is an advanced feature.
outputImageFileNameYesThe desired name of the output image file, no file extension. Make it descriptive but short. Lowercase, dash-separated, no special characters.
promptYesWhat you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results. To control the weight of a given word use the format (word:weight), where word is the word you'd like to control the weight of and weight is a value between 0 and 1. For example: The sky was a crisp (blue:0.3) and (green:0.8) would convey a sky that was blue and green, but more green than blue.
stylePresetNoGuides the image model towards a particular style.

Input Schema (JSON Schema)

{ "properties": { "aspectRatio": { "default": "1:1", "description": "Controls the aspect ratio of the generated image.", "enum": [ "16:9", "1:1", "21:9", "2:3", "3:2", "4:5", "5:4", "9:16", "9:21" ], "type": "string" }, "negativePrompt": { "description": "A blurb of text describing what you do not wish to see in the output image. This is an advanced feature.", "maxLength": 10000, "type": "string" }, "outputImageFileName": { "description": "The desired name of the output image file, no file extension. Make it descriptive but short. Lowercase, dash-separated, no special characters.", "type": "string" }, "prompt": { "description": "What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.\n\nTo control the weight of a given word use the format (word:weight), where word is the word you'd like to control the weight of and weight is a value between 0 and 1. For example: The sky was a crisp (blue:0.3) and (green:0.8) would convey a sky that was blue and green, but more green than blue.", "maxLength": 10000, "minLength": 1, "type": "string" }, "stylePreset": { "description": "Guides the image model towards a particular style.", "enum": [ "3d-model", "analog-film", "anime", "cinematic", "comic-book", "digital-art", "enhance", "fantasy-art", "isometric", "line-art", "low-poly", "modeling-compound", "neon-punk", "origami", "photographic", "pixel-art", "tile-texture" ], "type": "string" } }, "required": [ "prompt", "outputImageFileName" ], "type": "object" }