Skip to main content
Glama

generate-image

Create custom images from text descriptions using AI models. Choose image size, model type, and generation parameters to produce visual content for various applications.

Instructions

Generate an image from a text prompt using a selectable text-to-image model.

Input Schema

NameRequiredDescriptionDefault
promptYesText prompt describing the image to generate
modelNoID of the text-to-image model to use (any valid fal.ai model ID)fal-ai/recraft-v3
image_sizeNoSize of the generated imagelandscape_4_3
num_imagesNoNumber of images to generate
num_inference_stepsNoNumber of inference steps
guidance_scaleNoClassifier Free Guidance scale
enable_safety_checkerNoEnable the safety checker

Input Schema (JSON Schema)

{ "properties": { "enable_safety_checker": { "default": true, "description": "Enable the safety checker", "type": "boolean" }, "guidance_scale": { "default": 3.5, "description": "Classifier Free Guidance scale", "type": "number" }, "image_size": { "default": "landscape_4_3", "description": "Size of the generated image", "enum": [ "square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9" ], "type": "string" }, "model": { "default": "fal-ai/recraft-v3", "description": "ID of the text-to-image model to use (any valid fal.ai model ID)", "type": "string" }, "num_images": { "default": 1, "description": "Number of images to generate", "type": "integer" }, "num_inference_steps": { "default": 28, "description": "Number of inference steps", "type": "integer" }, "prompt": { "description": "Text prompt describing the image to generate", "type": "string" } }, "required": [ "prompt" ], "type": "object" }

Other Tools from MCP fal.ai Image Server

Related Tools

    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/madhusudan-kulkarni/mcp-fal-ai-image'

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