How to Use fal in Windsurf
To use fal in Windsurf, connect Spiral to Windsurf once, then ask for what you want in plain words. Windsurf can then reach all 876 fal tools on Spiral, priced per run from one balance.
Prompts to try with fal in Windsurf
Copy an example into Windsurf, or ask in your own words.
Estimate, then generate a 5-second 9:16 clip with fal: a paper boat drifting down a rainy street. Save the result in ./assets.
Make a 10-second product teaser with fal for a smartwatch, slow orbit shot, studio lighting.
Generate three 5-second b-roll clips of a busy coffee shop with fal and list what each cost.
Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with fal.
Write three video ideas for our launch, then make the best one with fal and show me the cost first.
How to set up fal 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 fal
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/kling-video/v3/pro/text-to-video", "input": { "prompt": "Close-up of glowing fireflies dancing in a dark forest at twilight. Soft bioluminescent particles float through the air. Shallow depth of field, bokeh lights in…" } }'
Then paste one of the prompts above: Windsurf finds fal on Spiral, shows the price and runs it.
fal tools you can run in Windsurf
3Ready to run from Windsurf: today's price, with every fee included.
$0.0475 per 4:3 image at high quality ($0.0225 low, $0.0393 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024.
What can you do with fal in Windsurf?
Windsurf can generate video from text with fal right in your repository and save the results where you need them: as files in your project, in a script or in your build. One sign-in covers every tool, so your code stays free of provider SDKs and keys.
Ads and social clips
Short vertical or square clips from a written brief.
B-roll
Fill gaps in an edit with generated shots that match the scene.
Storyboards that move
Turn a script's scenes into rough cuts to review.
Product teasers
Short launch clips without a shoot.
Explainer scenes
Visualize a concept in a few seconds of video.
Concept testing
Try several directions before paying for production.
fal success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| Kling 3.0 Pro · Text to Video | Not enough runs | ||
| FLUX 3 Text to Image | 100.0% | 25.8s | 23 |
| GPT Image 2.6 Flare · Edit | Not enough runs | ||
More on fal and Windsurf
Overview
fal in other agents
Questions about fal in Windsurf
Can Windsurf use fal?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run fal like any built-in tool.
How much does fal cost in Windsurf?
Each tool has its own price, for example Kling 3.0 Pro Text to Video: $0.218 per second with audio ($0.146 without); FLUX 3 Text to Image: `resolution`: otherwise $0.0624, 1k (default) $0.1248, 1.5k $0.1872, 2k $0.312, 4k $1.0608 per megapixel; GPT Image 2.6 Flare Edit: $0.0475 per 4:3 image at high quality ($0.0225 low, $0.0393 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024. You pay per run from one Spiral balance, and failed runs are free.
Do I need a fal account to use fal in Windsurf?
No. Spiral runs fal on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up fal in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while fal runs?
fal runs in the background. Windsurf starts the run, checks on it and gives you the video when it's ready.
Which fal tools can Windsurf use?
Windsurf can reach all 876 fal tools on Spiral, covering image, video, 3D, audio, and data. Popular ones include Kling 3.0 Pro · Text to Video, FLUX 3 Text to Image, and GPT Image 2.6 Flare · Edit. Ask for one by name, or describe the task and Windsurf picks a fitting tool.
Can Windsurf compare fal tools?
Yes. Ask Windsurf to run the same request on two fal tools and show both results with what each cost. Each run is priced and billed on its own.
What happens if a fal run fails in Windsurf?
It is not charged. Spiral holds the estimated price when the run starts and returns it to your balance if the run fails on Spiral's side or the provider's. Windsurf gets the error and can retry or try another tool.
Is there a fal subscription or plan?
No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up keeps Windsurf from stopping when the balance runs low.
Start using fal 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


