[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Vizard](https://spiral.ai/integrations/muse-code/vizard)

# How to Use Vizard in Muse Code

To use Vizard in Muse Code, connect Spiral to Muse Code once, then ask for what you want in plain words. Muse Code can then reach Vizard on Spiral, priced per run from one balance.

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

## Prompts to try with Vizard in Muse Code

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

## How to set up Vizard 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 Vizard**: 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": "vizard",
    "model": "clip_v1",
    "input": {
      "lang": "<lang>",
      "videoUrl": "<videoUrl>",
      "videoType": 1,
      "preferLength": [
        1
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Vizard on Spiral, shows the price and runs it.

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

## Vizard tools and prices

- [Vizard · Long Video to Short Clips](https://spiral.ai/tools/vizard/clip_v1) (Vizard): $0.0325 per minute of source video, whole minutes, at least 1 minute ($0.0407 per minute with the v2 clip model).

## What can you do with Vizard in Muse Code?

Muse Code can edit and transform video with Vizard 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

- [Vizard](https://spiral.ai/providers/vizard)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Vizard in other agents

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

## More Muse Code guides

- [OpenAI](https://spiral.ai/integrations/muse-code/openai)
- [xAI](https://spiral.ai/integrations/muse-code/xai)
- [Mistral](https://spiral.ai/integrations/muse-code/mistral)
- [ACE-Step Audio Inpaint](https://spiral.ai/integrations/muse-code/ace-step-audio-inpaint)
- [Hedra](https://spiral.ai/integrations/muse-code/hedra)
- [ACE-Step Audio Outpaint](https://spiral.ai/integrations/muse-code/ace-step-audio-outpaint)

## Questions about Vizard in Muse Code

**Can Muse Code use Vizard?**

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

**How much does Vizard cost in Muse Code?**

Each tool has its own price, for example Vizard Long Video to Short Clips: $0.0325 per minute of source video, whole minutes, at least 1 minute ($0.0407 per minute with the v2 clip model). You pay per run from one Spiral balance, and failed runs are free.

**Do I need a Vizard account to use Vizard in Muse Code?**

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

**How long does it take to set up Vizard in Muse Code?**

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

**Does Muse Code wait while Vizard runs?**

Vizard runs in the background. Muse Code starts the run, checks on it and gives you the video, json when it's ready.

**Which Vizard tools can Muse Code use?**

Muse Code can reach Vizard on Spiral, covering video. Popular ones include Vizard · Long Video to Short Clips. Ask for one by name, or describe the task and Muse Code picks a fitting tool.

**Can Muse Code compare Vizard tools?**

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

**What happens if a Vizard 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 Vizard 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.

