[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [WaveSpeed AI](https://spiral.ai/integrations/claude-code/wavespeed)

# How to Use WaveSpeed AI in Claude Code

To use WaveSpeed AI in Claude Code, connect Spiral to Claude Code once, then ask for what you want in plain words. Claude Code can then reach all 14 WaveSpeed AI tools on Spiral, priced per run from one balance.

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

## Prompts to try with WaveSpeed AI in Claude Code

- Estimate, then generate a 5-second 9:16 clip with WaveSpeed AI: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with WaveSpeed AI for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with WaveSpeed AI and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with WaveSpeed AI.
- Write three video ideas for our launch, then make the best one with WaveSpeed AI and show me the cost first.

## How to set up WaveSpeed AI 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 WaveSpeed AI**: 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": "wavespeed",
    "model": "bytedance/seedance-2.5/text-to-video",
    "input": {
      "prompt": "<prompt>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds WaveSpeed AI on Spiral, shows the price and runs it.

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

## WaveSpeed AI tools and prices

- [Seedance 2.5 · Text to Video](https://spiral.ai/tools/wavespeed/bytedance/seedance-2.5/text-to-video) (WaveSpeed): $0.468 per second at 720p ($0.234 at 480p, $1.17 at 1080p, $2.34 at 4K). With reference videos: $0.143 per second at 480p, reference seconds included, up to 15 seconds of them.
- [Video Upscaler Pro](https://spiral.ai/tools/wavespeed/wavespeed-ai/video-upscaler-pro) (WaveSpeed): $0.052 per second at 1080p ($0.026 at 720p, $0.078 at 2K, $0.104 at 4K), at least 3 seconds.
- [Image Background Remover](https://spiral.ai/tools/wavespeed/wavespeed-ai/image-background-remover) (WaveSpeed): $0.0052 per request.

## What can you do with WaveSpeed AI in Claude Code?

Claude Code can generate video from text with WaveSpeed AI 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.

### Ads and social clips

Short vertical or square clips from a written brief.

### B-roll

Fill gaps in an edit with generated shots that match the scene.

### Storyboards that move

Turn a script's scenes into rough cuts to review.

### Product teasers

Short launch clips without a shoot.

### Explainer scenes

Visualize a concept in a few seconds of video.

### Concept testing

Try several directions before paying for production.

## Overview

- [WaveSpeed AI](https://spiral.ai/providers/wavespeed)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## WaveSpeed AI in other agents

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

## More Claude Code guides

- [Replicate](https://spiral.ai/integrations/claude-code/replicate)
- [fal](https://spiral.ai/integrations/claude-code/fal)
- [OpenRouter](https://spiral.ai/integrations/claude-code/openrouter)
- [60.tools WoW Forever best-in-slot gear](https://spiral.ai/integrations/claude-code/60-tools-wow-forever-best-in-slot-gear)
- [Wildfire Risk to Communities place summary](https://spiral.ai/integrations/claude-code/wildfire-risk-to-communities-place-summary)
- [60.tools WoW Forever gear lists](https://spiral.ai/integrations/claude-code/60-tools-wow-forever-gear-lists)

## Questions about WaveSpeed AI in Claude Code

**Can Claude Code use WaveSpeed AI?**

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

**How much does WaveSpeed AI cost in Claude Code?**

Each tool has its own price, for example Seedance 2.5 Text to Video: $0.468 per second at 720p ($0.234 at 480p, $1.17 at 1080p, $2.34 at 4K). With reference videos: $0.143 per second at 480p, reference seconds included, up to 15 seconds of them; Video Upscaler Pro: $0.052 per second at 1080p ($0.026 at 720p, $0.078 at 2K, $0.104 at 4K), at least 3 seconds; Image Background Remover: $0.0052 per request. You pay per run from one Spiral balance, and failed runs are free.

**Do I need a WaveSpeed account to use WaveSpeed AI in Claude Code?**

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

**How long does it take to set up WaveSpeed AI in Claude Code?**

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

**Does Claude Code wait while WaveSpeed AI runs?**

WaveSpeed AI runs in the background. Claude Code starts the run, checks on it and gives you the video when it's ready.

**Which WaveSpeed AI tools can Claude Code use?**

Claude Code can reach all 14 WaveSpeed AI tools on Spiral, covering image and video. Popular ones include Seedance 2.5 · Text to Video, Video Upscaler Pro, and Image Background Remover. Ask for one by name, or describe the task and Claude Code picks a fitting tool.

**Can Claude Code compare WaveSpeed AI tools?**

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

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

