[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Wan 2.7 Video Edit](https://spiral.ai/integrations/n8n/wan-2-7-video-edit)

# How to Use Wan 2.7 Video Edit in n8n

Wan 2.7 Video Edit changes existing clips with instructions, from replacing objects to restyling a scene. It works on 2–10 second videos and can use a reference image to guide replacements.

|  |  |
| --- | --- |
| Model | Wan 2.7 Video Edit |
| Available through | fal |
| Category | Video |
| Price | Up to $11.70 per run at the default inputs for 60 seconds of input. `resolution`: 720p $7.80, 1080p (default) $11.70. $0.195 per unit of `duration`. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Wan 2.7 Video Edit in n8n

- Every Monday, use Wan 2.7 Video Edit on the approved 6-second product clip to make a warm studio-lighting draft. Keep the product and camera movement unchanged and collect the result for review.
- Each Friday, use Wan 2.7 Video Edit on the approved 5-second fashion clip and the week's outfit reference image. Replace the jacket with the pictured jacket and keep the person's action and setting unchanged.
- At the start of each month, use Wan 2.7 Video Edit on the approved 8-second garden clip to create a seasonal setting draft. State the month's season explicitly and keep the foreground subject unchanged.
- Every Tuesday, use Wan 2.7 Video Edit to make a watercolor treatment of the approved 4-second introduction clip. Retain its framing and action and collect the landscape 1080p result for review.
- When a new approved 2–10 second product clip arrives, use Wan 2.7 Video Edit to replace its background with a neutral photography studio. Keep the product unchanged and collect a square 1080p draft.

## How to set up Wan 2.7 Video Edit in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Wan 2.7 Video Edit in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Wan 2.7 Video Edit, prices it and runs it each time the step fires.

### 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.7 Video Edit**: 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.7/edit-video",
    "input": {
      "prompt": "Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture. Colors should bleed and…",
      "video_url": "https://v3b.fal.media/files/b/0a940a70/s4jC3lmmbU8Q6xM-SFtWB_m5JJudvy.mp4"
    }
  }'
```

Then paste one of the prompts above: n8n finds Wan 2.7 Video Edit on Spiral, shows the price and runs it.

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

## Wan 2.7 Video Edit tools and prices

- [Wan · Edit Video](https://spiral.ai/tools/fal/fal-ai/wan/v2.7/edit-video) (fal): Up to $11.70 per run at the default inputs for 60 seconds of input. `resolution`: 720p $7.80, 1080p (default) $11.70. Per unit of `duration`: 720p $0.13, 1080p (default) $0.195.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| reference_image_url |  | — | Reference image URL for reference-based editing. |
| resolution | 720p, 1080p | 1080p | Output video resolution tier. |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4 | — | Aspect ratio of the generated video. If not provided, uses the aspect ratio of the input video. |
| duration | 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 | 0 | Output video duration in seconds. Default 0 means match input video duration. When set (2-10), truncates from the start. |
| audio_setting | auto, origin | auto | Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video. |
| seed |  | — | Random seed for reproducibility (0-2147483647). |

## What can you do with Wan 2.7 Video Edit in n8n?

Produce recurring creative drafts from approved short clips. Wan 2.7 Video Edit can apply a scheduled brief for a setting, object, or style change, with the results collected for review.

### Product color concepts

Use Wan 2.7 Video Edit to change a product's color in a short demonstration clip. Specify that its shape, surroundings, and camera movement should stay the same.

### Clothing previews

Use Wan 2.7 Video Edit with an existing clip and a clothing reference image to preview a different outfit on the person in the shot.

### Seasonal campaign footage

Ask Wan 2.7 Video Edit to turn a summer setting into a snowy winter scene while retaining the main subject and action.

### Background replacements

Use Wan 2.7 Video Edit to place a filmed subject in a different setting, such as moving an exercise demonstration into a gym.

### Object removal drafts

Ask Wan 2.7 Video Edit to remove a named distraction from a short shot. Identify its location and explicitly describe what should remain.

### Art direction comparisons

Use Wan 2.7 Video Edit to restyle the same footage in watercolor or another artistic treatment for a creative review.

### Lighting concepts

Ask Wan 2.7 Video Edit for a warmer or cooler lighting treatment on an existing shot before deciding on the visual direction.

## Overview

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

## Wan 2.7 Video Edit in other agents

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

## More n8n guides

- [Wan 2.7 Text to Video](https://spiral.ai/integrations/n8n/wan-2-7-text-to-video)
- [Wan 3.0 Image to Video](https://spiral.ai/integrations/n8n/wan-3-0-image-to-video)
- [Wan 2.7 Reference to Video](https://spiral.ai/integrations/n8n/wan-2-7-reference-to-video)
- [Wan 3.0 Prime Image to Video](https://spiral.ai/integrations/n8n/wan-3-0-prime-image-to-video)
- [Wan 2.7 Image to Video](https://spiral.ai/integrations/n8n/wan-2-7-image-to-video)
- [Wan 3.0 Prime Reference to Video](https://spiral.ai/integrations/n8n/wan-3-0-prime-reference-to-video)

## Questions about Wan 2.7 Video Edit in n8n

**Can n8n use Wan 2.7 Video Edit?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Wan 2.7 Video Edit like any built-in tool.

**How much does Wan 2.7 Video Edit cost in n8n?**

Up to $11.70 per run at the default inputs for 60 seconds of input. `resolution`: 720p $7.80, 1080p (default) $11.70. $0.195 per unit of `duration`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a fal account to use Wan 2.7 Video Edit in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Wan 2.7 Video Edit on its own fal account.

**How long does it take to set up Wan 2.7 Video Edit in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Wan 2.7 Video Edit runs?**

Wan 2.7 Video Edit runs in the background. n8n starts the run, checks on it and gives you the video when it's ready.

**What is Wan 2.7 Video Edit good for?**

Use it to change an existing shot: replace an object, change the setting, or give the footage a different visual style. A reference image can guide the appearance of a replacement.

**Can Wan 2.7 Video Edit handle long videos?**

It accepts clips lasting 2–10 seconds. Prepare a short excerpt before requesting an edit; choosing an output duration does not extend the source.

**How should I describe an edit?**

Name the object or area to change, describe the replacement, and state what should stay the same. For example: remove the red suitcase beside the chair and keep the person, background, and camera movement unchanged.

**Can I change the season or lighting?**

Yes. Alibaba documents changes to lighting, seasonal colors, and the setting, so you can request a winter background or warmer lighting while specifying the details to preserve.

**What are the actual dimensions of 1080p output?**

Landscape output is 1920 × 1080, portrait is 1080 × 1920, and square is 1440 × 1440. The 4:3 and 3:4 formats produce 1648 × 1248 and 1248 × 1648, respectively.

