Skip to main content
Glama

Fal.ai MCP Server

by raveenb

generate_image

Create images from text descriptions using AI models like Flux and Stable Diffusion. Specify prompts, model type, image size, and other parameters to generate custom visuals.

Instructions

Generate images from text prompts using various models (fast, uses async API)

Input Schema

NameRequiredDescriptionDefault
image_sizeNolandscape_16_9
modelNoModel to use for generationflux_schnell
negative_promptNoWhat to avoid in the image
num_imagesNo
promptYesText description of the image to generate
seedNoSeed for reproducible generation

Input Schema (JSON Schema)

{ "properties": { "image_size": { "default": "landscape_16_9", "enum": [ "square", "landscape_4_3", "landscape_16_9", "portrait_3_4", "portrait_9_16" ], "type": "string" }, "model": { "default": "flux_schnell", "description": "Model to use for generation", "enum": [ "flux_schnell", "flux_dev", "flux_pro", "sdxl", "stable_diffusion" ], "type": "string" }, "negative_prompt": { "description": "What to avoid in the image", "type": "string" }, "num_images": { "default": 1, "maximum": 4, "minimum": 1, "type": "integer" }, "prompt": { "description": "Text description of the image to generate", "type": "string" }, "seed": { "description": "Seed for reproducible generation", "type": "integer" } }, "required": [ "prompt" ], "type": "object" }

Other Tools from Fal.ai MCP 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/raveenb/fal-mcp-server'

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