[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [Spiral media tools](https://spiral.ai/integrations/grok-build/spiral)

# How to Use Spiral media tools in Grok Build

To use Spiral media tools in Grok Build, connect Spiral to Grok Build once, then ask for what you want in plain words. Grok Build 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 Grok Build

- 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 Grok Build

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

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build 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: Grok Build finds Spiral media tools on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## 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 Grok Build?

Grok Build 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 Grok Build guides](https://spiral.ai/integrations/grok-build)

## 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)
- [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)
- [Windsurf](https://spiral.ai/integrations/windsurf/spiral)
- [Zapier](https://spiral.ai/integrations/zapier/spiral)

## More Grok Build guides

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

## Questions about Spiral media tools in Grok Build

**Can Grok Build use Spiral media tools?**

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

**How much does Spiral media tools cost in Grok Build?**

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 Grok Build?**

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 Grok Build?**

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

**Does Grok Build wait while Spiral media tools runs?**

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

**Which Spiral media tools tools can Grok Build use?**

Grok Build 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 Grok Build picks a fitting tool.

**Can Grok Build compare Spiral media tools tools?**

Yes. Ask Grok Build 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 Grok Build?**

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. Grok Build 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 Grok Build from stopping when the balance runs low.

