yizhiyanhua-ai

Zimage Skill — AI skill for Claude Code

AI community

Z-Image Skill - AI Image Generation for Claude Code 用自然语言生成 AI 图片的 Claude Code 技能.

How to install Zimage Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yizhiyanhua-ai/zimage-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Zimage Skill does

Z-Image Skill - AI Image Generation for Claude Code 用自然语言生成 AI 图片的 Claude Code 技能.

Alternatives in AI

README

Z-Image Skill - AI Image Generation for Claude Code

Z-Image Skill Icon

Generate beautiful images with natural language in Claude Code!

English | [中文](./README_CN.md)

What is this?

Z-Image Skill is a Claude Code skill plugin that lets you generate AI images using simple natural language descriptions.

**Just say things like:**

  • "Generate a picture of a golden cat"
  • "Draw a sunset over mountains"
  • "Create a cute cartoon avatar"

And Claude Code will automatically generate the image for you!

Demo

You: Generate a cyberpunk style city at night

Claude: I'll generate that image for you...
        Task started: xxx
        Image saved to: cyberpunk_city.jpg

        Done! The image has been saved to cyberpunk_city.jpg

Installation

All steps can be completed using natural language in Claude Code - no manual commands needed!

Step 1: Get Your Free API Key

  1. Visit ModelScope
  2. Click "Login/Register" in the top right corner
  3. After logging in, go to API Token page
  4. Click "Create Token" and copy your API Key

Step 2: Install the Skill

Open Claude Code and simply say:

Install zimage-skill from https://github.com/yizhiyanhua-ai/zimage-skill

Claude will automatically:

  • Download the skill to the correct directory
  • Install the required Python dependencies

Step 3: Configure API Key

In Claude Code, say:

Configure MODELSCOPE_API_KEY environment variable with value ms-xxxxxxxx (replace with your API Key)

Or you can say:

Add MODELSCOPE_API_KEY environment variable to ~/.claude/settings.json with value ms-xxxxxxxx

Step 4: Verify Installation

After restarting Claude Code, simply say:

Generate a test image for me

If you see an image generated successfully, you're all set!

Usage Examples

Basic Usage

You: Generate a cute Shiba Inu pi