From toolsai-free-zimage-skills
Generates images using ModelScope's Z-Image API via a Python script. Useful when the user requests image generation with Z-Image or ModelScope.
How this skill is triggered — by the user, by Claude, or both
Slash command
/toolsai-free-zimage-skills:zimage-generationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill allows you to generate images using the Z-Image model via the ModelScope Inference API.
This skill allows you to generate images using the Z-Image model via the ModelScope Inference API.
Use this skill when:
zimage: <prompt> or zimage <prompt>.The skill provides a Python script scripts/generate_zimage.py to handle the API interaction.
requests installed.scripts/generate_zimage.py and paste your key into the DEFAULT_API_KEY variable at the top.--api-key your_token.env in the same folder as the script (scripts/).
MODELSCOPE_API_TOKEN="your_key_here"To generate an image:
# If you used Method A (pasted key in file):
python3 /Users/promptcase/.gemini/antigravity/skills/zimage-generation/scripts/generate_zimage.py "Your descriptive prompt here"
# If you prefer command line (Method B):
python3 /Users/promptcase/.gemini/antigravity/skills/zimage-generation/scripts/generate_zimage.py "Your prompt" --api-key "your_key"
Arguments:
prompt: The text description of the image (required).--output, -o: Specify output filename (optional).--model: Specify a different model ID (optional).--api-key: API key (if not set in file or environment).If the script returns a 401 error mentioning "bind your Alibaba Cloud account", notify the user that they must log in to ModelScope (https://modelscope.cn/my/account) and bind their Alibaba Cloud account to enable API access. This is a one-time setup required by the platform.
# To generate a cyberpunk city
python3 /Users/mattchan/.gemini/antigravity/skills/zimage-generation/scripts/generate_zimage.py "cyberpunk city, neon lights, rainy street, high detail"
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin toolsai-free-zimage-skillsGenerates images using ModelScope Z-Image-Turbo API. Useful for creating pictures, illustrations, or visual content from text prompts.
Generates AI images from text prompts using Runway API via Python scripts run with uv. Supports reference images, aspect ratios, and models like gen4_image, gen4_image_turbo, gemini_2.5_flash. Useful for prototyping visuals or design assets.
Generates images using the internal Google Antigravity API (Gemini 3 Pro Image) without browser automation. Useful when a user asks to create visual content.