Image Generationtext
GLM-Image
Zhipu AI high-quality image generation model
Input
Generation mode
This template only supports the following input
Text-to-image
Describe the image with text only, no reference upload required.
Size
Ready to generateAPI Reference
POSThttps://api.token360.ai/v1/images/generationscurl https://api.token360.ai/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key" \
-d '{
"model": "glm-image",
"prompt": "A cute cat sitting on a windowsill",
"size": "1024x1024"
}'