glm-image-gen

Generate images from text prompts via the GLM-Image API.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/ViewWay/openclaw-skills --skill glm-image-gen-viewway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glm-image-gen
Source: https://github.com/ViewWay/openclaw-skills/tree/main/glm-image-gen
Command: npx skills add https://github.com/ViewWay/openclaw-skills --skill glm-image-gen-viewway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables users to generate professional visuals by turning text prompts into high-quality images via the ZhiPu GLM-Image API. It supports scientific illustrations, portraits, social media graphics, and posters, with multiple aspect ratios and watermark controls.

Core Features & Use Cases

  • HD-quality image generation with flexible aspect ratios
  • Watermark control and content-safety features
  • Practical use cases include AI artwork, marketing visuals, concept art, and educational illustrations.

Quick Start

Invoke the glm-image-gen CLI to generate an image from a prompt like "a futuristic city skyline at dusk" using default HD quality.

Frequently Asked Questions about glm-image-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate high-quality images from text prompts via an API?

To generate images from text prompts via an API, you provide a descriptive text string to the GLM-Image API. It processes your input and returns high-quality visuals suitable for scientific illustrations, portraits, or posters.

What do I need to use the GLM-Image API for image generation?

You need a valid ZHIPU_API key to use the GLM-Image API for image generation. The CLI enforces model, size, and safety validations, requiring this key to authenticate your requests and generate visuals.

Can I control aspect ratios and watermarks when generating images from text?

You can control aspect ratios and watermarks when generating images from text. The generation process supports multiple aspect ratios for various graphics and includes options to apply watermarks for content protection.

What is the best way to create AI artwork and marketing visuals from text descriptions?

The best way to create AI artwork and marketing visuals from text descriptions is using a CLI that interfaces with the GLM-Image API. It handles content-safety validations and outputs HD-quality graphics.

Why does text prompt image generation enforce content-safety validations?

Text prompt image generation enforces content-safety validations to ensure generated visuals comply with platform policies. The CLI checks prompts against safety rules before processing requests through the API.

Does the image generation CLI support scientific illustrations and social media graphics?

The image generation CLI supports scientific illustrations and social media graphics. It translates text prompts into high-quality images across multiple aspect ratios, accommodating diverse design and creative needs.