Fal.ai OpenAI Image MCP Server
Provides tools to generate images from text prompts using OpenAI's image generation technology via the fal.ai platform, with support for customizing image size, quantity, quality, and background transparency.
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 OpenAI Image MCP ServerGenerate a high-quality image of a serene cyberpunk cityscape at sunset"
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 OpenAI Image MCPサーバー
fal.aiのGPT image-1 text-to-image APIを使用して画像を生成するFastMCPサーバーです。
セットアップ
依存関係をインストール:
npm install環境変数としてAPIキーを設定:
export FAL_KEY="your_fal_api_key_here"
export OPENAI_API_KEY="your_openai_api_key_here"プロジェクトをビルド:
npm run buildサーバーを実行:
npm startRelated MCP server: SeedDream 4.0 FAL MCP Server
使用方法
サーバーは以下のツールを提供します:
generate_image
テキストプロンプトを使用して画像を生成します。
パラメーター:
prompt(必須): 生成する画像のテキスト説明image_size(オプション): 生成する画像のサイズ ("auto", "1024x1024", "1536x1024", "1024x1536")num_images(オプション): 生成する画像の数 (1-4)quality(オプション): 生成する画像の品質 ("auto", "low", "medium", "high")background(オプション): 背景のタイプ ("auto", "transparent", "opaque")
例:
{
"prompt": "夕暮れの静謐なサイバーパンク都市風景",
"image_size": "1024x1024",
"num_images": 1,
"quality": "high"
}Claude Codeでの使用
Claude Codeでこのサーバーを使用するには、以下のJSONをMCP設定に追加してください:
{
"mcpServers": {
"fal-openai-image": {
"command": "node",
"args": ["/path/to/fal_openai_image1/dist/index.js"],
"env": {
"FAL_KEY": "your_fal_api_key_here",
"OPENAI_API_KEY": "your_openai_api_key_here"
}
}
}
}または、開発モードで実行する場合:
{
"mcpServers": {
"fal-openai-image": {
"command": "npm",
"args": ["run", "dev"],
"cwd": "/path/to/fal_openai_image1",
"env": {
"FAL_KEY": "your_fal_api_key_here",
"OPENAI_API_KEY": "your_openai_api_key_here"
}
}
}
}環境変数
FAL_KEY: 必須。fal.ai API認証用のAPIキーOPENAI_API_KEY: 必須。BYOK (Bring Your Own Key) システム用のOpenAI APIキー
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables AI-powered image generation from text prompts using fal.ai models directly within IDEs. Supports multiple models, customizable parameters, and saves generated images locally with accessible file paths.1382MIT
- Alicense-quality-maintenanceProvides AI image generation capabilities using Bytedance's SeedDream 4.0 model via FAL AI, supporting text-to-image generation with flexible sizing up to 4096x4096 pixels, batch generation, and customizable safety filtering.12
- Alicense-quality-maintenanceEnables high-quality AI image generation using the fal-ai/hidream-i1-full model with support for synchronous, streaming, and queue-based generation, custom image sizing, LoRA weights, and automatic local image downloads.
- Alicense-quality-maintenanceEnables high-quality AI image generation using MiniMax (Hailuo AI) text-to-image technology through fal.ai, supporting multiple aspect ratios, prompt optimization, and both synchronous and queue-based generation with automatic local image downloads.
Related MCP Connectors
Generate images, video, and audio with Glif's media-generation agent
Generate logos, social posts, app screenshots, comic panels & visual-novel assets from prompts.
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/htakeda777/fal_openai_image1'
If you have feedback or need assistance with the MCP directory API, please join our Discord server