How to Use FLUX.2 Klein 9B in Grok
FLUX.2 Klein 9B turns written briefs into images for creative exploration and design drafts. Choose it for general image generation; FLUX.2 Klein 9B LoRA adds custom style adaptation.
Prompts to try with FLUX.2 Klein 9B in Grok
Copy an example into Grok, or ask in your own words.
Use FLUX.2 Klein 9B to create a square image, 1024 pixels on each side, of a ceramic teapot on a dark wooden kitchen table. Soft window light comes from the right, steam rises from the spout, and a folded linen towel rests nearby. Frame it at table height with a quiet, lived-in atmosphere.
Use FLUX.2 Klein 9B to illustrate an essay about concentration. Show a small reading desk beside a rain-streaked window, one open book, and a pool of warm lamplight against the cool evening outside. Make it square, 1024 pixels on each side, with open wall space above the desk for a title I will add later.
Use FLUX.2 Klein 9B to create a square concept image of a coastal railway station at sunrise. A small shelter stands beside empty tracks, wild grasses bend toward the sea, and pale orange light reaches the platform from the left. Use a painted illustration style and keep the scene calm and spacious.
Use FLUX.2 Klein 9B to explore packaging photography for an imagined cylindrical tea tin. Show a matte forest-green tin with a plain lid on a stone counter, loose tea leaves beside it, and soft overhead light revealing the metal texture. Make a square image and leave the label area blank for lettering added afterward.
Generate a product photo with FLUX.2 Klein 9B: 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 9B in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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 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 9B
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/9b", "input": { "prompt": "A bright, surreal scene on a vast white salt flat under a clear blue sky, featuring two fluffy white alpacas standing in the foreground. Behind them sits a…" } }'
Then paste one of the prompts above: Grok finds FLUX.2 Klein 9B on Spiral, shows the price and runs it.
FLUX.2 Klein 9B providers and prices
Spiral runs FLUX.2 Klein 9B through fal. Open a card for today's price, with every fee included.
$0.006162 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 9B works from your prompt. Ask Grok 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] 9B · Text to Image is on its tool page: open its card above.
What can you do with FLUX.2 Klein 9B in Grok?
Turn an idea discussed in chat into a concrete image draft. Describe what should be visible, then compare alternative compositions or lighting treatments.
Website artwork drafts
Turn a page brief into a scene with room for a headline. Compare composition and lighting before choosing artwork for the page.
Editorial illustrations
Translate an article's central idea into a visual metaphor, such as a crowded workbench for an essay about information overload.
Product concept scenes
Describe an imagined product, its materials, and its surroundings to explore presentation ideas before a photo shoot or physical prototype.
Campaign art exploration
Create alternative scenes for the same campaign brief. Keep the subject constant while comparing framing, backgrounds, or lighting.
Game environment concepts
Explore a location's mood through written descriptions of terrain, architecture, weather, and light. Use the results as visual direction for an artist.
Presentation illustrations
Create one clear scene for a slide, with the subject placed away from the area reserved for your explanation. Add slide text afterward.
More on FLUX.2 Klein 9B and Grok
Overview
FLUX.2 Klein 9B in other agents
Questions about FLUX.2 Klein 9B in Grok
Can Grok use FLUX.2 Klein 9B?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run FLUX.2 Klein 9B like any built-in tool.
How much does FLUX.2 Klein 9B cost in Grok?
$0.006162 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 Grok plan is separate.
Do I need a fal account to use FLUX.2 Klein 9B in Grok?
No. Spiral runs FLUX.2 Klein 9B 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 9B in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while FLUX.2 Klein 9B runs?
FLUX.2 Klein 9B runs in the background. Grok starts the run, checks on it and gives you the image when it's ready.
What is FLUX.2 Klein 9B good for?
Use it to explore visual ideas, draft illustrations, and compare compositions from a written brief. Black Forest Labs positions Klein for rapid prototyping, previews, and high-volume image generation.
How should I write a prompt for FLUX.2 Klein 9B?
Describe a scene in connected prose: the subject, setting, framing, and lighting. Black Forest Labs suggests roughly 40 to 70 words, with particular attention to the light source and atmosphere.
Does FLUX.2 Klein expand a short prompt automatically?
No. Include the visual details you care about in your own description, such as the material of an object, its position, and the direction of the light.
Can I trust text inside a generated image?
Check every word before using it. Black Forest Labs warns that generated text can be inaccurate or distorted, so consider adding important headlines and labels afterward.
What image size is a documented starting point?
Black Forest Labs demonstrates 1024 × 1024 output with four inference steps. That is a useful starting point for square illustrations and concept drafts.
Start using FLUX.2 Klein 9B in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


