Co-Pilot
Updated 25 days ago

zimage-skill

Yyizhiyanhua-ai
0.0k
yizhiyanhua-ai/zimage-skill
78
Agent Score

💡 Summary

This skill generates images using the ModelScope Z-Image-Turbo API based on user prompts.

🎯 Target Audience

Graphic designers seeking quick image generation.Content creators needing illustrations for blogs or social media.Developers integrating image generation into applications.Artists looking for inspiration or base images.Educators wanting to create visual aids.

🤖 AI Roast:Powerful, but the setup might scare off the impatient.

Security AnalysisMedium Risk

Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); API keys/tokens handling and storage; dependency pinning and supply-chain risk. Run with least privilege and audit before enabling in production.


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
5-Dim Analysis
Clarity8/10
Novelty7/10
Utility9/10
Completeness8/10
Maintainability7/10
Pros & Cons

Pros

  • Quick and easy image generation.
  • Supports both English and Chinese prompts.
  • Customizable output file path.

Cons

  • Requires an API key for advanced features.
  • Limited to the capabilities of the underlying model.
  • Timeout for generation may be restrictive.

Related Skills

pytorch

S
toolCode Lib
92/ 100

“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”

agno

S
toolCode Lib
90/ 100

“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”

nuxt-skills

S
toolCo-Pilot
90/ 100

“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author yizhiyanhua-ai.