Smart Image Generator
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Your Gemini API key from Google AI Studio | |
| IMAGE_OUTPUT_DIR | No | Absolute path to the directory where images will be saved. Defaults to ./output in the current working directory if not specified. Directory will be created automatically if it doesn't exist. | ./output |
| SKIP_PROMPT_ENHANCEMENT | No | Set to true to disable automatic prompt optimization and send your prompts directly to the image generator. Useful when you need full control over the exact prompt wording. | false |
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 |
|---|---|
| generate_imageA | Generate a new image from a text prompt or edit an existing image using inputImagePath. Saves the result and returns a file resource. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
Since there is only one tool, there is no possibility of ambiguity or misselection. The tool clearly serves as the singular entry point for image operations.
The single tool name 'generate_image' follows a clear verb_noun convention and is descriptive of its purpose. With only one tool, naming consistency is inherently perfect.
A single tool is minimal, but it effectively combines two core operations—generating from a prompt and editing an existing image—so the count feels appropriate for the focused 'Smart Image Generator' server without being excessively thin.
The tool covers the primary workflows: creating new images and editing existing ones, with saving and file return built in. Missing operations like listing or deleting generated images are not critical for this narrow server purpose, so only a minor gap exists.