zhipu-image
Generate images using Zhipu AI's CogView model
Why use this skill?
Easily generate high-quality AI images within OpenClaw using the Zhipu CogView-4 model. Secure, efficient, and perfect for creative automation projects.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/honestqiao/zhipu-cogview-imageWhat This Skill Does
The zhipu-image skill integrates the powerful CogView-4 AI model directly into your OpenClaw agent workflow, allowing you to generate high-quality, professional imagery based on text descriptions. By leveraging Zhipu AI’s advanced latent diffusion technology, this tool transforms complex prompts into visual assets within the agent environment. It is designed for seamless interaction, ensuring that image generation is both rapid and reliable. The skill handles the complexities of API authentication, JSON serialization, and TLS communication, providing you with a clean interface to generate media assets dynamically.
Installation
To begin using the skill, you must first ensure you have a registered account at the Zhipu AI Open Platform. Once you have retrieved your API key, you can install the skill via the OpenClaw CLI using the following command: clawhub install openclaw/skills/skills/honestqiao/zhipu-cogview-image. After installation, configure your environment variable by executing export ZHIPU_API_KEY="your_api_key". Note that this must be set in the current shell session to ensure the agent has the necessary permissions to communicate with the Zhipu backend. For security reasons, do not hardcode the key in your scripts.
Use Cases
This skill is highly versatile for creative and professional applications. Use it to generate unique hero images for blog posts, create visual storyboards for marketing campaigns, or design custom icons and illustrations for web development projects. It is an excellent asset for content creators who need rapid prototyping of visual concepts or developers building automated media pipelines that require programmatic image synthesis.
Example Prompts
- "Generate a high-resolution, photorealistic image of a futuristic office space with glass walls and indoor greenery."
- "Create an abstract digital art piece featuring deep blue and gold geometric shapes for a modern website landing page."
- "Show me a classic oil painting of a mountain landscape during sunset, warm lighting, impressionist style."
Tips & Limitations
To maximize the quality of your output, provide descriptive prompts that specify lighting, style, and composition. Avoid overly long sentences; while the system supports up to 1000 characters, clear, concise instructions generally yield better results. Keep in mind that this skill relies on an external API connection; ensure your network permits traffic to the official Zhipu endpoints. For production environments, utilize secret management tools instead of shell environment variables to protect your API credentials.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-honestqiao-zhipu-cogview-image": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
clawra-selfie
Generate AI images using MiniMax or fal.ai (Grok Imagine) and send to messaging channels via OpenClaw
Regex Generator
Skill by honestqiao
zhipu-embeddings
Use Zhipu (智谱) web embeddings API for embeddingsing the internet. Use when user asks for web embeddings, latest news, or needs current information.
minimax-tts
Use Zhipu (智谱) web search API for searching the internet. Use when user asks for web search, latest news, or needs current information.
doubao-image
Use Zhipu (智谱) web search API for searching the internet. Use when user asks for web search, latest news, or needs current information.