{"id":"zhipu/glm-image","object":"model","type":"model","name":"GLM-Image","creator":"Zhipu AI","modality":"image","tasks":["text-to-image"],"description":"Images with accurate text and rich detail.","revision":"2026-10-05","version":null,"latest":true,"status":"preview","deprecation":null,"pricing":{"unit":"megapixel","usd":"0.068","overrides":[],"drivers":["n"]},"cover":{"poster":"https://gpdiatw6a9ifgvnx.public.blob.vercel-storage.com/media/drop/model-covers/mc-glm-image-night-swim.b157dc21.jpg","width":768,"height":1024,"alt":"A risograph poster: Night Swim, Friday 9PM, a real run on Leap"},"gallery":[{"poster":"https://gpdiatw6a9ifgvnx.public.blob.vercel-storage.com/media/drop/model-covers/mc-glm-image-noodle-sign.208c621e.jpg","width":768,"height":1024,"alt":"A late-night noodle stall's hand-painted sign, a real run on Leap"}],"first_image_free":true,"input_schema":{"type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","title":"Prompt","minLength":1,"maxLength":4000,"pattern":"\\S","x-leap-ui":{"group":"main","order":0,"widget":"textarea"}},"aspect_ratio":{"type":"string","title":"Aspect ratio","enum":["1:1","3:4","9:16","4:3","16:9"],"default":"1:1","x-leap-ui":{"group":"main","order":10,"widget":"segmented"}},"seed":{"type":"integer","title":"Seed","minimum":0,"maximum":4294967295,"x-leap-ui":{"group":"advanced","order":50,"widget":"seed","help":"The same seed and input give the same image."}},"n":{"type":"integer","title":"Images","minimum":1,"maximum":4,"default":1,"x-leap-ui":{"group":"main","order":20,"widget":"number"}},"settings":{"type":"object","title":"Model settings","additionalProperties":false,"default":{},"properties":{"num_inference_steps":{"type":"integer","title":"Num Inference Steps","minimum":10,"maximum":100,"x-leap-ui":{"group":"advanced","order":30,"widget":"number","help":"Number of diffusion denoising steps."},"default":30},"guidance_scale":{"type":"number","title":"Guidance Scale","minimum":1,"maximum":10,"x-leap-ui":{"group":"advanced","order":31,"widget":"number","help":"Classifier-free guidance scale."},"default":1.5},"enable_prompt_expansion":{"type":"boolean","title":"Enable Prompt Expansion","x-leap-ui":{"group":"advanced","order":32,"widget":"toggle","help":"If True, the prompt will be enhanced using an LLM for more detailed and higher quality results."},"default":false}}}}}}