Actions7
- Audio Speech (TTS) Actions
- Audio Transcription (ASR) Actions
- Chat Actions
- Embedding Actions
- Image Generation Actions
- Video Generation Actions
Image Generation → Generate
AI-generatedSummary
Generate an image from a required text prompt using a selected Zhipu image model. The node sends the request to Zhipu’s image generations endpoint and returns the API response with the first generated image URL when available.
Inputs
- Model — Image model to use; defaults to GLM-Image (Newest). Options include CogView-3, CogView-3-Flash, CogView-3-Plus, CogView-4, and CogView-4-250304.
- Prompt (required) — Text description of the image to generate.
- Quality — Optional image quality setting: HD (default) or Standard.
- Size — Optional output dimensions; defaults to 1280×1280. Available sizes include square, portrait, landscape, wide, and tall formats.
- User ID — Optional unique identifier for the end user, included in the request when provided.
Output shape
One n8n item per input item, with a JSON object containing the full API response under response and, when present, the first generated image URL under url.
The URL is omitted if the response has no URL at
data[0].url. Errors stop execution unless Continue On Fail is enabled, in which case that item contains anerrorfield.