zimage-generation

Installation
Summary

Generate images using ModelScope's Z-Image API with simple command-line prompts.

  • Supports three API key configuration methods: hardcoded in script, command-line argument, or .env file in the scripts folder
  • Accepts optional parameters for custom output filename and alternative model IDs
  • Requires Python 3 with requests library and a ModelScope account with Alibaba Cloud binding for API access
  • Returns 401 errors if the account lacks proper Alibaba Cloud setup; users must bind their account via ModelScope dashboard
SKILL.md

Z-Image Generation Skill

This skill allows you to generate images using the Z-Image model via the ModelScope Inference API.

When to Use

Use this skill when:

  • The user requests to generate an image using "Zimage", "zimage:", or "ModelScope".
  • The user inputs a command like zimage: <prompt> or zimage <prompt>.
  • The user wants to use their configured ModelScope API key for image generation.

Usage

The skill provides a Python script scripts/generate_zimage.py to handle the API interaction.

Installs
720
GitHub Stars
12
First Seen
Jan 24, 2026