How to Use FLUX.2 in OpenClaw
Use FLUX.2 for product concepts, editorial images, and layouts with readable text. Unlike FLUX.2 Edit, it starts from a written description.
Prompts to try with FLUX.2 in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Each morning, use FLUX.2 to create a 1536 × 1024 still life for a bakery's review queue. Rotate among bread, croissants, and fruit pastries. Keep linen, a wooden counter, soft window light, and an overhead composition.
Every month, use FLUX.2 to create a 1536 × 1024 packaging concept for herbal tea. Change the featured botanical while keeping the box color #264653, a frontal studio view, and the exact label "Evening blend".
Every Monday at 9am: generate a product photo with FLUX.2: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
Make four logo concepts for a coffee brand called "Northline" with FLUX.2.
Create a 16:9 hero image of a quiet mountain cabin at dusk with FLUX.2.
How to set up FLUX.2 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
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", "input": { "prompt": "Dutch angle close-up of a survivor in post-apocalyptic setting, dust-covered face, dramatic harsh sunlight creating deep shadows, happy expression, desaturated…" } }'
Then paste one of the prompts above: OpenClaw finds FLUX.2 on Spiral, shows the price and runs it.
FLUX.2 providers and prices
Spiral runs FLUX.2 through fal. Open a card for today's price, with every fee included.
$0.012324 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 works from your prompt. Ask OpenClaw for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Guidance scale | 0 to 20 | 2.5 | Guidance Scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| 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 50 | 28 | The number of inference steps to perform. |
| Number of images | 1 to 4 | 1 | The number of images to generate. |
| Acceleration | none, regular, or high | regular | The acceleration level to use for the image generation. |
| Enable prompt expansion | on or off | off | If set to true, the prompt will be expanded for better results. |
| Output format | jpeg, png, or webp | png | The format of the generated image. |
Every API field of FLUX 2 · Text to Image is on its tool page: open its card above.
What can you do with FLUX.2 in OpenClaw?
Keep a recurring editorial or design process supplied with images to review. Use a consistent written brief for composition, colors, and lettering across each scheduled run.
Product concept photography
Create product concepts from a written brief, with specific materials, camera angles, and lighting. Explore packaging or industrial design before arranging a shoot.
Editorial cover concepts
Develop cover images with a clear focal subject and a short, explicitly quoted headline. Specify where the headline sits relative to the subject.
Interface design concepts
Create visual concepts for app screens with named sections, clear placement instructions, and exact button text. Use the image to discuss layout and art direction.
Explanatory posters
Turn a short explanation into a poster with a title, a few labeled sections, and a specified illustration style. Supply every label you want rendered.
More on FLUX.2 and OpenClaw
Overview
FLUX.2 in other agents
Questions about FLUX.2 in OpenClaw
Can OpenClaw use FLUX.2?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run FLUX.2 like any built-in tool.
How much does FLUX.2 cost in OpenClaw?
$0.012324 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 in OpenClaw?
No. Spiral runs FLUX.2 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 in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while FLUX.2 runs?
FLUX.2 runs in the background. OpenClaw starts the run, checks on it and gives you the image when it's ready.
What is FLUX.2 good at?
FLUX.2 is useful for realistic product imagery, editorial scenes, and designs that include text. Specify the materials, lighting, composition, and exact wording you want.
How large can FLUX.2 images be?
These FLUX.2 tools support dimensions from 512 to 2048 pixels per side. A square image can reach 2048 × 2048 pixels, roughly four megapixels.
How should I write a FLUX.2 prompt?
Describe the subject, action, visual style, and setting. Use concrete details such as brushed steel, side lighting, or an overhead view.
Does FLUX.2 support negative prompts?
No. Describe the desired result positively: ask for an empty street or sharp focus instead of listing things to exclude.
How do I get readable text in FLUX.2 images?
Put the exact wording in quotation marks and describe its position and appearance. Black Forest Labs warns that text-bearing objects can produce gibberish when you leave their wording unspecified.
Start using FLUX.2 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


