Installs into .claude/skills of the current project.
Are you the author of Ai Image Generation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aaaaqwq-ai-image-generation)
---
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
```bash
pip install requests Pillow
```
## Usage
```bash
python3 ~/.claude/skills/zimage-skill/generate.py "prompt" [output_path]
```
## Environment
Optional: Set `MODELSCOPE_API_KEY` to use your own API key.
## Examples
```bash
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