Spiral gives your agent every tool with one account. Browse the tools →

n8n · ImageReleased 2026-01-15

How to Use FLUX.2 Klein 9B Base in n8n

FLUX.2 Klein 9B Base turns written scenes into images with more visual diversity than distilled Klein models. Unlike FLUX.2 Klein 9B Base LoRA, it works without custom LoRA adapters.

Prompts to try with FLUX.2 Klein 9B Base in n8n

Copy an example into n8n, or ask in your own words.

Every Monday, use FLUX.2 Klein 9B Base to create a square editorial image, 1024 pixels on each side, for the week's gardening topic. Describe one concrete garden scene with natural light and leave room above the subject for a title.

FLUX.2 Klein 9B Basen8n
Try asking
  • Each Friday, use FLUX.2 Klein 9B Base to create a square coffee photography concept, 1024 pixels on each side. Change the setting each week, describe the cup texture and light direction, and collect the result for review.

  • Every Tuesday, use FLUX.2 Klein 9B Base to create a square poster draft, 1024 pixels on each side, showing a neighborhood produce stand. Add only the exact headline 'SHOP LOCAL' at the top and flag any lettering errors.

  • Each morning, use FLUX.2 Klein 9B Base to create a square still-life concept, 1024 pixels on each side, featuring a ceramic vase in color #0047AB. Vary the flowers and lighting, and collect the image for review.

  • Every Monday at 9am: generate a product photo with FLUX.2 Klein 9B 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 9B Base in n8n

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

Use the Spiral skill

  1. Send n8n 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. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run FLUX.2 Klein 9B Base in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds FLUX.2 Klein 9B Base, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run FLUX.2 Klein 9B Base

    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/base",
        "input": {
          "prompt": "A cyberpunk samurai standing in neon-lit Tokyo street at night, rain-soaked pavement reflecting holographic advertisements in pink and blue, steam rising from…"
        }
      }'

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

FLUX.2 Klein 9B Base providers and prices

Spiral runs FLUX.2 Klein 9B Base through fal. Open a card for today's price, with every fee included.

falImage
FLUX.2 [klein] 9B Base · Text to Image
fal-ai/flux-2/klein/9b/base

Settings you can ask for

FLUX.2 Klein 9B Base works from your prompt. Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Negative prompt for classifier-free guidance. Describes what to avoid in the image.

Guidance scale0 to 205

Guidance scale for classifier-free guidance.

Seeda whole number

The seed to use for the generation. If not provided, a random seed will be used.

Number of inference steps4 to 5028

The number of inference steps to perform.

Number of images1 to 41

The number of images to generate.

Accelerationnone, regular, or highregular

The acceleration level to use for image generation.

Output formatjpeg, png, or webppng

The format of the generated image.

Every API field of FLUX.2 [klein] 9B Base · Text to Image is on its tool page: open its card above.

What can you do with FLUX.2 Klein 9B Base in n8n?

Prepare recurring image drafts from a standing editorial or campaign brief. An agent running on a schedule can create fresh scene concepts and collect them for review.

Website artwork from a written brief

Generate a photographic or illustrated scene with the subject placed away from the area reserved for a headline. Explore several compositions before choosing artwork for the page.

Product concept images

Describe a proposed product's shape, materials, color, and studio lighting. Use the images to discuss a design direction before arranging a real shoot.

Editorial illustrations

Turn an article's central idea into a specific visual scene. Name the medium, focal subject, and mood so the image serves the story.

Photography mood boards

Explore a planned shoot through descriptions of lenses, lighting, framing, and textures. Compare close-ups, environmental scenes, and different lighting directions.

Poster concepts

Draft a poster around one short headline and a clearly described illustration. Specify where the lettering belongs, then proofread the generated text.

Color direction studies

Compare product or scene concepts by assigning hex colors to named surfaces. Review the rendered colors before approving a direction.

Campaign concept exploration

Generate alternative scenes from the same campaign brief, changing the setting or composition. Use the results to select a visual direction for further production.

Questions about FLUX.2 Klein 9B Base in n8n

Can n8n use FLUX.2 Klein 9B Base?

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

How much does FLUX.2 Klein 9B Base cost in n8n?

$0.011297 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 n8n plan is separate.

Do I need a fal account to use FLUX.2 Klein 9B Base in n8n?

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs FLUX.2 Klein 9B Base on its own fal account.

How long does it take to set up FLUX.2 Klein 9B Base in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while FLUX.2 Klein 9B Base runs?

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

What is FLUX.2 Klein 9B Base good at?

Use it to explore different visual directions from a written brief, including photographic scenes and illustrated concepts. Black Forest Labs reports greater output diversity than with distilled Klein models.

How is Base different from distilled Klein?

Base keeps the undistilled model for creative exploration and customization. Distilled Klein is the speed-focused choice; Base favors flexibility and visual diversity.

How should I write a prompt?

Write a short scene description that names the subject, setting, composition, and lighting. Klein does not automatically expand a vague prompt, so include the details that should appear in the image.

Can I trust text inside the image?

Check every word before using it. Lettering can be inaccurate or distorted, so treat text-heavy output as a draft that needs review.

What resolution and settings should I test first?

A useful starting experiment is the maker's example: 1024 by 1024 pixels, 50 inference steps, and guidance of 4.0. Treat that as a baseline to compare with your results, rather than a guarantee of the best image.

Get started

Start using FLUX.2 Klein 9B Base in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options