简介
通过 inference.sh CLI 调用 50+ 前沿 AI 图像模型(FLUX、Gemini、Grok、Seedream 等),支持文生图、图生图、LoRA、超分等全链路功能。
原始描述
Generate AI images with FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image,...
通过你的 Agent 添加
安装目录:ai-image-generation/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
本技能提供通过 inference.sh CLI 访问 50+ 图像生成模型的能力,覆盖主流商业与开源方案:
- 核心命令:
infsh app run <app-id> --input '{...}' - 安装方式:curl 脚本自动检测 OS/架构,下载对应二进制并校验 SHA-256,无需提权
- 模型生态:FLUX Dev/Klein LoRA、Gemini 3 Pro/2.5 Flash、Grok Imagine、Seedream 3-4.5、Reve、ImagineArt 等
- 功能覆盖:文生图、图生图、Inpainting、LoRA 风格迁移、图像编辑、4K 超分、文字渲染
显著优点
- 模型聚合优势:单一 CLI 接入多家顶级模型(Google、xAI、ByteDance、FAL),避免多平台账号管理成本
- FLUX 生态完整:原生支持 FLUX Dev LoRA 和 FLUX.2 Klein(4B/9B),兼顾质量与速度
- 中文/英文渲染:Seedream 3.0、Reve 专为文字生成优化,解决传统扩散模型文字乱码痛点
- 专业级后处理:集成 Topaz 超分、Stitch 拼图等企业级工具链
- 轻量安全:安装脚本仅下载二进制,无后台驻留,支持手动校验
潜在局限与风险
维度
说明
供应商锁定
依赖 inference.sh 平台聚合,单点故障或定价策略变更影响可用性
成本控制
高频调用(尤其 4K/超分)成本累积快,缺乏内置预算告警机制
合规盲区
生成内容版权归属、训练数据授权未明确披露;商业用途需自行法律评估
CLI 门槛
纯命令行交互,无可视化参数调优界面,非技术用户学习成本较高
网络依赖
模型推理全部云端执行,弱网环境体验差,无本地降级方案
适合人群
- 设计师/创意工作者:快速生成概念稿、营销素材,替代 Midjourney/DALL·E 订阅
- 开发者/MLOps:需要程序化调用图像 API 构建自动化工作流
- 电商运营:产品 mockup、主图批量生成与超分增强
常规风险
- 提示词注入:恶意构造的 prompt 可能触发平台内容过滤或产生不当输出
- 数据隐私:输入图片、prompt 上传至第三方云,敏感内容需脱敏处理
- 输出一致性:同一 prompt 多次调用结果差异大,生产环境需固定 seed 或增加重试逻辑
| 维度 | 说明 |
|---|---|
| 供应商锁定 | 依赖 inference.sh 平台聚合,单点故障或定价策略变更影响可用性 |
| 成本控制 | 高频调用(尤其 4K/超分)成本累积快,缺乏内置预算告警机制 |
| 合规盲区 | 生成内容版权归属、训练数据授权未明确披露;商业用途需自行法律评估 |
| CLI 门槛 | 纯命令行交互,无可视化参数调优界面,非技术用户学习成本较高 |
| 网络依赖 | 模型推理全部云端执行,弱网环境体验差,无本地降级方案 |
适合人群
- 设计师/创意工作者:快速生成概念稿、营销素材,替代 Midjourney/DALL·E 订阅
- 开发者/MLOps:需要程序化调用图像 API 构建自动化工作流
- 电商运营:产品 mockup、主图批量生成与超分增强
常规风险
- 提示词注入:恶意构造的 prompt 可能触发平台内容过滤或产生不当输出
- 数据隐私:输入图片、prompt 上传至第三方云,敏感内容需脱敏处理
- 输出一致性:同一 prompt 多次调用结果差异大,生产环境需固定 seed 或增加重试逻辑
- 提示词注入:恶意构造的 prompt 可能触发平台内容过滤或产生不当输出
- 数据隐私:输入图片、prompt 上传至第三方云,敏感内容需脱敏处理
- 输出一致性:同一 prompt 多次调用结果差异大,生产环境需固定 seed 或增加重试逻辑
技能正文
name: ai-image-generation
description: "Generate AI images with FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image"
allowed-tools: Bash(infsh *)
AI Image Generation
Generate images with 50+ AI models via inference.sh CLI.

