[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Spiral media tools](https://spiral.ai/integrations/claude-code/spiral)

# How to Use Spiral media tools in Claude Code

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

- 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 Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

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

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## 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 Claude Code?

Claude Code 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 Claude Code guides](https://spiral.ai/integrations/claude-code)

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

## More Claude Code guides

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

## Questions about Spiral media tools in Claude Code

**Can Claude Code use Spiral media tools?**

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

**How much does Spiral media tools cost in Claude Code?**

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 Claude Code?**

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 Claude Code?**

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

**Does Claude Code wait while Spiral media tools runs?**

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

**Which Spiral media tools tools can Claude Code use?**

Claude Code 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 Claude Code picks a fitting tool.

**Can Claude Code compare Spiral media tools tools?**

Yes. Ask Claude Code 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 Claude Code?**

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

