[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Spiral media tools](https://spiral.ai/integrations/windsurf/spiral)

# How to Use Spiral media tools in Windsurf

To use Spiral media tools in Windsurf, connect Spiral to Windsurf once, then ask for what you want in plain words. Windsurf can then reach both Spiral media tools, priced per run from one balance.

|  |  |
| --- | --- |
| Tools | 2 |
| Categories | Video |
| Served by | Spiral |
| Pricing | Pay per run, no subscription |
| Setup | About 2 minutes, no API key |

## Prompts to try with Spiral media tools in Windsurf

- Use Spiral media tools on the video I attach and give me the result as an MP4. Save the result in ./assets.
- Process these three clips with Spiral media tools and tell me the total cost before you start.
- Run Spiral media tools on this screen recording so it is ready to post.
- Run Spiral media tools on every MP4 in this folder and give me a list of the results with their cost.
- Check what Spiral media tools costs for a 3-minute clip, then run it on the video I attach.

## How to set up Spiral media tools 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:

```json
{
  "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.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Spiral media tools**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "spiral",
    "model": "ffmpeg",
    "input": {
      "command": "<command>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Spiral media tools on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## Spiral media tools tools and prices

- [FFmpeg Media Editor](https://spiral.ai/tools/spiral/ffmpeg) (Spiral): $0.0013 per run, plus $0.00052 per second FFmpeg runs (whole seconds, at least one). Held at `max_seconds`, default 300.
- [HTML Video Renderer](https://spiral.ai/tools/spiral/render-video) (Spiral): $0.500001 for any video up to 10 minutes (`durationInFrames` / `fps`), then by the second up to $1.500002 at 30 minutes. Held and charged exactly; a refused composition is free.

## What can you do with Spiral media tools in Windsurf?

Windsurf can edit and transform video with Spiral media tools 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.

### Batch processing

Run the same edit over many files and get a list of results.

### Clean-up

Upscale, remove watermarks or backgrounds before publishing.

### Repurposing

Turn long recordings into posts for each channel.

### Short clips from long video

Cut highlights for social channels.

### Format conversion

Resize and re-encode for each platform.

### Quality fixes

Stabilize, upscale or clean up footage.

## Overview

- [Spiral media tools](https://spiral.ai/providers/spiral)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## Spiral media tools in other agents

- [Amp](https://spiral.ai/integrations/amp/spiral)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/spiral)
- [Claude](https://spiral.ai/integrations/claude-desktop/spiral)
- [Claude Code](https://spiral.ai/integrations/claude-code/spiral)
- [Cline](https://spiral.ai/integrations/cline/spiral)
- [Codex](https://spiral.ai/integrations/codex/spiral)
- [Cursor](https://spiral.ai/integrations/cursor/spiral)
- [Devin](https://spiral.ai/integrations/devin/spiral)
- [dots](https://spiral.ai/integrations/dots/spiral)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/spiral)
- [Gemini](https://spiral.ai/integrations/gemini/spiral)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/spiral)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/spiral)
- [goose](https://spiral.ai/integrations/goose/spiral)
- [Grok](https://spiral.ai/integrations/grok/spiral)
- [Grok Build](https://spiral.ai/integrations/grok-build/spiral)
- [Hermes](https://spiral.ai/integrations/hermes/spiral)
- [Instinct](https://spiral.ai/integrations/instinct/spiral)
- [Manus](https://spiral.ai/integrations/manus/spiral)
- [Muse](https://spiral.ai/integrations/muse/spiral)
- [Muse Code](https://spiral.ai/integrations/muse-code/spiral)
- [n8n](https://spiral.ai/integrations/n8n/spiral)
- [Notion](https://spiral.ai/integrations/notion/spiral)
- [OpenClaw](https://spiral.ai/integrations/openclaw/spiral)
- [opencode](https://spiral.ai/integrations/opencode/spiral)
- [Perplexity](https://spiral.ai/integrations/perplexity/spiral)
- [Raycast](https://spiral.ai/integrations/raycast/spiral)
- [VS Code](https://spiral.ai/integrations/vscode/spiral)
- [Zapier](https://spiral.ai/integrations/zapier/spiral)

## More Windsurf guides

- [YouTube video transcript](https://spiral.ai/integrations/windsurf/youtube-video-transcript)
- [Baseball Savant MLB daily schedule](https://spiral.ai/integrations/windsurf/baseball-savant-mlb-daily-schedule)
- [YouTube video sponsor detection](https://spiral.ai/integrations/windsurf/youtube-video-sponsor-detection)
- [Baseball Savant leaderboards](https://spiral.ai/integrations/windsurf/baseball-savant-leaderboards)
- [YouTube video search](https://spiral.ai/integrations/windsurf/youtube-video-search)
- [Baseball Savant pitch search](https://spiral.ai/integrations/windsurf/baseball-savant-pitch-search)

## Questions about Spiral media tools in Windsurf

**Can Windsurf use Spiral media tools?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Spiral media tools like any built-in tool.

**How much does Spiral media tools cost in Windsurf?**

Each tool has its own price, for example FFmpeg Media Editor: $0.0013 per run, plus $0.00052 per second FFmpeg runs (whole seconds, at least one). Held at `max_seconds`, default 300; HTML Video Renderer: $0.500001 for any video up to 10 minutes (`durationInFrames` / `fps`), then by the second up to $1.500002 at 30 minutes. Held and charged exactly; a refused composition is free. You pay per run from one Spiral balance, and failed runs are free.

**Do I need a Spiral account to use Spiral media tools in Windsurf?**

No. Spiral runs Spiral media tools on its own Spiral account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Spiral media tools in Windsurf?**

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

**Does Windsurf wait while Spiral media tools runs?**

Spiral media tools runs in the background. Windsurf starts the run, checks on it and gives you the video, audio, image when it's ready.

**Which Spiral media tools tools can Windsurf use?**

Windsurf can reach both Spiral media tools, covering video. Popular ones include FFmpeg Media Editor and HTML Video Renderer. Ask for one by name, or describe the task and Windsurf picks a fitting tool.

**Can Windsurf compare Spiral media tools tools?**

Yes. Ask Windsurf to run the same request on two Spiral media tools tools and show both results with what each cost. Each run is priced and billed on its own.

**What happens if a Spiral media tools 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 Spiral media tools 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.

