Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level | INFO |
| SERVER_PORT | No | Server port for HTTP transport | 3001 |
| DEFAULT_SIZE | No | Default image size | 1536x1024 |
| CACHE_ENABLED | No | Enable or disable caching | true |
| DEFAULT_STYLE | No | Default image style | vivid |
| OPENAI_API_KEY | Yes | Your OpenAI API key (required) | |
| RATE_LIMIT_RPM | No | Rate limit in requests per minute | 50 |
| CACHE_TTL_HOURS | No | Cache time-to-live in hours | 24 |
| DEFAULT_QUALITY | No | Default image quality setting | auto |
| MODERATION_LEVEL | No | Content moderation level | auto |
| MAX_CACHE_SIZE_MB | No | Maximum cache size in megabytes | 500 |
| STORAGE_BASE_PATH | No | Base path for image storage | ./storage |
| STORAGE_MAX_SIZE_GB | No | Maximum storage size in gigabytes | 10 |
| STORAGE_RETENTION_DAYS | No | Number of days to retain stored images | 30 |
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 |
|---|---|
No tools | |