Zimage Generation
ListedGenerate photorealistic images from text prompts using advanced AI models, ideal for content creation and visualization.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add toolsai/free-zimage-skills --skill zimage-generation -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
toolsai
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: api-inference.modelscope.cn.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
api-inference.modelscope.cnundeclaredWhat it found
- scripts/generate_zimage.py:26contacts api-inference.modelscope.cn
BASE_URL = "https://api-inference.modelscope.cn/"
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned toolsai/free-zimage-skills at a0a9d1265d.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- a0a9d1265d
- Manifest
- SKILL.md
- Scanned
- 3 files, 252 lines
About this skill
What it does
This skill enables AI agents to generate photorealistic images from text prompts using the Z-Image model through the ModelScope Inference API. It provides a Python script for interacting with the API, allowing users to create visualizations and content based on their textual descriptions. The generated images are powered by advanced AI models accessible via ModelScope.
When to use it
- When a user explicitly requests image generation using "Zimage", "zimage:", or "ModelScope".
- When a user provides a command formatted as
zimage: <prompt>orzimage <prompt>. - When you want to leverage a configured ModelScope API key for image creation.
Key capabilities
- Generates images from text prompts using the Z-Image model.
- Supports multiple API key setup methods (direct editing of script, command line argument, or environment variable).
- Allows specifying an output filename via
--outputor-o. - Provides option to select a different ModelScope model ID via
--model.
Example prompts
zimage: A fluffy cat wearing a hat.zimage cyberpunk city, neon lights, rainy street, high detailzimage: A futuristic landscape with floating islands.
Tips & gotchas
- API Key Required: You must configure an API key to use this skill. Choose from pasting directly into the script, passing via command line, or setting up a
.envfile. - Alibaba Cloud Account Binding: If you receive a 401 error related to binding your Alibaba Cloud account, you'll need to log in to ModelScope (https://modelscope.cn/my/account) and link your account to enable API access – this is a one-time setup.
- Python Environment: Ensure you have Python 3 installed with the
requestslibrary.