Skip to main content
CogView-4 is Zhipu’s first open-source text-to-image model that can render Chinese characters. It improves semantic understanding, image quality, and text rendering in both Chinese and English. It accepts Chinese and English inputs of any length and generates images at any resolution within the supported range.

Model parameters

The following Image API parameters are not supported:
  • image
  • strength
  • aspect_ratio
  • style_preset
  • response_format
  • output_format
  • mask
  • background
See also: Official CogView-4 API documentation.
For CogView-4, use size to set the output dimensions: Recommended values: 1024x1024 (default), 768x1344, 864x1152, 1344x768, 1152x864, 1440x720, and 720x1440. Custom dimensions must each be between 512 and 2048 px and divisible by 16, with no more than 2^21 pixels in total.
The response is a JSON object containing the URL of the generated image: