Zhipu AI: GLM-Image
GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture. In general image generation quality, GLM‑Image aligns with mainstream latent diffusion approaches, but it shows significant advantages in text-rendering and knowledge‑intensive generation scenarios. It performs especially well in tasks requiring precise semantic understanding and complex information expression, while maintaining strong capabilities in high‑fidelity and fine‑grained detail generation. In addition to text‑to‑image generation, GLM‑Image also supports a rich set of image‑to‑image tasks including image editing, style transfer, identity‑preserving generation, and multi‑subject consistency.
- Model lab
- Zhipu AI
- Model family
- —
Model resources
Quickstart
Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to zhipuai/glm-image.
import os
import requests
base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "zhipuai/glm-image"
response = requests.post(
f"{base_url}/chat/completions",
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": model_id,
"messages": [{"role": "user", "content": "Hello!"}],
"stream": False,
},
timeout=60,
)
response.raise_for_status()
print(response.json())Use the familiar OpenAI-style chat request format to make model integration easier.
GLM-Image API Pricing
Performance
Performance trends
Availability
GLM-Image Compare models
| Model | Input price | Output price | Context window | Capabilities |
|---|---|---|---|---|
| GLM-ImageThis page | Price currently unavailable | Price currently unavailable | 10,240 | Image output |
| GPT Image 2.5 Flare | USD 4 / 1M tokens | USD 24 / 1M tokens | — | Image output |
| GPT Image 2.5 Sunburst | USD 4 / 1M tokens | USD 24 / 1M tokens | — | Image output |
| Grok Imagine Image 2.0 | — | USD 0.0416 / generation · Quality low · Resolution 1k | 8,000 | Image output |
| GPT-Image-2 | USD 4 / 1M tokens | USD 24 / 1M tokens | — | Image output |
Model specifications
- Input
- text, image
- Output
- image
- Context window
- 10,240
- Maximum output
- —
- Release date
- 2026-01-19
- Attachments
- Yes
- Reasoning
- No
- Tool calling
- No
- Temperature setting
- No
- Open weights
- Yes
Frequently asked questions
What is GLM-Image for?
GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture. In general image generation quality, GLM‑Image aligns with mainstream latent diffusion approaches, but it shows significant advantages in text-rendering and knowledge‑intensive generation scenarios. It performs especially well in tasks requiring precise semantic understanding and complex information expression, while maintaining strong capabilities in high‑fidelity and fine‑grained detail generation. In addition to text‑to‑image generation, GLM‑Image also supports a rich set of image‑to‑image tasks including image editing, style transfer, identity‑preserving generation, and multi‑subject consistency.
What inputs and outputs does GLM-Image support?
Recorded inputs: text, images; outputs: images.
How is GLM-Image priced?
This page does not list a price for this model yet.
What specifications are recorded for GLM-Image?
Current model records list Context window 10,240 tokens.
What model parameter does the Quickstart use?
The example uses zhipuai/glm-image. This value comes from the page identifier and is not confirmed as a callable Moduck public ID.
Can I call this model through the Moduck API now?
This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.
Related models
No related catalog models are recorded for this model family.