mcp-ai-image-generator
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | Your Google Gemini API key, used for Gemini image generation and Veo video generation. | |
| OPENAI_API_KEY | No | Your OpenAI API key, used for DALL-E image generation. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| configure_api_keyA | Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions. |
| configure_google_loginA | Switch to the free, unofficial "gemini-web" auth mode that uses your logged-in consumer Gemini (gemini.google.com) session instead of an API key. Supports image generation and editing (no video). Extract the cookies from your browser DevTools (Application > Cookies > gemini.google.com). Cookies are stored locally and may need re-extraction when they expire. |
| configure_modelA | Set the default Gemini model for image generation and editing. Persists across sessions. Use "quality" param to set either "high" (default) or "fast" model tier. High-quality: gemini-3.1-flash-image-preview (default). Fast/cheap: gemini-2.5-flash-image (default fast). |
| generate_imageA | Generate a new image from a text description using Gemini AI. Returns the generated image and saves it to disk. |
| edit_imageB | Edit an existing image based on text instructions. Provide the file path of the image to modify. |
| continue_editingA | Continue editing the last generated or edited image. Automatically uses the most recent image from the session. |
| generate_videoA | Generate a video from a text prompt using Gemini Veo. Supports text-to-video, image-to-video (first frame), and first+last frame interpolation. Video generation takes 1-6 minutes. Available models: veo-3.1-generate-preview (latest), veo-3-generate-preview, veo-2-generate-preview. |
| list_video_historyA | List recently generated videos with their prompts, models, and timestamps. |
| get_statusA | Check the current configuration status, active model, and last image/video information. |
| list_historyA | List recently generated and edited images with their prompts and timestamps. |
| configure_openai_api_keyA | Set or update the OpenAI API key for image generation. The key is stored locally. |
| generate_openai_imageB | Generate a new image from a text description using OpenAI DALL-E models. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |