Image Generation
text
logo

GLM-Image

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
N
Ready to generateReady to generate

API Reference

POSThttps://api.token360.ai/v1/images/generations
curl 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",
  "n": 1,
  "size": "1024x1024"
}'