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

Windsurf · ImageReleased 2024-11-21

How to Use FLUX.1 Redux [dev] in Windsurf

FLUX.1 Redux [dev] creates slight variations of a reference image for visual exploration. Choose it when you already have a visual direction and want nearby alternatives to compare.

Prompts to try with FLUX.1 Redux [dev] in Windsurf

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

Use FLUX.1 Redux [dev] to create three alternatives from the landing page illustration in this project. Build a local comparison view showing the original and each result at the current display size.

FLUX.1 Redux [dev]Windsurf
Try asking
  • Use FLUX.1 Redux [dev] with the existing onboarding illustration as the reference. Create two candidates and preview them in the onboarding screen so I can compare how they fit beside the text.

  • Use FLUX.1 Redux [dev] to generate three alternatives from our game environment concept image. Put them beside the original in a review page and list the visible differences.

  • Use FLUX.1 Redux [dev] with the project's article artwork as the reference. Generate a 1280 by 720 pixel candidate and preview it in the article header.

  • Use FLUX.1 Redux [dev] to make a comparison image from our existing abstract background with 50 sampling steps and guidance 2.5. Show it beside the original and our current candidate without replacing either asset.

How to set up FLUX.1 Redux [dev] in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

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

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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.1 Redux [dev]

    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-1/dev/redux",
        "input": {
          "image_url": "https://fal.media/files/kangaroo/acQvq-Kmo2lajkgvcEHdv.png"
        }
      }'

Then paste one of the prompts above: Windsurf finds FLUX.1 Redux [dev] on Spiral, shows the price and runs it.

FLUX.1 Redux [dev] providers and prices

Spiral runs FLUX.1 Redux [dev] through fal and fal. Open a card for today's price, with every fee included. Name one in your prompt, or let Windsurf pick.

falImage
falImage

Settings you can ask for

FLUX.1 Redux [dev] works from your image URL. Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of inference steps1 to 5028

The number of inference steps to perform.

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.

Accelerationnone, regular, or highnone

The speed of the generation. The higher the speed, the faster the generation.

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

What can you do with FLUX.1 Redux [dev] in Windsurf?

Explore alternatives to project artwork and compare them inside the interface you are building. A coding agent can use an existing asset as the reference, prepare a preview, and help you select a result.

Website image exploration

Generate alternatives from an existing website illustration, then compare each in the actual layout before selecting one.

Editorial illustration drafts

Start from an approved illustration and explore nearby visual interpretations for an article. Review the results against the editorial brief.

Campaign concept review

Use an existing campaign concept as the reference for a new round of visual candidates. Compare changes before committing to production artwork.

Game environment concepts

Explore alternatives to an environment concept image. Use the outputs as discussion material for an artist's next pass.

Presentation artwork

Create related alternatives from an existing abstract illustration, then choose the image that leaves enough room for slide content.

Thumbnail candidate selection

Generate slight variations of a thumbnail image and compare how clearly the subject reads at a small display size.

Questions about FLUX.1 Redux [dev] in Windsurf

Can Windsurf use FLUX.1 Redux [dev]?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run FLUX.1 Redux [dev] like any built-in tool.

How much does FLUX.1 Redux [dev] cost in Windsurf?

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

Do I need a fal account to use FLUX.1 Redux [dev] in Windsurf?

No. Spiral runs FLUX.1 Redux [dev] 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.1 Redux [dev] in Windsurf?

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

Does Windsurf wait while FLUX.1 Redux [dev] runs?

FLUX.1 Redux [dev] runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.

What is FLUX.1 Redux best for?

Use it to explore slight changes to an image you already like. It suits concept selection, illustration alternatives, and visual drafts where you want several related results to compare.

How should I choose a reference image?

Start with an image close to your intended subject, composition, and overall look. BFL says the input image heavily influences the output, so treat reference selection as your main creative decision.

Will FLUX.1 Redux preserve every detail?

Treat the result as a new interpretation to inspect. Redux is designed for slight variation; compare any details that matter before using an output in finished work.

Can FLUX.1 Redux produce a widescreen image?

Yes. The documentation includes a custom 1280 by 720 pixel output example, which is a 16:9 image.

Which generation settings are worth comparing?

Hugging Face's Redux example uses 50 sampling steps and guidance 2.5. Try that combination as a comparison using the same reference image, then judge the visible result before adopting it.

Get started

Start using FLUX.1 Redux [dev] in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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