Skip to content

GLM Image

z-ai/glm-image

Z.ai's main image model since January 2026, pairing a 9B autoregressive generator with a 7B diffusion decoder. Open-weight (MIT) and aimed at accurate in-image text for posters, slides and diagrams, at 512 to 2048 px.

API
curl "$AUDIOLAB_API_URL/v1/images/generations" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Idempotency-Key: $AUDIOLAB_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-image",
  "prompt": "A mountain lake at sunrise."
}'
Input Price
$0.0128 / image
Output Price
—
Input
Text
Output
Image

Capabilities

Explore what GLM Image supports, then use the API section for a request tailored to this model.

Model Information

Provider
Z.AI
Product
Image Generation
Release Date
Jan 14, 2026
Data Policy
Not specified
Region
Singapore
Input
Text
Output
Image
Provider Documentation

Playground

Try GLM Image by Z.AI. Requests use the selected workspace’s credits and API pricing.

GLM ImageCredits —
GLM Image
This model uses a dedicated input format. Explore its API example or open the supported playground.

Providers

Compare available endpoints, pricing, and context limits for GLM Image.

ProviderContextOutputInput PriceOutput PriceEndpoint
Z.AINot specifiedImage$0.0128 / image—
glm-image

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max input bytes1024
Max images1

Provider Notes

One 1024×1024 image at the published per-image tariff, returned as base64 after validation.

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/images/generations" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Idempotency-Key: $AUDIOLAB_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-image",
  "prompt": "A mountain lake at sunrise."
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modelz-ai/glm-image — Required model identifier.
promptView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max input bytes1024
Max images1

Similar Models

Explore more image generation and compare their capabilities.

ModelContextInput PriceOutput Price
CogView 4Z.AINot specified$0.0085 / image—
Gemini Nano Banana 2.1Google GeminiNot specified$1.275 / 1M tokens$25.50 / 1M tokens
GPT Image 2.5 FlareOpenAINot specified$4.25 / 1M tokens$25.50 / 1M tokens
GPT Image 2.5 Flare (2026-09-08)OpenAINot specified$4.25 / 1M tokens$25.50 / 1M tokens
GPT Image 2.5 SunburstOpenAINot specified$4.25 / 1M tokens$25.50 / 1M tokens
GPT Image 2.5 Sunburst (2026-09-08)OpenAINot specified$4.25 / 1M tokens$25.50 / 1M tokens
View All Image Generation