[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [FLUX.2 Klein 4B Base](https://spiral.ai/integrations/openclaw/flux-2-klein-4b-base)

# How to Use FLUX.2 Klein 4B Base in OpenClaw

FLUX.2 Klein 4B Base turns written briefs into realistic images and varied visual concepts. Unlike FLUX.2 Klein 4B Base LoRA, it uses the base model without custom LoRA adapters.

|  |  |
| --- | --- |
| Model | FLUX.2 Klein 4B Base |
| Available through | fal |
| Category | Image |
| Price | $0.009243 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FLUX.2 Klein 4B Base in OpenClaw

- Every Monday, use FLUX.2 Klein 4B Base to create a 1024 by 1024 gardening image concept. Rotate between sowing seeds, watering seedlings, and harvesting herbs; describe natural light and a clear focal subject in each prompt, and collect the results for review.
- Each Friday, use FLUX.2 Klein 4B Base to illustrate one approved productivity topic with a visual metaphor. Describe the scene in full sentences, leave room above the subject for a headline, and keep lettering out of the image.
- Every month, use FLUX.2 Klein 4B Base to create a seasonal café photography concept. Show a ceramic cup beside an appropriate seasonal ingredient, with soft window light, visible surface texture, and a square 1024 by 1024 composition.
- Each week, use FLUX.2 Klein 4B Base to explore a fictional game environment from a short written brief. Specify architecture, weather, viewpoint, and atmosphere, then collect the concept image with the exact prompt for review.
- Every Monday at 9am: generate a product photo with FLUX.2 Klein 4B Base: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.

## How to set up FLUX.2 Klein 4B Base in OpenClaw

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send OpenClaw this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run FLUX.2 Klein 4B Base**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/flux-2/klein/4b/base",
    "input": {
      "prompt": "Japanese zen garden at first light, perfect rake lines in gravel, koi pond with morning mist, temple bell in background, meditation ready"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds FLUX.2 Klein 4B Base on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## FLUX.2 Klein 4B Base tools and prices

- [FLUX.2 \[klein\] 4B Base · Text to Image](https://spiral.ai/tools/fal/fal-ai/flux-2/klein/4b/base) (fal): $0.009243 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| negative_prompt |  |  | Negative prompt for classifier-free guidance. Describes what to avoid in the image. |
| guidance_scale | 0 to 20 | 5 | Guidance scale for classifier-free guidance. |
| seed |  | — | The seed to use for the generation. If not provided, a random seed will be used. |
| num_inference_steps | 4 to 50 | 28 | The number of inference steps to perform. |
| image_size |  | landscape_4_3 | The size of the image to generate. |
| num_images | 1 to 4 | 1 | The number of images to generate. |

## What can you do with FLUX.2 Klein 4B Base in OpenClaw?

Build a recurring stream of image concepts from written editorial and campaign briefs. A scheduled agent can prepare review batches with explicit lighting and composition, keeping generated lettering subject to a spelling check.

### Website hero image concepts

Generate scenes from a written creative brief, with the subject placed to leave room for a headline. Compare lighting and framing before choosing a direction.

### Product photography concepts

Describe a proposed product, surface, camera angle, and lighting to explore a shoot concept. Use the results to plan photography and art direction.

### Article illustrations

Turn an article's central idea into a visual metaphor, such as a crowded desk for an essay about distraction. Specify the medium and composition in the brief.

### Campaign art direction

Explore the same campaign idea through different settings, lighting treatments, and visual styles. Compare the images before committing to production.

### Fictional environments

Describe a game location or story setting, including architecture, weather, viewpoint, and atmosphere. Generate concept images for a creative review.

### Poster lettering studies

Explore a poster with a short headline and a clear visual subject. Check the generated spelling and redraw the final lettering when precision matters.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## FLUX.2 Klein 4B Base in other agents

- [Amp](https://spiral.ai/integrations/amp/flux-2-klein-4b-base)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/flux-2-klein-4b-base)
- [Claude](https://spiral.ai/integrations/claude-desktop/flux-2-klein-4b-base)
- [Claude Code](https://spiral.ai/integrations/claude-code/flux-2-klein-4b-base)
- [Cline](https://spiral.ai/integrations/cline/flux-2-klein-4b-base)
- [Codex](https://spiral.ai/integrations/codex/flux-2-klein-4b-base)
- [Cursor](https://spiral.ai/integrations/cursor/flux-2-klein-4b-base)
- [Devin](https://spiral.ai/integrations/devin/flux-2-klein-4b-base)
- [dots](https://spiral.ai/integrations/dots/flux-2-klein-4b-base)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/flux-2-klein-4b-base)
- [Gemini](https://spiral.ai/integrations/gemini/flux-2-klein-4b-base)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/flux-2-klein-4b-base)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/flux-2-klein-4b-base)
- [goose](https://spiral.ai/integrations/goose/flux-2-klein-4b-base)
- [Grok](https://spiral.ai/integrations/grok/flux-2-klein-4b-base)
- [Grok Build](https://spiral.ai/integrations/grok-build/flux-2-klein-4b-base)
- [Hermes](https://spiral.ai/integrations/hermes/flux-2-klein-4b-base)
- [Instinct](https://spiral.ai/integrations/instinct/flux-2-klein-4b-base)
- [Manus](https://spiral.ai/integrations/manus/flux-2-klein-4b-base)
- [Muse](https://spiral.ai/integrations/muse/flux-2-klein-4b-base)
- [Muse Code](https://spiral.ai/integrations/muse-code/flux-2-klein-4b-base)
- [n8n](https://spiral.ai/integrations/n8n/flux-2-klein-4b-base)
- [Notion](https://spiral.ai/integrations/notion/flux-2-klein-4b-base)
- [opencode](https://spiral.ai/integrations/opencode/flux-2-klein-4b-base)
- [Perplexity](https://spiral.ai/integrations/perplexity/flux-2-klein-4b-base)
- [Raycast](https://spiral.ai/integrations/raycast/flux-2-klein-4b-base)
- [VS Code](https://spiral.ai/integrations/vscode/flux-2-klein-4b-base)
- [Windsurf](https://spiral.ai/integrations/windsurf/flux-2-klein-4b-base)
- [Zapier](https://spiral.ai/integrations/zapier/flux-2-klein-4b-base)

## More OpenClaw guides

- [FLUX.2 Klein 4B](https://spiral.ai/integrations/openclaw/flux-2-klein-4b)
- [FLUX.2 Klein 4B Base LoRA](https://spiral.ai/integrations/openclaw/flux-2-klein-4b-base-lora)
- [FLUX.2 HDR Style](https://spiral.ai/integrations/openclaw/flux-2-hdr-style)
- [FLUX.2 Klein 4B LoRA](https://spiral.ai/integrations/openclaw/flux-2-klein-4b-lora)
- [FLUX.2 Flash Edit](https://spiral.ai/integrations/openclaw/flux-2-flash-edit)
- [FLUX.2 Klein 9B](https://spiral.ai/integrations/openclaw/flux-2-klein-9b)

## Questions about FLUX.2 Klein 4B Base in OpenClaw

**Can OpenClaw use FLUX.2 Klein 4B Base?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run FLUX.2 Klein 4B Base like any built-in tool.

**How much does FLUX.2 Klein 4B Base cost in OpenClaw?**

$0.009243 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

**Do I need a fal account to use FLUX.2 Klein 4B Base in OpenClaw?**

No. Spiral runs FLUX.2 Klein 4B Base on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FLUX.2 Klein 4B Base in OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while FLUX.2 Klein 4B Base runs?**

FLUX.2 Klein 4B Base runs in the background. OpenClaw starts the run, checks on it and gives you the image when it's ready.

**What is FLUX.2 Klein 4B Base good at?**

It is useful for realistic image concepts and exploring different visual treatments of a written brief. Its undistilled design gives it more output diversity than distilled Klein models.

**How does Base differ from distilled Klein?**

Base preserves the full training signal and favors flexibility and control. Treat it as a model for deliberate visual exploration; the maker's 4B Base example uses 50 inference steps.

**How should I write a prompt?**

Describe a scene in connected sentences, including the subject, setting, lighting, composition, and style. Black Forest Labs recommends narrative descriptions instead of keyword lists.

**What image size is a documented starting point?**

The maker demonstrates 1024 by 1024 output for 4B Base. Use that square canvas for an initial comparison, then compose for the shape your project needs.

**Can I trust generated lettering?**

Review every word before using the image. The model can render text, but its model card warns that lettering can be inaccurate or distorted.

