关于 ai-image-generation
通过 inference.sh CLI 调用 50 多种 AI 模型生成图像的技能,适合使用命令行的图像创作者。可运行生成、编辑、放大等图像应用。
主要功能
- 01通过 `infsh` 运行图像应用
- 02使用 50 多种 AI 模型
- 03根据提示词生成图像
- 04使用支持的模型编辑图像
- 05放大图像并拼接多张图
适用场景
- 01生成概念艺术或产品图
- 02制作含文字的海报
- 03放大 URL 指向的图像
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ makerjackie/ jackie-skills-starter --skill ai-image-generation安装后在 Claude Code 中输入/ai-image-generation确认已加载。
详细介绍
AI 图像生成
通过 inference.sh CLI 使用 50 多种 AI 模型生成图像。

快速开始
# Install CLI
curl -fsSL https://cli.inference.sh | sh && infsh login
# Generate an image with FLUX
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'
安装说明:安装脚本仅检测你的操作系统和架构,从
dist.inference.sh下载对应的二进制文件,并验证其 SHA-256 校验和。无需提升权限或运行后台进程。可查看手动安装与验证说明。
可用模型
| 模型 | App ID | 最适合 |
|---|---|---|
| FLUX Dev LoRA | falai/flux-dev-lora | 高品质图像与自定义风格 |
| FLUX.2 Klein LoRA | falai/flux-2-klein-lora | 生成快速,支持 LoRA(4B/9B) |
| Gemini 3 Pro | google/gemini-3-pro-image-preview | Google 最新模型 |
| Gemini 2.5 Flash | google/gemini-2-5-flash-image | 快速的 Google 模型 |
| Grok Imagine | xai/grok-imagine-image | xAI 模型,支持多种宽高比 |
| Seedream 4.5 | bytedance/seedream-4-5 | 2K-4K 电影级画质 |
| Seedream 4.0 | bytedance/seedream-4-0 | 高品质 2K-4K 图像 |
| Seedream 3.0 | bytedance/seedream-3-0-t2i | 精准的文字渲染 |
| Reve | falai/reve | 自然语言编辑、文字渲染 |
| ImagineArt 1.5 Pro | falai/imagine-art-1-5-pro-preview | 超高保真 4K 图像 |
| Topaz Upscaler | falai/topaz-image-upscaler | 专业级放大 |
浏览所有图像应用
infsh app list --category image
示例
使用 FLUX 从文本生成图像
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'
使用 FLUX Klein 快速生成
infsh app run falai/flux-2-klein-lora --input '{"prompt": "sunset over mountains"}'
Google Gemini 3 Pro
infsh app run google/gemini-3-pro-image-preview --input '{
"prompt": "photorealistic landscape with mountains and lake"
}'
Grok Imagine
infsh app run xai/grok-imagine-image --input '{
"prompt": "cyberpunk city at night",
"aspect_ratio": "16:9"
}'
Reve(支持文字渲染)
infsh app run falai/reve --input '{
"prompt": "A poster that says HELLO WORLD in bold letters"
}'
Seedream 4.5(4K 画质)
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic portrait of a woman, golden hour lighting"
}'
图像放大
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
拼接多张图像
infsh app run infsh/stitch-images --input '{
"images": ["https://img1.jpg", "https://img2.jpg"],
"direction": "horizontal"
}'
相关技能
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
# FLUX-specific skill
npx skills add inference-sh/skills@flux-image
# Upscaling & enhancement
npx skills add inference-sh/skills@image-upscaling
# Background removal
npx skills add inference-sh/skills@background-removal
# Video generation
npx skills add inference-sh/skills@ai-video-generation
# AI avatars from images
npx skills add inference-sh/skills@ai-avatar-video
浏览所有应用:infsh app list
文档
评论
支持 Markdown