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 and combine reference images using inputImagePaths. Saves the result and returns a file resource. Prompt enhancement expands these arguments into the final image prompt without seeing the conversation, filling in the details they leave open, so pass the user's intent as they gave it; anything you add is expanded too. When a guess at the image's purpose or style would likely miss what the user needs, ask them first. |
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
There is only one tool, so there is no possibility of misselection or overlapping purpose. Its description clearly delimits the single capability: generating or editing images from prompts and reference paths.
The lone name, generate_image, follows a clean verb_noun snake_case convention that matches the server's domain. With a single tool there is nothing to be inconsistent with, and the name is predictable and readable.
One tool is a thin surface for an image server; a single call can generate or edit, but there is no way to list, retrieve, or manage previously saved results. It is not a mismatch, but the surface feels minimal even for a focused generator.
Core generation and reference-image editing/combining are both covered and results are returned as file resources, so the main workflow has no dead end. Minor gaps remain: no listing or fetching of earlier outputs, no explicit variation/upscale or asset management operations.