@yizhiyanhua-ai/zimage-skill
AGenerate images using ModelScope Z-Image-Turbo API. Use when user asks to generate, create, or make images, pictures, or illustrations.
Install
agr install @yizhiyanhua-ai/zimage-skill --target claudeWrites 8 files into .claude/skills/, pinned to git-bb701b20.
- .claude/skills/zimage-skill/.gitignore
- .claude/skills/zimage-skill/LICENSE
- .claude/skills/zimage-skill/README.md
- .claude/skills/zimage-skill/README_CN.md
- .claude/skills/zimage-skill/SKILL.md
- .claude/skills/zimage-skill/generate.py
- .claude/skills/zimage-skill/icon.png
- .claude/skills/zimage-skill/requirements.txt
Document
name: zimage-skill description: Generate images using ModelScope Z-Image-Turbo API. Use when user asks to generate, create, or make images, pictures, or illustrations. allowed-tools: Bash, Write, Read
Z-Image Generation
Generate images using ModelScope's Tongyi-MAI/Z-Image-Turbo model.
Requirements
pip install requests Pillow
Usage
python3 ~/.claude/skills/zimage-skill/generate.py "prompt" [output_path]
Environment
Optional: Set MODELSCOPE_API_KEY to use your own API key.
Examples
python3 ~/.claude/skills/zimage-skill/generate.py "A golden cat" cat.jpg
python3 ~/.claude/skills/zimage-skill/generate.py "Sunset over mountains"
Notes
- Default output:
result_image.jpg - Timeout: 120 seconds max
- Supports Chinese and English prompts
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-bb701b20b8e52026-07-30