ai-image-gen-mcp
🎨 AI画像生成MCPサーバー
マルチモデルAI画像生成MCPサーバー。Seedream (Doubao)、SDXL、FLUX.1 Schnell/Devをサポート。30基のRTX 4090 GPUによる高速化。
機能
10個のMCPツール: generate_image, generate_from_image, list_models, get_model_info, upscale_image, remove_background, batch_generate, get_generation_status, style_transfer, image_variation
4つのモデル: Seedream 5.0 (API), SDXL (ローカル), FLUX.1 Schnell (ローカル), FLUX.1 Dev (ローカル)
8つのアートスタイル: photorealistic, anime, oil-painting, watercolor, 3d-render, pixel-art, chinese-ink, cyberpunk
GPUアクセラレーション: ローカルモデル用に30基のRTX 4090、クラウド生成用にSeedream APIを使用
クイックスタート
# Install
pip install -r requirements.txt
# Run (stdio mode - for Claude/WorkBuddy)
python server.py
# Run (HTTP mode - for remote access)
python server.py --transport http --port 8009ツール
ツール | 説明 |
| テキストから画像を生成 |
| 画像から画像への変換 |
| 利用可能なモデルを一覧表示 |
| モデルの詳細と価格を取得 |
| 超解像アップスケーリング (2x/4x) |
| 背景削除 |
| 一度に複数の画像を生成 |
| タスクのステータスを確認 |
| アートスタイルの適用 |
| 画像のバリエーションを生成 |
モデル
モデル | プロバイダー | 速度 | 品質 | コスト |
Seedream 5.0 | Doubao API | ~17秒 | 高 | ¥0.04/画像 |
SDXL | ローカル 4090 | ~5秒 | 高 | 無料 |
FLUX.1 Schnell | ローカル 4090 | ~3秒 | 良 | 無料 |
FLUX.1 Dev | ローカル 4090 | ~15秒 | 最高 | 無料 |
環境変数
SEEDREAM_API_KEY: Seedream APIキー (デフォルト: 内蔵)SEEDREAM_BASE_URL: Seedream APIベースURLCOMFYUI_URL: ローカルComfyUIエンドポイント (デフォルト: http://localhost:8188)IMAGE_OUTPUT_DIR: 生成された画像の出力ディレクトリ
MCP設定
{
"mcpServers": {
"ai-image-gen": {
"command": "python",
"args": ["server.py"],
"cwd": "/path/to/ai-image-gen-mcp"
}
}
}オンラインアクセス(推奨)
ローカルインストール不要、MCPクライアントで直接設定:
{
"mcpServers": {
"ai-image-gen-mcp": {
"url": "http://www.mzse.com/image-gen-mcp/"
}
}
}REST API
curl http://www.mzse.com/image-gen-mcp/デプロイ状況
プロジェクト | アドレス |
ドメイン | |
GitHub |
ライセンス
MIT
This server cannot be installed
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
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/zhaohongyuziranerran/ai-image-gen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server