Z-Image Studio
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | The host to bind the server to when running in 'serve' mode. | 0.0.0.0 |
| PORT | No | The port to bind the server to when running in 'serve' mode. | 8000 |
| ZIMAGE_BASE_URL | No | Base URL for generated links. Used to construct absolute URLs for ResourceLinks when using SSE or Streamable HTTP transports. | |
| ZIMAGE_DISABLE_MCP | No | Set to '1' to disable all MCP endpoints (default is '0'). | 0 |
| Z_IMAGE_STUDIO_DATA_DIR | No | Override the default data directory location where the database and LoRAs are stored. | |
| HSA_OVERRIDE_GFX_VERSION | No | For AMD ROCm users on Linux, manual override for gfx version (e.g., '10.3.0' for RDNA2, '11.0.0' for RDNA3) if the GPU is not officially supported. | |
| Z_IMAGE_STUDIO_OUTPUT_DIR | No | Override the default output directory location where generated images are saved. | |
| ZIMAGE_ENABLE_TORCH_COMPILE | No | Force enable torch.compile optimization (experimental). Set to '1' to enable. By default disabled for Python 3.12+ due to known compatibility issues. |
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generateA | |
| list_modelsA | List available image generation models and hardware recommendations. |
| list_historyB | List recent image generations history. |
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 3 tools
Each tool has a clearly distinct target: list_history reads past generations, list_models reads available models/hardware, and generate creates a new image. The two list_* tools differ in resource domain (history vs. models), so misselection is unlikely.
Two tools follow a clean verb_noun pattern (list_history, list_models), while generate is a bare verb without a noun object. This is a minor deviation but still readable and predictable overall.
Three tools is lean but each earns its place: generation, model discovery, and history review cover the essential loop of a focused image studio. It sits at the low end, but nothing feels redundant or missing from the core scope.
The core workflow (discover models → generate → review history) is covered, and images are returned via ResourceLink/ImageContent. However, there is no way to fetch a specific history entry, delete or prune history, or check status of a long-running generation, leaving notable gaps.