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 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_image | Generate image with specified prompt and optional parameters |