Generate Image
Use GLM-Image series models to generate high-quality images from text prompts. Through quick and accurate understanding of user text descriptions, AI image expression becomes more precise and personalized.
post/paas/v4/images/generations
Request body
Example request
{
"model": "glm-image",
"prompt": "A cute little kitten.",
"size": "1280x1280"
}Response
Processing successful
Example response
{
"created": 1760335349
}