ai-image-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AI Image Generation

AI图像生成

Generate images with 50+ AI models via inference.sh CLI.
AI Image Generation
通过inference.sh CLI,使用50余种AI模型生成图像。
AI Image Generation

Quick Start

快速开始

bash
undefined
bash
undefined

Install 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"}'
undefined
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'
undefined

Available Models

可用模型

ModelApp IDBest 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
模型应用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
专业级图像放大

Browse All Image Apps

浏览所有图像应用

bash
infsh app list --category image
bash
infsh app list --category image

Examples

示例

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
undefined
bash
undefined

Full 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

文档