ai-image-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Image Generation
AI图像生成
Generate images with 50+ AI models via inference.sh CLI.

通过inference.sh CLI,使用50余种AI模型生成图像。

Quick Start
快速开始
bash
undefinedbash
undefinedInstall CLI
Install CLI
curl -fsSL https://cli.inference.sh | sh && infsh login
curl -fsSL https://cli.inference.sh | sh && infsh login
Generate an image with FLUX
Generate an image with FLUX
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'
undefinedinfsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'
undefinedAvailable Models
可用模型
| Model | App ID | Best For |
|---|---|---|
| FLUX Dev LoRA | | High quality with custom styles |
| FLUX.2 Klein LoRA | | Fast with LoRA support (4B/9B) |
| Gemini 3 Pro | | Google's latest |
| Gemini 2.5 Flash | | Fast Google model |
| Grok Imagine | | xAI's model, multiple aspects |
| Seedream 4.5 | | 2K-4K cinematic quality |
| Seedream 4.0 | | High quality 2K-4K |
| Seedream 3.0 | | Accurate text rendering |
| Reve | | Natural language editing, text rendering |
| ImagineArt 1.5 Pro | | Ultra-high-fidelity 4K |
| Topaz Upscaler | | Professional upscaling |
| 模型 | 应用ID | 适用场景 |
|---|---|---|
| FLUX Dev LoRA | | 自定义风格的高质量图像生成 |
| FLUX.2 Klein LoRA | | 支持LoRA的快速生成(4B/9B参数) |
| Gemini 3 Pro | | Google最新模型 |
| Gemini 2.5 Flash | | 快速响应的Google模型 |
| Grok Imagine | | xAI推出的模型,支持多种画幅 |
| Seedream 4.5 | | 2K-4K电影级画质 |
| Seedream 4.0 | | 2K-4K高质量图像 |
| Seedream 3.0 | | 精准文本渲染 |
| Reve | | 自然语言编辑、文本渲染 |
| ImagineArt 1.5 Pro | | 4K超高清画质 |
| Topaz Upscaler | | 专业级图像放大 |
Browse All Image Apps
浏览所有图像应用
bash
infsh app list --category imagebash
infsh app list --category imageExamples
示例
Text-to-Image with FLUX
使用FLUX进行文本转图像
bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'Fast Generation with FLUX Klein
使用FLUX Klein快速生成图像
bash
infsh app run falai/flux-2-klein-lora --input '{"prompt": "sunset over mountains"}'bash
infsh app run falai/flux-2-klein-lora --input '{"prompt": "sunset over mountains"}'Google Gemini 3 Pro
Google Gemini 3 Pro
bash
infsh app run google/gemini-3-pro-image-preview --input '{
"prompt": "photorealistic landscape with mountains and lake"
}'bash
infsh app run google/gemini-3-pro-image-preview --input '{
"prompt": "photorealistic landscape with mountains and lake"
}'Grok Imagine
Grok Imagine
bash
infsh app run xai/grok-imagine-image --input '{
"prompt": "cyberpunk city at night",
"aspect_ratio": "16:9"
}'bash
infsh app run xai/grok-imagine-image --input '{
"prompt": "cyberpunk city at night",
"aspect_ratio": "16:9"
}'Reve (with Text Rendering)
Reve(支持文本渲染)
bash
infsh app run falai/reve --input '{
"prompt": "A poster that says HELLO WORLD in bold letters"
}'bash
infsh app run falai/reve --input '{
"prompt": "A poster that says HELLO WORLD in bold letters"
}'Seedream 4.5 (4K Quality)
Seedream 4.5(4K画质)
bash
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic portrait of a woman, golden hour lighting"
}'bash
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic portrait of a woman, golden hour lighting"
}'Image Upscaling
图像放大
bash
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'bash
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'Stitch Multiple Images
拼接多张图像
bash
infsh app run infsh/stitch-images --input '{
"images": ["https://img1.jpg", "https://img2.jpg"],
"direction": "horizontal"
}'bash
infsh app run infsh/stitch-images --input '{
"images": ["https://img1.jpg", "https://img2.jpg"],
"direction": "horizontal"
}'Related Skills
相关技能
bash
undefinedbash
undefinedFull platform skill (all 150+ apps)
Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
npx skills add inference-sh/skills@inference-sh
FLUX-specific skill
FLUX-specific skill
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@flux-image
Upscaling & enhancement
Upscaling & enhancement
npx skills add inference-sh/skills@image-upscaling
npx skills add inference-sh/skills@image-upscaling
Background removal
Background removal
npx skills add inference-sh/skills@background-removal
npx skills add inference-sh/skills@background-removal
Video generation
Video generation
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@ai-video-generation
AI avatars from images
AI avatars from images
npx skills add inference-sh/skills@ai-avatar-video
Browse all apps: `infsh app list`npx skills add inference-sh/skills@ai-avatar-video
浏览全部应用:`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
- Running Apps - 如何通过CLI运行应用
- Image Generation Example - 完整的图像生成指南
- Apps Overview - 了解应用生态系统