GLM Image

Create high-quality images with accurate text rendering and rich knowledge details—supports editing, style transfer, and maintaining consistent characters across multiple images.

Input

Fields marked * are required. Review the price before generating.

Text prompt for image generation.

Output image size.

Number of images to generate.

Additional settings

Number of diffusion denoising steps. More steps generally produce higher quality images.

Classifier-free guidance scale. Higher values make the model follow the prompt more closely.

Random seed for reproducibility. The same seed with the same prompt will produce the same image.

Output image format.

If True, the prompt will be enhanced using an LLM for more detailed and higher quality results.

Price$0.08 / megapixel

You sign up first. Your settings are kept.

API code for this input

Complete the required fields and fix input errors to see API code.

How to use GLM Image

Getting started

Describe each text line and its position when drafting menus or information cards.

Review your result

Proofread lettering, numbers and spacing; inspect illustration details separately.

Inputs and settings

Use prompt for the scene and num_images from 1–4. This route exposes no reference-image input.

Compare num_inference_steps within 10–100 and guidance_scale within 1–10 separately. Disable enable_prompt_expansion when testing an exact brief.