[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Wan 2.2 A14B Video to Video](https://spiral.ai/integrations/opencode/wan-2-2-a14b-video-to-video)

# How to Use Wan 2.2 A14B Video to Video in opencode

Rework existing footage using a written visual direction. Unlike Wan 2.2 A14B Image to Video, it starts from moving footage; transformation strength determines how far the result follows the new prompt.

|  |  |
| --- | --- |
| Model | Wan 2.2 A14B Video to Video |
| Available through | fal |
| Category | Video |
| Price | Up to $6.24 per run at the default inputs for 60 seconds of input. `resolution`: 480p $3.12, 580p $4.68, 720p (default) $6.24. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Wan 2.2 A14B Video to Video in opencode

- Use the sample footage in this project with Wan 2.2 A14B Video to Video to test a muted watercolor treatment. Start with transformation strength 0.35, generate at 720p, and place the original and result in a review page.
- Estimate, then generate a 5-second 9:16 clip with Wan 2.2 A14B Video to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with Wan 2.2 A14B Video to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with Wan 2.2 A14B Video to Video and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Wan 2.2 A14B Video to Video.

## How to set up Wan 2.2 A14B Video to Video in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Wan 2.2 A14B Video to Video**: 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": "fal",
    "model": "fal-ai/wan/v2.2-a14b/video-to-video",
    "input": {
      "video_url": "https://storage.googleapis.com/falserverless/example_inputs/wan-2.2-v2v-input.mp4",
      "prompt": "A low-angle medium shot captures a domestic white cat with brown and black patches and a blue bandana sitting on a light-colored tiled floor indoors,…"
    }
  }'
```

Then paste one of the prompts above: opencode finds Wan 2.2 A14B Video to Video on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Wan 2.2 A14B Video to Video tools and prices

- [Wan · Video to Video](https://spiral.ai/tools/fal/fal-ai/wan/v2.2-a14b/video-to-video) (fal): `resolution`: 480p $0.052, 580p $0.078, 720p (default) $0.104 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| strength | 0 to 1 | 0.9 | Strength of the video transformation. A value of 1.0 means the output will be completely based on the prompt, while a value of 0.0 means the output will be identical to the input video. |
| num_frames | 17 to 161 | 81 | Number of frames to generate. Must be between 17 to 161 (inclusive). |
| frames_per_second | 4 to 60 | 16 | Frames per second of the generated video. Must be between 4 to 60. When using interpolation and `adjust_fps_for_interpolation` is set to true (default true,) the final FPS will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If `adjust_fps_for_interpolation` is set to false, this value will be used as-is. |
| negative_prompt |  |  | Negative prompt for video generation. |
| seed |  | — | Random seed for reproducibility. If None, a random seed is chosen. |
| resolution | 480p, 580p, 720p | 720p | Resolution of the generated video (480p, 580p, or 720p). |

## What can you do with Wan 2.2 A14B Video to Video in opencode?

Create cinematic assets for a project directly from its creative brief. A coding agent can turn the brief into shot prompts, organize candidate clips, and prepare the selected take for the interface.

### Advertising shot concepts

Draft a product-focused shot with deliberate framing, a clear action, and a specified light source. Compare the visual direction before committing to a full production.

### Film shot previsualization

Test how a single story beat reads with a particular camera angle, movement, and color palette. Use the result to discuss the shot with an editor or director.

### Atmospheric inserts

Create short inserts such as drifting fog, rain on a window, or wind moving through grass. Specify restrained motion and a fixed camera when the environment should carry the shot.

### Lighting and color studies

Explore a scene under warm window light, cool overcast light, or hard side lighting. Change one visual instruction per take to make the comparison useful.

### Footage restyling tests

Use existing footage to explore a different visual treatment, such as a muted painted look. Start with a restrained transformation and increase it only if the change is too subtle.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Wan 2.2 A14B Video to Video in other agents

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

## More opencode guides

- [Wan 2.2 A14B Text to Video Turbo](https://spiral.ai/integrations/opencode/wan-2-2-a14b-text-to-video-turbo)
- [Wan 2.2 Animate Move](https://spiral.ai/integrations/opencode/wan-2-2-animate-move)
- [Wan 2.2 A14B Text to Video](https://spiral.ai/integrations/opencode/wan-2-2-a14b-text-to-video)
- [Wan 2.2 Animate Replace](https://spiral.ai/integrations/opencode/wan-2-2-animate-replace)
- [Wan 2.2 A14B Image to Video Turbo](https://spiral.ai/integrations/opencode/wan-2-2-a14b-image-to-video-turbo)
- [Wan 2.2 FastWan 5B Text to Video](https://spiral.ai/integrations/opencode/wan-2-2-fastwan-5b-text-to-video)

## Questions about Wan 2.2 A14B Video to Video in opencode

**Can opencode use Wan 2.2 A14B Video to Video?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Wan 2.2 A14B Video to Video like any built-in tool.

**How much does Wan 2.2 A14B Video to Video cost in opencode?**

Up to $6.24 per run at the default inputs for 60 seconds of input. `resolution`: 480p $3.12, 580p $4.68, 720p (default) $6.24. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use Wan 2.2 A14B Video to Video in opencode?**

No. Spiral runs Wan 2.2 A14B Video to Video on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Wan 2.2 A14B Video to Video in opencode?**

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

**Does opencode wait while Wan 2.2 A14B Video to Video runs?**

Wan 2.2 A14B Video to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What is Wan 2.2 A14B useful for?**

Use it for short visual shots where lighting, composition, and color matter: advertising concepts, atmospheric inserts, and film previsualization. Give those choices explicitly in the prompt.

**How should I write a Wan 2.2 prompt?**

Describe the subject, setting, and action, then add the framing, camera movement, and lighting. For a first test, keep the request to one clear shot.

**Can Wan 2.2 A14B generate native 4K video?**

These models output up to 720p. Writing “4K” in the prompt does not change that ceiling; upscale the finished clip separately if you need a larger deliverable.

**Does Wan 2.2 A14B generate sound or spoken dialogue?**

Plan to add dialogue, music, and sound effects separately. Native synchronized audio arrived with Wan 2.5.

**When should I use prompt expansion?**

Try it when your description is brief and you want additional visual detail. Leave it off when testing an exact shot description so you can judge your wording directly.

