Agent skill · Content & Marketing

image-generation

Implement AI image generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to create images from text descriptions, generate visual content, create artwork, design assets, or build applications with AI-powered image creation. Supports multiple image sizes and returns base64 encoded images. Also includes CLI tool for quick image generation.

jjyaoaogithub.com/jjyaoaoGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add jjyaoao/HelloAgents --skill image-generation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 15 KB
Bundled scripts: yes
Path: skills/image-generation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,615
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Image Generation Skill This skill guides the implementation of image generation functionality using the z-ai-web-dev-sdk package and CLI tool, enabling creation of high-quality images from text descriptions. ## Skills Path **Skill Location**: `{project_path}/skills/image-generation` this skill is located at above path in your project. **Reference Scripts**: Example test scripts are available in the `{Skill Location}/scripts/` directory for quick testing and reference. See `{Skill Location}/scripts/image-generation.ts` for a working example. ## Overview Image Generation allows you to build applications that create visual content from text prompts using AI models, enabling creative workflows, design automation, and visual content production. **IMPORTANT**: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code. ## Prerequisites The z-ai-web-dev-sdk package is already installed. Import it as shown in the examples below. ## Basic Image Generation ### Simple Image Creation ```javascript import ZAI from 'z-ai-web-dev-sdk'; import fs from 'fs'; async function generateImage(prompt, outputPath) { const zai = await ZAI.create(); const response = await zai.imag

What's inside
Steps it walks through
  1. Skills Path
  2. Overview
  3. Prerequisites
  4. Basic Image Generation
  5. Simple Image Creation
  6. Multiple Image Sizes
  7. CLI Tool Usage
  8. Basic CLI Usage
  9. CLI Use Cases
  10. Advanced Use Cases
  11. Batch Image Generation
  12. Image Generation Service
  13. Website Asset Generator
  14. Best Practices
Ships with 2 files
  • LICENSE.txt
  • scripts/image-generation.ts
Commands it runs
Generate image with full options
z-ai image --prompt "A beautiful landscape" --output "./image.png"
Short form
z-ai image -p "A cute cat" -o "./cat.png"
Specify size
z-ai image -p "A sunset" -o "./sunset.png" -s 1344x768
Portrait orientation
z-ai image -p "A portrait" -o "./portrait.png" -s 768x1344
Website hero image
z-ai image -p "Modern tech office with diverse team collaborating" -o "./hero.png" -s 1440x720
More from HelloAgents
All skills →
About this skill
What does the image-generation skill do?

Implement AI image generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to create images from text descriptions, generate visual content, create artwork, design assets, or build applications with AI-powered image creation. Supports multiple image sizes and returns base64 encoded images. Also includes CLI tool for quick image generation.

How do I install it?

Run `npx skills add jjyaoao/HelloAgents --skill image-generation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jjyaoao/HelloAgents, a repository with 2,615 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going