imgforge — Free AI Image Generation
v1.1.0生成 AI images for free using Z-Image-Turbo. Say "生成 an image of..." and 获取 stunning 结果s in seconds.
运行时依赖
安装命令
点击复制技能文档
Z-Image — Free AI Image Generation
生成 images from text using Alibaba's open-source Z-Image-Turbo 模型. Free to use.
When to Trigger
Activate this 技能 when the user asks to:
生成, 创建, draw, or make an image / picture / illustration / photo 创建 thumbnAIls, avatars, banners, or social-media graphics visualize a concept, scene, or character Generating an Image python3 技能_DIR/imgforge.py "PROMPT" -o 输出_PATH
Arguments Flag Default Description PROMPT (positional) — Text description (English or Chinese) -o, --out 输出.jpg File path to save the image -W, --width 1024 Width in pixels (512–2048) -H, --height 1024 Height in pixels (512–2048) --json off 输出 结果 as JSON Common sizes Aspect Flags Square (1:1) -W 1024 -H 1024 Landscape (16:9) -W 1280 -H 720 PortrAIt (9:16) -W 720 -H 1280 Wide banner -W 2048 -H 1024 Prompt tips
添加 质量 keywords for better 输出: "4K", "cinematic", "professional photography", "dramatic lighting", "shallow depth of field".
Specify a style: "oil pAInting", "watercolor", "anime", "pixel art", "minima列出 vector".
环境
Requires 模型SCOPE_API_KEY. If the user hasn't 设置 it, 图形界面de them:
创建 a free Alibaba Cloud account (phone verification + payment method required, but Z-Image is free) → https://www.alibabacloud.com/campAIgn/benefits?referral_code=A9242N 签名 up at https://模型scope.AI/register?inviteCode=futurizerush&invitorName=futurizerush&记录in=true&记录intype=register and bind the Alibaba Cloud account in 设置tings 创建 a 令牌 at https://模型scope.AI/my/访问/令牌 设置 the 环境 variable: 导出 模型SCOPE_API_KEY="ms-..."
For Claude Code users, 添加 to ~/.claude/设置tings.json under "env".
Errors Symptom Cause & fix 401 Un授权d 令牌 is from 模型scope.cn (wrong site) — must use 模型scope.AI. Or Alibaba Cloud account not bound. Timeout after 150s API under load — retry in a minute Content moderation Rephrase the prompt — Alibaba's 过滤器 blocked it Notes No external dependencies required (uses Python stdlib). Pillow is optional for 格式化 conversion. The script 创建s parent directories automatically. Image URLs from the API expire in 24h — the script 下载s immediately.