FLUX Image Generation for Openclaw

A specialized skill for generating high-quality images using FLUX models by Black Forest Labs via a streamlined CLI interface.

okaris
v0.1.5
Feb 18, 2026
2
3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install flux-image

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install flux-image using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is FLUX Image Generation?

This skill empowers developers and AI agents to tap into the power of FLUX models, including FLUX Dev and FLUX.2 Klein, for professional-grade image synthesis. By utilizing Openclaw Skills to interface with the inference.sh infrastructure, users can perform complex image generation tasks such as text-to-image creation, image-to-image transformations, and style adaptation using custom LoRA weights.

The integration is designed to be lightweight and developer-friendly, abstracting the complexities of model hosting and GPU management behind a clean CLI. Whether you need the highest quality production assets from FLUX Dev or the rapid iteration speeds of the Klein variants, this skill provides a robust foundation for building AI-driven creative applications.

FLUX Image Generation Use Cases

  • Creating custom marketing visuals and professional product photography using text-to-image prompts.
  • Implementing image-to-image workflows to transform existing photos into specific artistic styles.
  • Automating the generation of high-quality assets for games, websites, and digital marketing materials.
  • Leveraging custom LoRA styles to maintain brand consistency across various generated assets.

How FLUX Image Generation Works

  1. Install and authenticate the inference.sh CLI within your development environment.
  2. Configure the input parameters in a JSON format, specifying the prompt, image URL, or LoRA weights.
  3. Run the specific FLUX model application (e.g., falai/flux-dev-lora) through the command line.
  4. The request is processed by high-performance inference servers, executing the generative model logic.
  5. The skill returns the generated image URL or saves the file directly to your local workspace for immediate use.

FLUX Image Generation Setup

To get started with this capability, install the CLI and authenticate your session:

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

Once authenticated, you can run a basic generation task using the following command:

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

FLUX Image Generation Data Schema & Taxonomy

The skill utilizes a structured JSON input to define the generation parameters. Below are the primary fields used in the workflow:

Parameter Type Required Description
prompt string Yes The textual description of the image to be generated.
image_url string No The source image URL for image-to-image tasks.
lora_url string No A URL pointing to custom LoRA weights for style adaptation.
aspect_ratio string No Defines the dimensions (e.g., 1:1, 16:9) of the output image.

FLUX Image Generation Advanced Features

  • Multi-model support including FLUX Dev for maximum quality and FLUX.2 Klein for optimized speed.
  • Image-to-image capabilities for semantic editing and style transfer using Openclaw Skills.
  • Custom LoRA weight integration for fine-tuning the model's output to specific artistic signatures.
  • Compatibility with supplementary tools for AI-driven upscaling and natural language image editing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*