How to Use FLUX.2 Klein 4B in OpenClaw
FLUX.2 Klein 4B turns written briefs into images with a distilled four-step model, useful for testing visual ideas. Choose FLUX.2 Klein 4B LoRA when you need a custom learned style.
Prompts to try with FLUX.2 Klein 4B in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Every Monday, use FLUX.2 Klein 4B to draft a square productivity illustration, 1024 pixels on each side. Rotate between a tidy desk, a quiet reading chair, and a garden workbench; describe each scene fully with soft morning light and open space above the subject.
Each weekday, use FLUX.2 Klein 4B to create one 1280 by 720 newsletter artwork draft about seasonal cooking. Describe a single ingredient on a wooden table, its surface texture, the surrounding utensils, and natural window light.
Each month, use FLUX.2 Klein 4B to draft three separate 1280 by 720 images for a gardening newsletter: seedlings on a windowsill, tools beside a potting bench, and a watering can among herbs. Give each scene a complete prose description.
Every Tuesday, use FLUX.2 Klein 4B to create a square fictional product concept, 1024 pixels on each side. Alternate between a ceramic mug, a desk organizer, and a reading lamp, describing materials, camera position, and studio lighting.
Every Monday at 9am: generate a product photo with FLUX.2 Klein 4B: 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 in OpenClaw
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send OpenClaw this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- 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
- Add the server
On the machine that runs OpenClaw's Gateway:
openclaw mcp add spiral \ --url https://api.spiral.ai/mcp \ --transport streamable-http \ --auth oauth
- Sign in
In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.
openclaw mcp login spiral
- Reload and check
A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.
openclaw mcp reload openclaw mcp doctor spiral --probe
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run FLUX.2 Klein 4B
One request; the result comes back by polling or a webhook.
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", "input": { "prompt": "Cheetah in pre-sprint crouch, muscles tensed, gazelle visible in distance, African savanna golden grass, dust particles in air, National Geographic wildlife…" } }'
Then paste one of the prompts above: OpenClaw finds FLUX.2 Klein 4B on Spiral, shows the price and runs it.
FLUX.2 Klein 4B providers and prices
Spiral runs FLUX.2 Klein 4B through fal. Open a card for today's price, with every fee included.
$0.005135 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
FLUX.2 Klein 4B works from your prompt. Ask OpenClaw for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | The seed to use for the generation. If not provided, a random seed will be used. | |
| Number of inference steps | 4 to 8 | 4 | The number of inference steps to perform. |
| Number of images | 1 to 4 | 1 | The number of images to generate. |
| Output format | jpeg, png, or webp | png | The format of the generated image. |
Every API field of FLUX.2 [klein] 4B · Text to Image is on its tool page: open its card above.
What can you do with FLUX.2 Klein 4B in OpenClaw?
Prepare recurring image drafts from a written editorial plan or recurring creative brief. Keep the subject, composition, and lighting instructions explicit on each run, and collect the results for review.
Website artwork drafts
Generate a scene from a written website brief, leaving deliberate empty space for headings. Add the final typography in the page layout.
Editorial illustrations
Turn an article's central idea into a visual metaphor, such as an overflowing inbox for a story about distraction.
Product concept scenes
Explore an imagined product's materials, setting, and lighting from text before commissioning photography or building a physical prototype.
Social post artwork
Draft square scenes for social posts using a clear focal subject. Keep required wording outside the generated image.
Storyboard planning
Generate separate scene concepts from written shot descriptions to discuss framing and mood before a shoot.
Game item concepts
Describe individual objects such as potions, treasure chests, or tools to explore their appearance. Use a suitable style LoRA when a learned art treatment is required.
More on FLUX.2 Klein 4B and OpenClaw
Overview
FLUX.2 Klein 4B in other agents
Questions about FLUX.2 Klein 4B in OpenClaw
Can OpenClaw use FLUX.2 Klein 4B?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run FLUX.2 Klein 4B like any built-in tool.
How much does FLUX.2 Klein 4B cost in OpenClaw?
$0.005135 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 in OpenClaw?
No. Spiral runs FLUX.2 Klein 4B 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 in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while FLUX.2 Klein 4B runs?
FLUX.2 Klein 4B 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 useful for?
Use it to explore image ideas from written briefs, such as editorial illustrations, product concepts, and website artwork. Its distilled four-step design makes iterative visual work a sensible starting point.
How should I write a FLUX.2 Klein prompt?
Describe a complete scene in connected sentences: the subject, its surroundings, composition, and lighting. Klein does not automatically expand your prompt, so write the details you want to see.
How large can FLUX.2 Klein images be?
Black Forest Labs documents output from 64 by 64 pixels to 4 megapixels, with each dimension divisible by 16. A 1024 by 1024 image is a practical starting point for reviewing composition.
Should I use FLUX.2 Klein for factual diagrams?
Treat the result as an illustration draft. The model is not a source of factual information, so check structures, labels, and relationships against a reliable reference before publishing.
How many generation steps should I start with?
Start with four steps, the distilled model's intended generation approach. Compare the resulting composition with your brief before experimenting further.
Start using FLUX.2 Klein 4B in OpenClaw
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into OpenClaw:
set up https://spiral.ai/SKILL.md


