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

# How to Use Spiral media tools in Muse Code

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

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-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 Muse Code?

Muse 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 Muse Code guides](https://spiral.ai/integrations/muse-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)
- [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)
- [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 Muse Code guides

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

## Questions about Spiral media tools in Muse Code

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

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

**How much does Spiral media tools cost in Muse 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 Muse 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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

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

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

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

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

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

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

