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

n8n · ImageReleased 2025-05-29

How to Use FLUX.1 Kontext Pro Text to Image in n8n

Use FLUX.1 Kontext Pro Text to Image for photographic concepts and illustrations from a written description. Unlike FLUX.1 Kontext Pro, it starts without a reference image; Max Text to Image gives typography and detailed instructions more emphasis.

Prompts to try with FLUX.1 Kontext Pro Text to Image in n8n

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

Each Monday, use FLUX.1 Kontext Pro Text to Image to create a wide gardening newsletter illustration showing that week's supplied topic. Use a pencil and watercolor style, muted greens, and open space above the subject.

FLUX.1 Kontext Pro Text to Imagen8n
Try asking
  • Every Friday, use FLUX.1 Kontext Pro Text to Image to create a square photographic concept for the supplied baking topic. Show the baked item on a wooden table with soft side lighting.

  • For each approved event brief, use FLUX.1 Kontext Pro Text to Image to create a tall poster concept. Include the supplied short event title in large lettering and flag any spelling errors for review.

  • Every Monday at 9am: generate a product photo with FLUX.1 Kontext Pro Text to Image: 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.1 Kontext Pro Text to Image.

How to set up FLUX.1 Kontext Pro Text to Image 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.1 Kontext Pro Text to Image in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds FLUX.1 Kontext Pro Text to Image, 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.1 Kontext Pro Text to Image

    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-pro/kontext/text-to-image",
        "input": {
          "prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture…"
        }
      }'

Then paste one of the prompts above: n8n finds FLUX.1 Kontext Pro Text to Image on Spiral, shows the price and runs it.

FLUX.1 Kontext Pro Text to Image providers and prices

Spiral runs FLUX.1 Kontext Pro Text to Image through fal. Open a card for today's price, with every fee included.

falImage
FLUX.1 Kontext [pro] · Text to Image
fal-ai/flux-pro/kontext/text-to-image

Settings you can ask for

FLUX.1 Kontext Pro Text to Image works from your prompt. Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number

The same seed and the same prompt given to the same version of the model

will output the same image every time.

Guidance scale (CFG)1 to 203.5

The CFG (Classifier Free 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.

Number of images1 to 41

The number of images to generate.

Output formatjpeg or pngjpeg

The format of the generated image.

Safety tolerance1 to 62

The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.

Enhance prompton or offoff

Whether to enhance the prompt for better results.

Aspect ratio21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 and 1 more1:1

The aspect ratio of the generated image.

Every API field of FLUX.1 Kontext [pro] · Text to Image is on its tool page: open its card above.

What can you do with FLUX.1 Kontext Pro Text to Image in n8n?

Produce recurring visual drafts from a consistent brief with FLUX.1 Kontext. A scheduled agent can prepare images for review and check them against the required subject, composition, and wording.

Article illustrations

Create an illustration from an article brief, specifying the subject, medium, palette, and room for a separately added headline.

Product photography concepts

Explore a proposed product scene from a written description, such as a ceramic mug on a kitchen counter in soft morning light.

Event poster concepts

Generate poster artwork with a specified scene and short headline. Review the lettering before using the design.

Character concept art

Develop a character's initial appearance from a description of clothing, expression, setting, and illustration style.

Questions about FLUX.1 Kontext Pro Text to Image in n8n

Can n8n use FLUX.1 Kontext Pro Text to Image?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run FLUX.1 Kontext Pro Text to Image like any built-in tool.

How much does FLUX.1 Kontext Pro Text to Image cost in n8n?

$0.052 per image. 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.1 Kontext Pro Text to Image in n8n?

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs FLUX.1 Kontext Pro Text to Image on its own fal account.

How long does it take to set up FLUX.1 Kontext Pro Text to Image in n8n?

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

Does n8n wait while FLUX.1 Kontext Pro Text to Image runs?

FLUX.1 Kontext Pro Text to Image runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

When should I choose Pro or Max?

Choose Pro for iterative visual work and a balance of speed and quality. Choose Max when typography and following detailed instructions carry more weight.

What resolution does FLUX.1 Kontext produce?

Outputs are approximately 1 megapixel. A square text-to-image result defaults to 1024 by 1024 pixels; a wider or taller shape changes the dimensions within roughly that pixel budget.

Can FLUX.1 Kontext make illustrations as well as realistic images?

Yes. Describe the intended medium, such as a photograph, pencil illustration, or painting, along with the subject and composition.

Can I rely on every word in an image being correct?

Review the result before using it. Max emphasizes typography, but FLUX.1 Kontext can still miss specific instructions.

What should I include in a visual brief?

Name the subject, setting, visual style, lighting, and composition you want. Make requirements concrete, such as a red ceramic cup on a wooden table beside a window.

Get started

Start using FLUX.1 Kontext Pro Text to Image 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