How to Use FLUX.2 Edit in n8n
Use FLUX.2 Edit to change existing images or combine visual references with written instructions. Unlike FLUX.2 LoRA Edit, it handles edits without a custom trained adapter.
Prompts to try with FLUX.2 Edit in n8n
Copy an example into n8n, or ask in your own words.
Every Monday at 9am: remove the background from the photo I attach with FLUX.2 Edit and give me a transparent PNG.
Use FLUX.2 Edit to clean up these product shots so they sit on pure white.
Edit this image with FLUX.2 Edit: keep the subject, swap the background for a sunlit studio.
Use FLUX.2 Edit to turn this daytime photo into a dusk scene with warm window light.
Upscale and sharpen this low-resolution photo with FLUX.2 Edit so it prints at A4.
How to set up FLUX.2 Edit in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n 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 Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- 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
- 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 } - Run FLUX.2 Edit 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 Edit, prices it and runs it each time the step fires.
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 Edit
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/edit", "input": { "prompt": "Change his clothes to casual suit and tie", "image_urls": [ "<image_urls>" ] } }'
Then paste one of the prompts above: n8n finds FLUX.2 Edit on Spiral, shows the price and runs it.
FLUX.2 Edit providers and prices
Spiral runs FLUX.2 Edit through fal. Open a card for today's price, with every fee included.
Up to $0.078 per run at the default inputs. $0.0624 per unit of num_images. Each item in image_urls adds $0.0156.
Settings you can ask for
FLUX.2 Edit works from your prompt and image URLs. Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Guidance scale | 0 to 20 | 2.5 | 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. |
| 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 50 | 28 | The number of inference steps to perform. |
| Number of images | 1 to 4 | 1 | The number of images to generate. |
| Acceleration | none, regular, or high | regular | The acceleration level to use for the image generation. |
| Enable prompt expansion | on or off | off | If set to true, the prompt will be expanded for better results. |
| Output format | jpeg, png, or webp | png | The format of the generated image. |
Every API field of FLUX 2 Edit · Image Editing is on its tool page: open its card above.
What can you do with FLUX.2 Edit in n8n?
Keep a recurring editorial or design process supplied with images to review. Use a consistent written brief for composition, colors, and lettering across each scheduled run.
Product background changes
Start with a product image and request a new setting. Describe the product details to preserve and the lighting needed in the replacement scene.
Color studies from existing images
Recolor a garment, package, or piece of furniture in a supplied image. Name the object and provide its target hex color while asking to preserve its texture.
Illustrated treatments of photographs
Transform a supplied photograph into a specified illustration style. State which subjects, poses, and spatial relationships should remain recognizable.
Reference-based compositions
Combine a subject from one reference with an object or setting from another. Explain what each image contributes and how the elements should fit together.
More on FLUX.2 Edit and n8n
Overview
FLUX.2 Edit in other agents
Questions about FLUX.2 Edit in n8n
Can n8n use FLUX.2 Edit?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run FLUX.2 Edit like any built-in tool.
How much does FLUX.2 Edit cost in n8n?
Up to $0.078 per run at the default inputs. $0.0624 per unit of `num_images`. Each item in `image_urls` adds $0.0156. 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 Edit in n8n?
You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs FLUX.2 Edit on its own fal account.
How long does it take to set up FLUX.2 Edit in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while FLUX.2 Edit runs?
FLUX.2 Edit runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.
What is FLUX.2 good at?
FLUX.2 is useful for realistic product imagery, editorial scenes, and designs that include text. Specify the materials, lighting, composition, and exact wording you want.
How large can FLUX.2 images be?
These FLUX.2 tools support dimensions from 512 to 2048 pixels per side. A square image can reach 2048 × 2048 pixels, roughly four megapixels.
How should I write a FLUX.2 prompt?
Describe the subject, action, visual style, and setting. Use concrete details such as brushed steel, side lighting, or an overhead view.
Does FLUX.2 support negative prompts?
No. Describe the desired result positively: ask for an empty street or sharp focus instead of listing things to exclude.
How do I get readable text in FLUX.2 images?
Put the exact wording in quotation marks and describe its position and appearance. Black Forest Labs warns that text-bearing objects can produce gibberish when you leave their wording unspecified.
Start using FLUX.2 Edit in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


