How to Use FLUX.1 SRPO in Windsurf
FLUX.1 SRPO creates images from text, with a focus on photographic realism, lighting, and fine detail. Compared with FLUX.1 Dev, Tencent's fine-tuning targets more realistic textures and stronger visual composition.
Prompts to try with FLUX.1 SRPO in Windsurf
Copy an example into Windsurf, or ask in your own words.
Read the outdoor journal page in this project and use FLUX.1 SRPO to create a square editorial portrait of a fictional mountain guide, with worn clothing, visible fabric texture, and crisp side lighting. Save it with the page assets.
Use FLUX.1 SRPO to create a 1024 × 1024 image for the nature article in this project: a butterfly on a white flower, soft morning light, and a blurred green background. Use 50 steps and guidance 3.5.
Inspect the film club page's visual brief and use FLUX.1 SRPO to create a black-and-white scene of a lone traveler at a station, with deep shadows and fine film grain. Keep signs outside the composition.
Read the book description in this project and use FLUX.1 SRPO to create a square painted cover concept with a river, wildflowers, and a solitary figure. Leave the title to the page's existing typography.
Use FLUX.1 SRPO to create a square nature image for this project's newsletter preview: a fox resting beside a weathered log in soft daylight. Save the image and draft descriptive alt text after inspecting it.
How to set up FLUX.1 SRPO in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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" } } } - 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
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 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.1 SRPO
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/srpo", "input": { "prompt": "Mountain guide, sturdy build, wilderness wisdom, alert gaze, technical outdoor gear with rope coils, snow-capped peaks background, crisp mountain lighting,…" } }'
Then paste one of the prompts above: Windsurf finds FLUX.1 SRPO on Spiral, shows the price and runs it.
FLUX.1 SRPO providers and prices
Spiral runs FLUX.1 SRPO through fal. Open a card for today's price, with every fee included.
$0.0325 per megapixel. image_size presets count as 1 MP; custom sizes round up to whole megapixels. Billed on num_images, default 1.
Settings you can ask for
FLUX.1 SRPO works from your prompt. Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of inference steps | 1 to 50 | 28 | The number of inference steps to perform. |
| Seed | a 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 20 | 4.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 images | 1 to 4 | 1 | The number of images to generate. |
| Output format | jpeg or png | jpeg | The format of the generated image. |
| Acceleration | none, regular, or high | none | The speed of the generation. The higher the speed, the faster the generation. |
Every API field of FLUX.1 SRPO [dev] · Text to Image is on its tool page: open its card above.
What can you do with FLUX.1 SRPO in Windsurf?
Create photographic and painted assets from the visual brief in your project. A coding agent can inspect the page layout, describe an appropriate composition, and save reviewed images beside the site's other assets.
Editorial portrait concepts
Explore a fictional subject's clothing, surroundings, and lighting before planning a portrait session. Describe visible details such as weathered fabric and light across the face.
Nature article illustrations
Create illustrative flower, insect, or animal scenes for articles. Use a close viewpoint and a clearly described background to plan the composition.
Film lighting studies
Explore a scene's mood with black-and-white imagery, deep shadows, and film grain. Use the results as visual references for a shot discussion.
Painted cover concepts
Develop painting concepts for a book or music cover. Describe the medium, subject placement, natural details, and mood, then add the final typography separately.
Website image concepts
Generate photographic scene ideas for an outdoor, arts, or nature website. Plan open space around the subject for the page's actual text.
Newsletter illustrations
Turn an editorial brief into a proposed portrait, nature scene, or painted illustration. Review the result against the brief before placing it in the newsletter.
More on FLUX.1 SRPO and Windsurf
Overview
FLUX.1 SRPO in other agents
Questions about FLUX.1 SRPO in Windsurf
Can Windsurf use FLUX.1 SRPO?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run FLUX.1 SRPO like any built-in tool.
How much does FLUX.1 SRPO 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 SRPO in Windsurf?
No. Spiral runs FLUX.1 SRPO 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 SRPO in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while FLUX.1 SRPO runs?
FLUX.1 SRPO runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.
How does FLUX.1 SRPO differ from FLUX.1 Dev?
Tencent fine-tuned FLUX.1 Dev to improve photographic realism, detail, and aesthetics. Its paper reports stronger realism and detail complexity in the illustrated comparisons.
What should I use FLUX.1 SRPO for?
Consider it for photographic concepts where texture and lighting matter: outdoor portraits, nature close-ups, and editorial imagery. These recommendations follow the subjects and visual treatments in the published examples.
Can FLUX.1 SRPO make paintings?
Yes. Tencent's example prompt requests a Pre-Raphaelite painting with flowers, natural detail, and a river scene.
What resolution and settings should I try first?
For a documented comparison point, try 1024 × 1024 pixels, 50 steps, and guidance 3.5. Those are Tencent's reference settings, not a claim about the maximum output size.
What weaknesses should I watch for?
High guidance can introduce overly smooth surfaces and artifacts, according to the researchers. Also inspect whether the scene matches your instructions: imperfect prompt matching is a documented limitation of the FLUX.1 Dev base model.
Start using FLUX.1 SRPO in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


