Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FAL_KEYYesAPI key from fal.ai

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_image

Generate images from a text prompt using fal.ai.

Common models:

  • fal-ai/flux/dev (high quality, 28 steps)

  • fal-ai/flux/schnell (fast, 1-4 steps)

  • fal-ai/flux-pro/v1.1 (professional, up to 2K)

  • fal-ai/flux-general (supports LoRA, ControlNet, IP-Adapter)

  • fal-ai/recraft/v3/text-to-image (illustration style)

Returns paths to saved images and metadata.

generate_with_reference

Generate images with a style/content reference image.

Uses the reference_image feature of flux-general to guide generation toward a similar style or content as the reference.

Args: reference_image_url: URL of the reference image for style guidance. reference_strength: How strongly to follow the reference (0.0-1.0).

generate_with_lora

Generate images with a LoRA model applied.

Args: lora_url: URL to the LoRA safetensors file (e.g. from HuggingFace). lora_scale: Strength of the LoRA effect (0.0-2.0, default 1.0).

edit_image

Edit an existing image using natural language instructions (FLUX Kontext).

Pass a reference image and describe the changes you want in the prompt. Great for iterating on generated images.

Args: image_url: URL of the image to edit. prompt: Description of the desired changes.

raw_generate

Submit an arbitrary request to any fal.ai model endpoint.

Use this for advanced configurations (ControlNet, IP-Adapter, multi-LoRA, custom parameters) that aren't covered by the other tools.

Args: model: The fal.ai model endpoint ID (e.g. "fal-ai/flux-general"). body: The full JSON request body to send to the model.

list_outputs

List all images previously saved in the output directory.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/guillaumeboniface/fal-mcp'

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