← 返回 Skills 市场
okaris

Flux Image

作者 Ömer Karışman · GitHub ↗ · v0.1.5
cross-platform ⚠ suspicious
1959
总下载
2
收藏
6
当前安装
2
版本数
在 OpenClaw 中安装
/install flux-image
功能描述
Generate images with FLUX models (Black Forest Labs) via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA with custom style adaptation. Capabilitie...
使用说明 (SKILL.md)

FLUX Image Generation

Generate images with FLUX models via inference.sh CLI.

FLUX Image Generation

Quick Start

curl -fsSL https://cli.inference.sh | sh && infsh login

infsh app run falai/flux-dev-lora --input '{"prompt": "a futuristic city at night"}'

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.

FLUX Models

Model App ID Speed Quality Use Case
FLUX Dev LoRA falai/flux-dev-lora Medium Highest Production, custom styles
FLUX.2 Klein LoRA falai/flux-2-klein-lora Fastest Good Fast iteration, 4B/9B sizes

Examples

High-Quality Generation

infsh app run falai/flux-dev-lora --input '{
  "prompt": "professional product photo of headphones, studio lighting, white background"
}'

Fast Generation (Klein)

infsh app run falai/flux-2-klein-lora --input '{"prompt": "abstract art, colorful"}'

With LoRA Custom Styles

infsh app sample falai/flux-dev-lora --save input.json

# Edit to add lora_url for custom style
infsh app run falai/flux-dev-lora --input input.json

Image-to-Image

infsh app run falai/flux-dev-lora --input '{
  "prompt": "transform to watercolor style",
  "image_url": "https://your-image.jpg"
}'

For Other Image Tasks

# Image editing with natural language
infsh app run falai/reve --input '{"prompt": "change background to beach"}'

# Upscaling
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'

Related Skills

# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh

# All image generation models
npx skills add inference-sh/skills@ai-image-generation

# Upscaling
npx skills add inference-sh/skills@image-upscaling

Browse all apps: infsh app list

Documentation

安全使用建议
This skill appears to do what it says (drive the inference.sh CLI to run FLUX models), but pay attention to the install and auth steps before proceeding. Don't blindly run 'curl https://cli.inference.sh | sh' — download and inspect the script first and verify the SHA-256 checksums linked in the SKILL.md. Expect to provide/login with an inference.sh account or token; confirm where the CLI stores that token and whether you trust the service. If you prefer lower risk, install the CLI from a package manager (if available) or run it in a sandboxed environment or container.
功能分析
Type: OpenClaw Skill Name: flux-image Version: 0.1.5 The SKILL.md file contains a prompt injection vulnerability. The 'Quick Start' section instructs the AI agent to execute `curl -fsSL https://cli.inference.sh | sh`. This command downloads and executes a remote shell script, which is a significant remote code execution (RCE) risk. This instruction falls outside the explicitly defined `allowed-tools: Bash(infsh *)`, indicating that the agent is being prompted to perform an action beyond its authorized scope. While the stated purpose is installation, the method introduces a severe vulnerability.
能力评估
Purpose & Capability
Name/description match the runtime instructions: the SKILL.md shows how to install and use the inference.sh CLI to run FLUX image models. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
Instructions are narrowly scoped to installing the inference.sh CLI and invoking infsh app run/sample commands; they do not ask the agent to read arbitrary system files or unrelated credentials. However, the doc tells the user to run 'infsh login' (an interactive auth step) and to pipe a remote install script to sh, which are broader actions than what the metadata declares.
Install Mechanism
There is no formal install spec in the registry metadata, but SKILL.md explicitly recommends running 'curl -fsSL https://cli.inference.sh | sh' (download-and-execute from a service domain). While the doc claims checksum verification is available, piping a remote script to sh (and relying on a project-hosted binary distribution) is higher risk than using a reviewed package manager. Verify checksums and inspect the install script before running.
Credentials
The skill declares no required environment variables or credentials, which aligns with the metadata. But the instructions include 'infsh login' (implying account credentials or tokens will be used/stored). The skill does not declare where such credentials will be stored or what scope they have — the login step is not reflected in the declared requirements.
Persistence & Privilege
The skill is instruction-only and not marked always:true. It does not request elevated or persistent platform-wide privileges in the metadata. Installing the CLI would create a local binary (normal for a CLI) but that is a user action, not an automatic persistent modification by the skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install flux-image
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /flux-image 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.5
- Added detailed SKILL.md with instructions for installing and using inference.sh CLI to generate images with FLUX models. - Included model descriptions, use cases, and example commands for text-to-image, image-to-image, and LoRA-based style adaptation. - Listed related skills and external documentation links for further guidance.
v0.1.0
Initial release of flux-image skill. - Generate images using FLUX Dev LoRA and FLUX.2 Klein LoRA models via inference.sh CLI. - Supports text-to-image, image-to-image, LoRA fine-tuning, and custom style adaptation. - Provides usage examples and model comparison for quality and speed. - Includes instructions for image editing and upscaling with related models. - Offers triggers for easy invocation and links to documentation for further help.
元数据
Slug flux-image
版本 0.1.5
许可证
累计安装 7
当前安装数 6
历史版本数 2
常见问题

Flux Image 是什么?

Generate images with FLUX models (Black Forest Labs) via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA with custom style adaptation. Capabilitie... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1959 次。

如何安装 Flux Image?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install flux-image」即可一键安装,无需额外配置。

Flux Image 是免费的吗?

是的,Flux Image 完全免费(开源免费),可自由下载、安装和使用。

Flux Image 支持哪些平台?

Flux Image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Flux Image?

由 Ömer Karışman(@okaris)开发并维护,当前版本 v0.1.5。

💬 留言讨论