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

Cursor · ImageReleased 2026-01-15

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

FLUX.2 Klein 4B Base turns written briefs into realistic images and varied visual concepts. Unlike FLUX.2 Klein 4B Base LoRA, it uses the base model without custom LoRA adapters.

Prompts to try with FLUX.2 Klein 4B Base in Cursor

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

Read the homepage copy and design notes, then use FLUX.2 Klein 4B Base to generate a hero image concept. Describe a real scene related to the product, specify directional lighting, and leave open space where the headline sits.

FLUX.2 Klein 4B BaseCursor
Try asking
  • Use FLUX.2 Klein 4B Base to create a 1024 by 1024 concept for the gardening app's welcome screen: a gardener's hands pressing soil around a seedling, photographed from above in soft morning light. Save the result with the project's image assets.

  • Read the article about digital distraction in this project. Use FLUX.2 Klein 4B Base to generate an editorial image of an overflowing desk with one clear notebook in the foreground, lit by a desk lamp. Keep all lettering out of the composition.

  • Use FLUX.2 Klein 4B Base to compare guidance 4 and guidance 6 for the same 1024 by 1024 scene at 50 steps: a matte green watering can on a wooden bench in soft window light. Keep the seed and prompt unchanged, and show both images for review.

  • Read the project's poster brief and use FLUX.2 Klein 4B Base to create a concept with the short headline 'Night Market' above a warmly lit street stall. Check the generated spelling and record any lettering that needs replacement.

How to set up FLUX.2 Klein 4B 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 4B 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/4b/base",
        "input": {
          "prompt": "Japanese zen garden at first light, perfect rake lines in gravel, koi pond with morning mist, temple bell in background, meditation ready"
        }
      }'

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

FLUX.2 Klein 4B Base providers and prices

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

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

Settings you can ask for

FLUX.2 Klein 4B 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] 4B Base · Text to Image is on its tool page: open its card above.

What can you do with FLUX.2 Klein 4B Base in Cursor?

Create image concepts that match a project's written design brief and page layout. A coding agent can turn those requirements into detailed scene prompts and place selected outputs into the project for review.

Website hero image concepts

Generate scenes from a written creative brief, with the subject placed to leave room for a headline. Compare lighting and framing before choosing a direction.

Product photography concepts

Describe a proposed product, surface, camera angle, and lighting to explore a shoot concept. Use the results to plan photography and art direction.

Article illustrations

Turn an article's central idea into a visual metaphor, such as a crowded desk for an essay about distraction. Specify the medium and composition in the brief.

Campaign art direction

Explore the same campaign idea through different settings, lighting treatments, and visual styles. Compare the images before committing to production.

Fictional environments

Describe a game location or story setting, including architecture, weather, viewpoint, and atmosphere. Generate concept images for a creative review.

Poster lettering studies

Explore a poster with a short headline and a clear visual subject. Check the generated spelling and redraw the final lettering when precision matters.

Questions about FLUX.2 Klein 4B Base in Cursor

Can Cursor use FLUX.2 Klein 4B Base?

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

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

$0.009243 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 4B Base in Cursor?

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

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

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

FLUX.2 Klein 4B 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 4B Base good at?

It is useful for realistic image concepts and exploring different visual treatments of a written brief. Its undistilled design gives it more output diversity than distilled Klein models.

How does Base differ from distilled Klein?

Base preserves the full training signal and favors flexibility and control. Treat it as a model for deliberate visual exploration; the maker's 4B Base example uses 50 inference steps.

How should I write a prompt?

Describe a scene in connected sentences, including the subject, setting, lighting, composition, and style. Black Forest Labs recommends narrative descriptions instead of keyword lists.

What image size is a documented starting point?

The maker demonstrates 1024 by 1024 output for 4B Base. Use that square canvas for an initial comparison, then compose for the shape your project needs.

Can I trust generated lettering?

Review every word before using the image. The model can render text, but its model card warns that lettering can be inaccurate or distorted.

Get started

Start using FLUX.2 Klein 4B 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