Quick Start
# 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"}'
Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
Available Models
Model
App ID
Best For
FLUX Dev LoRA
falai/flux-dev-lora
High quality with custom styles
FLUX.2 Klein LoRA
falai/flux-2-klein-lora
Fast with LoRA support (4B/9B)
Gemini 3 Pro
google/gemini-3-pro-image-preview
Google's latest
Gemini 2.5 Flash
google/gemini-2-5-flash-image
Fast Google model
Grok Imagine
xai/grok-imagine-image
xAI's model, multiple aspects
Seedream 4.5
bytedance/seedream-4-5
2K-4K cinematic quality
Seedream 4.0
bytedance/seedream-4-0
High quality 2K-4K
Seedream 3.0
bytedance/seedream-3-0-t2i
Accurate text rendering
Reve
falai/reve
Natural language editing, text rendering
ImagineArt 1.5 Pro
falai/imagine-art-1-5-pro-preview
Ultra-high-fidelity 4K
Topaz Upscaler
falai/topaz-image-upscaler
Professional upscaling
Browse All Image Apps
infsh app list --category image
Examples
Text-to-Image with FLUX
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'
Fast Generation with 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
# 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"}'
Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
| Model | App ID | Best For |
|---|---|---|
| FLUX Dev LoRA | falai/flux-dev-lora |
High quality with custom styles |
| FLUX.2 Klein LoRA | falai/flux-2-klein-lora |
Fast with LoRA support (4B/9B) |
| Gemini 3 Pro | google/gemini-3-pro-image-preview |
Google's latest |
| Gemini 2.5 Flash | google/gemini-2-5-flash-image |
Fast Google model |
| Grok Imagine | xai/grok-imagine-image |
xAI's model, multiple aspects |
| Seedream 4.5 | bytedance/seedream-4-5 |
2K-4K cinematic quality |
| Seedream 4.0 | bytedance/seedream-4-0 |
High quality 2K-4K |
| Seedream 3.0 | bytedance/seedream-3-0-t2i |
Accurate text rendering |
| Reve | falai/reve |
Natural language editing, text rendering |
| ImagineArt 1.5 Pro | falai/imagine-art-1-5-pro-preview |
Ultra-high-fidelity 4K |
| Topaz Upscaler | falai/topaz-image-upscaler |
Professional upscaling |
Browse All Image Apps
infsh app list --category image
Examples
Text-to-Image with FLUX
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'
Fast Generation with FLUX Klein
infsh app list --category image
Text-to-Image with FLUX
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'
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"
}'
infsh app run xai/grok-imagine-image --input '{
"prompt": "cyberpunk city at night",
"aspect_ratio": "16:9"
}'
Reve (with Text Rendering)
infsh app run falai/reve --input '{
"prompt": "A poster that says HELLO WORLD in bold letters"
}'
Seedream 4.5 (4K Quality)
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic portrait of a woman, golden hour lighting"
}'
Image Upscaling
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
Stitch Multiple Images
infsh app run infsh/stitch-images --input '{
"images": ["https://img1.jpg", "https://img2.jpg"],
"direction": "horizontal"
}'
Related Skills
# 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 run falai/reve --input '{
"prompt": "A poster that says HELLO WORLD in bold letters"
}'
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic portrait of a woman, golden hour lighting"
}'
Image Upscaling
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
Stitch Multiple Images
infsh app run infsh/stitch-images --input '{
"images": ["https://img1.jpg", "https://img2.jpg"],
"direction": "horizontal"
}'
Related Skills
# 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 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"
}'
Related Skills
# 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
# 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
Browse all apps: infsh app list
Documentation
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image generation guide
- Apps Overview - Understanding the app ecosystem
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。