Skip to main content
Glama

generate_ai_image

Create AI-generated images from text prompts using customizable dimensions and quality settings through the Image MCP Server.

Instructions

Generate AI images using the ai-image npm module

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe text prompt for image generation
sizeNoImage size in format WIDTHxHEIGHT (e.g., 1536x1024)1024x1024
modelNoAI model to use for generation (optional)
outputNoOutput file path (optional)
output_dirYesAbsolute path direcotry where to save the image (use current folder root by default)
qualityNoImage quality (low, medium, high, auto) - OpenAI onlyhigh
uselibincliNoUse library imports instead of CLI (default: false)

Latest Blog Posts

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/iplanwebsites/image-mcp'

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