By Toolsai
Generate custom images and graphics using ModelScope's Z-Image API directly from Claude Code, enabling AI-powered visual content creation on demand.
這是一個基於 ModelScope Z-Image 模型的圖片生成工具。它可以讓你在終端機 (Terminal) 輸入簡單的指令,即刻生成高品質的 AI 圖片。
.env 配置文件,靈活且安全。確保你的電腦已安裝 Python 3,然後安裝必要的套件:
pip install requests python-dotenv
scripts/generate_zimage.py,在大約第 18 行的 DEFAULT_API_KEY 處填入你的 Key。scripts/ 資料夾下建立一個 .env 檔案,內容如下:
MODELSCOPE_API_TOKEN="你的Key"
--api-key "你的Key"。在終端機輸入以下指令:
python3 scripts/generate_zimage.py "一隻正在宇宙中漫步的可愛金色貓咪,4k畫質,精緻細節"
--output 或 -o: 指定輸出的路徑與檔名(預設為自動生成)。--size 或 -s: 指定圖片尺寸(預設 1024x1024)。--api-key 或 -k: 臨時指定 API Key。SKILL.md: 供 Antigravity AI Agent 讀取的技能說明文檔。scripts/generate_zimage.py: 核心 Python 腳本。scripts/.env.example: 環境變數配置文件範例。本項目僅供學習與交流使用。模型版權歸 ModelScope/Alibaba 所有。
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin toolsai-free-zimage-skillsAI image generation CLI powered by Gemini 3.1 Flash (default) and Gemini 3 Pro. Multi-resolution, aspect ratios, cost tracking, green screen transparency, and reference images.
GPT Image 2 CLI as a Claude Code skill: OpenAI gpt-image-2 + Codex image_generation under one command surface, with masks, transparent backgrounds, custom sizes up to 4K, and structured JSON / JSONL progress output.
OpenAI GPT Image 2 prompt gallery, image prompt library, agentic skill + CLI. Gallery-first prompt patterns, reference-image editing workflows, and a packaged CLI for skill-capable agent runtimes.
AI image generation Creative Director powered by Google Gemini Nano Banana models. Claude interprets intent, selects domain expertise, constructs optimized prompts, and orchestrates Gemini for best results.
AI-powered creative tools for image generation, editing, and visual content creation. Includes 0 agents, 1 command, and 1 skill for Gemini image generation.
AI image generation with creative workflow orchestration, parallel multi-direction output, prompt engineering, and a 1,300+ curated inspiration library. Requires MeiGen MCP server (supports MeiGen Cloud, local ComfyUI, and OpenAI-compatible APIs).