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サーバーです。
セットアップ
依存関係をインストール:
環境変数としてAPIキーを設定:
プロジェクトをビルド:
サーバーを実行:
使用方法
サーバーは以下のツールを提供します:
generate_image
テキストプロンプトを使用して画像を生成します。
パラメーター:
prompt(必須): 生成する画像のテキスト説明image_size(オプション): 生成する画像のサイズ ("auto", "1024x1024", "1536x1024", "1024x1536")num_images(オプション): 生成する画像の数 (1-4)quality(オプション): 生成する画像の品質 ("auto", "low", "medium", "high")background(オプション): 背景のタイプ ("auto", "transparent", "opaque")
例:
Claude Codeでの使用
Claude Codeでこのサーバーを使用するには、以下のJSONをMCP設定に追加してください:
または、開発モードで実行する場合:
環境変数
FAL_KEY: 必須。fal.ai API認証用のAPIキーOPENAI_API_KEY: 必須。BYOK (Bring Your Own Key) システム用のOpenAI APIキー