fal-ai-mcp-server
Provides access to ByteDance's Seedream V4 models for high-resolution image generation (up to 4K) and context-aware image editing.
Provides integration with OpenAI's GPT-Image models for high-fidelity image generation and editing, as well as Sora models for text-to-video and image-to-video generation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fal-ai-mcp-servergenerate an image of a peaceful mountain landscape"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fal.ai MCP Server
An MCP (Model Context Protocol) server that gives Claude access to fal.ai generative AI models — images, videos, audio, 3D models, and more.
Built with FastMCP. Works with Claude Code and Claude Desktop.
Model Catalog
Image Generation (10 models)
Short Name | Model | Description | Price |
| FLUX.1 Dev | High-quality balanced generation | ~$0.025/image |
| FLUX.1 Schnell | Fast generation (4 steps) | ~$0.003/image |
| FLUX.1 Pro v1.1 | Best quality FLUX model | ~$0.05/image |
| FLUX Kontext Max | Context-aware editing, multi-image input | ~$0.08/image |
| Recraft V4 | Typography and design-oriented | ~$0.04/image |
| Nano Banana | Ultra-fast, ultra-cheap | ~$0.001/image |
| Nano Banana 2 | Gemini 3.1 Flash — text rendering, consistency | ~$0.08/image |
| Nano Banana Pro | Gemini 3 Pro — state-of-the-art | ~$0.15/image |
| GPT-Image 1.5 | OpenAI — high-fidelity, strong prompt adherence | ~$0.13/image |
| GPT Image 2 | OpenAI — latest model, fine typography, detailed images | token-based, ~$0.10–0.30 |
| Seedream V4 | ByteDance — up to 4K resolution | ~$0.03/image |
Image Editing (4 models)
Short Name | Model | Description | Price |
| Nano Banana 2 Edit | Gemini 3.1 Flash — fast editing, text rendering | ~$0.08/edit |
| Nano Banana Pro Edit | Gemini 3 Pro — semantic editing, 14 ref images | ~$0.15/edit |
| GPT-Image 1.5 Edit | OpenAI — preserves composition and lighting | ~$0.13/edit |
| GPT Image 2 Edit | OpenAI — latest model, supports | token-based, ~$0.10–0.30 |
| Seedream V4 Edit | ByteDance — context-aware editing | ~$0.03/edit |
Video Generation (5 models)
Short Name | Model | Description | Price |
| Kling V3 Pro | High-quality text/image to video | ~$0.30/video |
| Sora 2 Text-to-Video | OpenAI Sora text-to-video | ~$0.50/video |
| Sora 2 Image-to-Video | OpenAI Sora image-to-video | ~$0.50/video |
| LTX Video V2 | Fast, affordable video | ~$0.05/video |
| Wan 2.1 | Alibaba's video model | ~$0.10/video |
Audio Generation (4 models)
Short Name | Model | Description | Price |
| Chatterbox TTS | High-quality text-to-speech | ~$0.01/gen |
| MiniMax Speech 02 HD | HD multi-voice synthesis | ~$0.02/gen |
| Beatoven Music | AI music from text | ~$0.05/gen |
| Beatoven SFX | Sound effects | ~$0.03/gen |
3D Generation (2 models)
Short Name | Model | Description | Price |
| Meshy V6 | Image to 3D model | ~$0.15/model |
| Trellis 2 | Fast image to 3D with textures | ~$0.10/model |
Utility (2 models)
Short Name | Model | Description | Price |
| Background Removal | Remove image background | ~$0.005/image |
| Aura SR Upscale | 4x image upscaling | ~$0.01/image |
Related MCP server: mcp-fal
Available Tools
Synchronous (block until result, best for fast models)
Tool | Description |
| Generate images from text prompts |
| Edit/transform existing images |
| Generate video from text and/or image |
| Text-to-speech, music, and sound effects |
| Generate 3D models from images |
| Remove image backgrounds |
| Upscale images to higher resolution |
| Run any fal.ai model with custom arguments |
| List all available models from the catalog |
Asynchronous queue API (for long-running jobs — video, 3D, large batches)
The synchronous tools block while the model runs. For models that take longer than the MCP tool-call timeout (~60 s), use the queue API instead: submit returns immediately with a request_id, then poll and fetch separately.
Tool | Description |
| Submit a job, return |
| Check status: |
| Once |
| Cancel a queued or in-progress job |
| List locally tracked jobs (most recent first) |
Utilities
Tool | Description |
| Read a local file and return |
Job metadata (request_id → model_id, media_type, prefix, status, files) is persisted in jobs.json next to server.py, so poll_job and fetch_job only need the request_id.
Example flow:
submit_job(model="kling-v3-pro", arguments={"prompt":"a fox jumping","duration":"5"}, media_type="video", prefix="fox")
→ {"request_id": "019dd...", "status": "SUBMITTED"}
poll_job("019dd...") → {"status": "IN_PROGRESS", ...}
poll_job("019dd...") → {"status": "COMPLETED"}
fetch_job("019dd...") → {"files": [{"local_path": "~/Downloads/fal-ai/videos/fox_..."}]}Installation
Prerequisites
Python 3.10+
A fal.ai account with an API key
1. Get your fal.ai API key
Go to fal.ai Dashboard > Keys and create an API key.
2. Set up the server
git clone https://github.com/Szotasz/fal-ai-mcp-server.git
cd fal-ai-mcp-server
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt3. Set your API key
export FAL_KEY="your-api-key-here"Usage with Claude Code
claude mcp add fal-ai \
-e FAL_KEY=your-api-key-here \
-- /path/to/fal-ai-mcp-server/.venv/bin/python /path/to/fal-ai-mcp-server/server.pyUsage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"fal-ai": {
"command": "/path/to/fal-ai-mcp-server/.venv/bin/python",
"args": ["/path/to/fal-ai-mcp-server/server.py"],
"env": {
"FAL_KEY": "your-api-key-here"
}
}
}
}Replace /path/to/fal-ai-mcp-server with the actual path where you cloned the repo.
Output
Generated files are automatically downloaded to ~/Downloads/fal-ai/ organized by type:
images/— generated and edited imagesvideos/— generated videosaudio/— speech, music, and sound effects3d/— 3D modelsother/— everything else
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Szotasz/fal-ai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server