ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified ai models Safety 4/5

zhipu-image-gen

AI text-to-image generation using Zhipu AI's GLM-Image model. Use when the user requests image generation, creating images from text descriptions, or mentions "文生图", "生成图片", "画图". Supports various image sizes and Chinese/English prompts.

Why use this skill?

Integrate Zhipu AI's GLM-Image model into OpenClaw. Generate professional images from text prompts with this simple, command-line enabled AI skill.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/codeteenager/zhipu-image-gen
Or

What This Skill Does

The zhipu-image-gen skill is a powerful extension for the OpenClaw agent, providing seamless integration with Zhipu AI's advanced GLM-Image model. This skill allows users to generate high-quality, professional-grade images directly from their terminal or within the OpenClaw environment using natural language descriptions. Whether you need photorealistic imagery, artistic illustrations, or conceptual designs, this tool leverages state-of-the-art generative AI to interpret Chinese and English prompts with high precision. By automating the interaction with the GLM-Image API, this skill streamlines the creative process, allowing users to move from abstract ideas to tangible visual assets in seconds.

Installation

To begin using this skill, ensure you have the OpenClaw CLI configured on your workstation. Run the following command in your terminal to install the skill:

clawhub install openclaw/skills/skills/codeteenager/zhipu-image-gen

Once installed, navigate to the skill directory at ~/.openclaw/workspace/skills/zhipu-image-gen/. You must configure your API credentials by either setting a system environment variable ZHIPU_API_KEY or by creating a .env file using the provided .env.example template. Obtaining an API key is simple: register for an account at the Zhipu AI Open Platform, navigate to your console, and generate a new key under the API Management section.

Use Cases

  • Rapid Prototyping: Designers can generate quick visual concepts for UI/UX elements, website banners, or product mockups using text descriptions.
  • Content Creation: Social media managers can generate unique, copyright-free images for blog posts, tweets, or professional presentations.
  • Creative Brainstorming: Writers and artists can use the tool to visualize scenes or characters, providing immediate inspiration based on detailed textual prompts.
  • Automation Workflows: Integrate image generation into larger automated pipelines, such as automatically generating documentation diagrams or customized image reports.

Example Prompts

  1. "生成一张未来城市风格的桌面背景,包含霓虹灯和飞行汽车,尺寸设为1280x1280。"
  2. "Please create an image of a serene mountain lake at sunrise with reflections, high detail."
  3. "画一张极简主义风格的咖啡杯图标,放在桌面上。"

Tips & Limitations

  • Prompt Engineering: The quality of your image is directly proportional to the detail provided in your prompt. Include lighting, artistic style, and composition details to get the best results.
  • Cost Awareness: Be mindful that this skill calls an external API, which operates on a pay-per-use model. Monitor your usage in the Zhipu AI developer console.
  • File Management: All generated images are saved in PNG format with a timestamped filename for easy sorting. You can use the -o parameter to direct output to specific directories, keeping your workspace organized.
  • Performance: Ensure you have a stable internet connection, as the image generation depends on real-time communication with Zhipu's cloud servers.

Metadata

Stars3409
Views1
Updated2026-03-25
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-codeteenager-zhipu-image-gen": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#image-generation#ai-art#zhipu#glm#creative
Safety Score: 4/5

Flags: external-api, file-write