Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MODEL_ID | No | Override model id | google/gemini-2.5-flash-image |
| MODEL_TITLE | No | Analytics headers for providers that require them | |
| MODEL_API_KEY | Yes | Your API key from OpenRouter or another provider that hosts the google/gemini-2.5-flash-image model | |
| MODEL_REFERER | No | Analytics headers for providers that require them | |
| MODEL_BASE_URL | No | Alternate provider endpoint | https://openrouter.ai/api/v1 |
| MODEL_GENERATE_PATH | No | Alternate generation endpoint path | /responses |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| hello | A simple hello world tool |
| generate_image | Generate single or multiple images from text prompts with style and variation options |
| edit_image | Edit an existing image based on a text prompt |
| restore_image | Restore or enhance an existing image |
| generate_icon | Generate app icons, favicons, and UI elements in multiple sizes and formats |
| generate_pattern | Generate seamless patterns and textures for backgrounds and design elements |
| generate_story | Generate a sequence of related images that tell a visual story or show a process |
| generate_diagram | Generate technical diagrams, flowcharts, and architectural mockups |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |