flux-image
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFLUX Image Generation
FLUX图片生成
Generate images with FLUX models via inference.sh CLI.

通过inference.sh CLI使用FLUX模型生成图片。

Quick Start
快速开始
bash
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run falai/flux-dev-lora --input '{"prompt": "a futuristic city at night"}'bash
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run falai/flux-dev-lora --input '{"prompt": "a futuristic city at night"}'FLUX Models
FLUX模型
| Model | App ID | Speed | Quality | Use Case |
|---|---|---|---|---|
| FLUX Dev LoRA | | Medium | Highest | Production, custom styles |
| FLUX.2 Klein LoRA | | Fastest | Good | Fast iteration, 4B/9B sizes |
| 模型 | 应用ID | 速度 | 质量 | 适用场景 |
|---|---|---|---|---|
| FLUX Dev LoRA | | 中等 | 最高 | 生产环境、自定义风格 |
| FLUX.2 Klein LoRA | | 最快 | 良好 | 快速迭代、4B/9B参数规模 |
Examples
示例
High-Quality Generation
高质量生成
bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of headphones, studio lighting, white background"
}'bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of headphones, studio lighting, white background"
}'Fast Generation (Klein)
快速生成(Klein模型)
bash
infsh app run falai/flux-2-klein-lora --input '{"prompt": "abstract art, colorful"}'bash
infsh app run falai/flux-2-klein-lora --input '{"prompt": "abstract art, colorful"}'With LoRA Custom Styles
结合LoRA自定义风格
bash
infsh app sample falai/flux-dev-lora --save input.jsonbash
infsh app sample falai/flux-dev-lora --save input.jsonEdit to add lora_url for custom style
编辑文件添加lora_url以使用自定义风格
infsh app run falai/flux-dev-lora --input input.json
undefinedinfsh app run falai/flux-dev-lora --input input.json
undefinedImage-to-Image
图片转图片
bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "transform to watercolor style",
"image_url": "https://your-image.jpg"
}'bash
infsh app run falai/flux-dev-lora --input '{
"prompt": "transform to watercolor style",
"image_url": "https://your-image.jpg"
}'For Other Image Tasks
其他图片任务
bash
undefinedbash
undefinedImage editing with natural language
自然语言图片编辑
infsh app run falai/reve --input '{"prompt": "change background to beach"}'
infsh app run falai/reve --input '{"prompt": "change background to beach"}'
Upscaling
图片超分辨率
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
undefinedinfsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
undefinedRelated Skills
相关技能
bash
undefinedbash
undefinedFull platform skill (all 150+ apps)
全平台技能(包含150+应用)
npx skills add inference-sh/skills@inference-sh
npx skills add inference-sh/skills@inference-sh
All image generation models
所有图片生成模型
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@ai-image-generation
Upscaling
图片超分辨率
npx skills add inference-sh/skills@image-upscaling
Browse all apps: `infsh app list`npx skills add inference-sh/skills@image-upscaling
浏览所有应用:`infsh app list`Documentation
文档
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image generation guide
- Streaming Results - Real-time progress updates