AI Image Generation
Generate images with 50+ AI models via inference.sh CLI.

Quick Start
CODEBLOCK0
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 | INLINECODE1 | 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
CODEBLOCK1
Examples
Text-to-Image with FLUX
CODEBLOCK2
Fast Generation with FLUX Klein
CODEBLOCK3
Google Gemini 3 Pro
CODEBLOCK4
Grok Imagine
CODEBLOCK5
Reve (with Text Rendering)
CODEBLOCK6
Seedream 4.5 (4K Quality)
CODEBLOCK7
Image Upscaling
CODEBLOCK8
Stitch Multiple Images
CODEBLOCK9
Related Skills
CODEBLOCK10
Browse all apps: INLINECODE12
Documentation
AI 图像生成
通过 inference.sh CLI 使用 50 多种 AI 模型生成图像。

快速开始
bash
安装 CLI
curl -fsSL https://cli.inference.sh | sh && infsh login
使用 FLUX 生成图像
infsh app run falai/flux-dev-lora --input {prompt: 一只在太空中的猫宇航员}
安装说明: 安装脚本仅检测您的操作系统/架构,从 dist.inference.sh 下载匹配的二进制文件,并验证其 SHA-256 校验和。无需提升权限或后台进程。也可手动安装和验证。
可用模型
| 模型 | 应用 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 | 专业图像放大 |
浏览所有图像应用
bash
infsh app list --category image
示例
使用 FLUX 进行文生图
bash
infsh app run falai/flux-dev-lora --input {
prompt: 咖啡杯的专业产品照片,影棚灯光
}
使用 FLUX Klein 快速生成
bash
infsh app run falai/flux-2-klein-lora --input {prompt: 山上的日落}
Google Gemini 3 Pro
bash
infsh app run google/gemini-3-pro-image-preview --input {
prompt: 带有山脉和湖泊的照片级真实风景
}
Grok Imagine
bash
infsh app run xai/grok-imagine-image --input {
prompt: 夜晚的赛博朋克城市,
aspect_ratio: 16:9
}
Reve(支持文字渲染)
bash
infsh app run falai/reve --input {
prompt: 一张用粗体字写着 HELLO WORLD 的海报
}
Seedream 4.5(4K 画质)
bash
infsh app run bytedance/seedream-4-5 --input {
prompt: 一位女性的电影级肖像,黄金时刻光线
}
图像放大
bash
infsh app run falai/topaz-image-upscaler --input {image_url: https://...}
拼接多张图像
bash
infsh app run infsh/stitch-images --input {
images: [https://img1.jpg, https://img2.jpg],
direction: horizontal
}
相关技能
bash
完整平台技能(150+ 应用)
npx skills add inference-sh/skills@inference-sh
FLUX 专用技能
npx skills add inference-sh/skills@flux-image
放大与增强
npx skills add inference-sh/skills@image-upscaling
背景移除
npx skills add inference-sh/skills@background-removal
视频生成
npx skills add inference-sh/skills@ai-video-generation
从图像生成 AI 头像
npx skills add inference-sh/skills@ai-avatar-video
浏览所有应用:infsh app list
文档