flux-image

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

FLUX 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 模型

ModelApp IDSpeedQualityUse Case
FLUX Dev LoRA
falai/flux-dev-lora
MediumHighestProduction, custom styles
FLUX.2 Klein LoRA
falai/flux-2-klein-lora
FastestGoodFast iteration, 4B/9B sizes
模型App ID速度质量使用场景
FLUX Dev LoRA
falai/flux-dev-lora
中等最高生产环境、自定义风格
FLUX.2 Klein LoRA
falai/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.json
bash
infsh app sample falai/flux-dev-lora --save input.json

Edit to add lora_url for custom style

编辑文件添加lora_url以使用自定义风格

infsh app run falai/flux-dev-lora --input input.json
undefined
infsh app run falai/flux-dev-lora --input input.json
undefined

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

Image 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://..."}'
undefined
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
undefined

Related Skills

相关技能

bash
undefined
bash
undefined

Full 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

文档