ai-image-gen-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🎨 AI Image Gen MCP Server
Multi-model AI image generation MCP Server. Supports Seedream (Doubao), SDXL, FLUX.1 Schnell/Dev. 30x RTX 4090 GPU accelerated.
Features
10 MCP Tools: generate_image, generate_from_image, list_models, get_model_info, upscale_image, remove_background, batch_generate, get_generation_status, style_transfer, image_variation
4 Models: Seedream 5.0 (API), SDXL (local), FLUX.1 Schnell (local), FLUX.1 Dev (local)
8 Art Styles: photorealistic, anime, oil-painting, watercolor, 3d-render, pixel-art, chinese-ink, cyberpunk
GPU Accelerated: 30x RTX 4090 for local models, Seedream API for cloud generation
Quick Start
# 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 8009Tools
Tool | Description |
| Text-to-image generation |
| Image-to-image transformation |
| List available models |
| Get model details and pricing |
| Super-resolution upscaling (2x/4x) |
| Background removal |
| Generate multiple images at once |
| Check task status |
| Apply artistic styles |
| Generate image variations |
Models
Model | Provider | Speed | Quality | Cost |
Seedream 5.0 | Doubao API | ~17s | High | ¥0.04/image |
SDXL | Local 4090 | ~5s | High | Free |
FLUX.1 Schnell | Local 4090 | ~3s | Good | Free |
FLUX.1 Dev | Local 4090 | ~15s | Best | Free |
Environment Variables
SEEDREAM_API_KEY: Seedream API key (default: built-in)SEEDREAM_BASE_URL: Seedream API base URLCOMFYUI_URL: Local ComfyUI endpoint (default: http://localhost:8188)IMAGE_OUTPUT_DIR: Output directory for generated images
MCP Config
{
"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 |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Generate images, video, audio and short films with 140+ AI models from any MCP client.
AI photo tools and 18 image models (GPT Image 2.6, Nano Banana, FLUX 3, more) over MCP. Pay per use.
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
MCP server for Flux AI image generation