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

Cursor · ImageReleased 2026-01-15

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

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 Cursor

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

Read the homepage copy and use FLUX.2 Klein 9B Base to generate a 1024 by 1024 editorial photograph of a bicycle mechanic adjusting a wheel beside a workshop window. Place the mechanic on the right, with open wall space on the left for the page headline.

FLUX.2 Klein 9B BaseCursor
Try asking
  • Use FLUX.2 Klein 9B Base to create a 1024 by 1024 image for the coffee subscription page: an overhead photograph of roasted beans, a metal scoop, and a folded linen cloth on a wooden table. Match the scene's mood to the page copy.

  • Use FLUX.2 Klein 9B Base to create a 1024 by 1024 product concept image for the outdoor shop: a cobalt blue enamel mug in color #0047AB on a weathered camp table, photographed at eye level in soft morning light.

  • Use FLUX.2 Klein 9B Base to generate a 1024 by 1024 poster concept for the community garden page. Show a hand holding a seedling, with the exact headline 'GROW TOGETHER' across the top in large dark lettering; flag any spelling errors for review.

  • 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. Save the result in ./assets.

How to set up FLUX.2 Klein 9B Base in Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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 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: Cursor 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 Cursor 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 Cursor?

Create original artwork from a project's written content and design requirements. A coding agent can turn those requirements into detailed scene prompts and place the selected images in the project.

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 Cursor

Can Cursor use FLUX.2 Klein 9B Base?

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

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

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

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

No. Spiral runs FLUX.2 Klein 9B 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 9B Base in Cursor?

About two minutes: add the hosted server, then sign in.

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

FLUX.2 Klein 9B Base runs in the background. Cursor 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 Cursor

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

Paste this into Cursor:

Set up Cursor

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