GLM-Image is an open-source image generation model from zai-org, published on GitHub under the Apache-2.0 license. It pairs a 9B-parameter autoregressive generator, initialized from GLM-4-9B-0414, with a 7B-parameter diffusion decoder that includes a Glyph Encoder module, which the project credits for accurate text rendering inside images. The generator first produces a compact encoding of about 256 tokens, then expands it to between 1K and 4K tokens, matching output images of 1K to 2K resolution.
One model handles text-to-image generation and image-to-image work such as editing, style transfer, identity-preserving generation for people and objects, and multi-subject consistency. Weights can be downloaded from Hugging Face and ModelScope, and the implementation is available in the transformers and diffusers libraries, installed from source.
AI and machine learning engineers use it to run, fine-tune and study image models themselves, with WeChat and Discord communities for questions.